Showing posts with label Magento. Show all posts
Showing posts with label Magento. Show all posts

Wednesday, 30 September 2015

Add Product to Cart in Magento Programmatically

Hello All,

To add product to cart I followed the below code and its work for me -

For this you need to pass parameter - product id as $param['pid'] & customer id as $param['customerid']
Picture
 


FindNerd’s Php questions and answers forum is developed for those tech geeks who don’t want to wait for a longer duration of time, as the community members within FindNerd can answer any android query within shortest possible time frame.


Apart from this, If you have any language query like C, Java, JavaScript, iOS, Html, PHP etc . you can post at FindNerd’s Java questions and answers forum.

Thursday, 24 September 2015

Redirect URLs in Magento with Parameters

we can redirect urls in magento with parameters by using magento's default _redirect() function you have to create an array for parameters you want to use in url see the following blog for example: -

Read the complete code and full Blog at: Redirect URLs in Magento with Parameters

Magento-Logo
You can check more informative blogs and tutorials at java development blogs section and can also browse the java questions and answers forum for posting and viewing latest questions on Java development.

Apart from this, If you have any Php issue, you can post it at Php Questions and answers forum.