Our Blog
Add Product Text Field with Survey ID in Cart
31
Oct

Add Product Text Field with Survey ID in Cart

I had to add a survey id dynamically as a custom option, while adding a product to cart programmatically. For this, I had first created a custom option of type text field for the product I wanted to add. Then on my controller’s addtocartAction I wrote this code: $qty = 1; $survey_id = Mage::app()->getRequest()->getParam('sid'); $sku='surveycheckout'; … Continue reading "Add Product Text Field with Survey ID in Cart"

read morered-right-arrow