Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

All Questions

Tagged with
0
votes
1answer
454 views

Product price not being set for programmatically created quote item

I am using the following code to set the product to the quote object $product=Mage::getModel('catalog/product')->load($id); $quote->addProduct($product,new Varien_Object(array('qty' => $...
0
votes
3answers
4k views

Remove item from Quote item - Magento1.9

Hi I was trying to remove an item from the sales quote item. $quoteItemCollection = Mage::getModel('sales/quote_item')->getCollection()->addFieldToFilter('quote_id', $quoteId)->...
0
votes
1answer
659 views

Magento 1.9 Not able to create quote item

I have the following function inside my model.This checks for the device id(custom column in sales quote) in database and if found and the qoute item has same product id then just updates the qty or ...
1
vote
2answers
485 views

get cart items from custom column value

I have a custom column in my sales_flat_quote_item table named as device_id. I am working on to create a api where a device id is sent and the cart available items are displayed for guest users. $...
0
votes
2answers
5k views

get product id from quote id - Magento 1.9

Hi need toget the product id of in a quote item.i have the qoute id with me and tried the below code but product id does not seem to display from the quote. $quoteId=784; $quote = Mage::getModel('...
0
votes
0answers
263 views

magento save checkout onepage custom step data without creating a new column in quote table

I have created a new custom step on checkout onepage and want to save the data of custom step. Is there any other option than creating a new column in quote tables and saving data there.
0
votes
2answers
694 views

Get cart contents from my custom module

In my magento, I have added a product to cart - so I see the following on the checkout page: I have a custom module with a TestController with a IndexAction where I want to retrieve the current ...
1
vote
1answer
5k views

How to change product name in quote item dynamically

Is it possible to add several the same product times to the cart with a different name? I did with different price, but I have not managed to do it with a different name. I used an observer "...