All Questions

Tagged with
Filter by
Sorted by
Tagged with
45
votes
5answers
113k views

How to get all items in cart currently?

I want to get a collection of all the items in cart currently. How can I do this ? Any suggestions will be appreciated.
2
votes
1answer
458 views

How to create duplicate new quote from old order quote Magento 1.7?

I want to create a new order programmatically by copying an existing order's quote. Here is what I have tried: <?php ini_set('display_errors', 1); ini_set('display_startup_errors', 1); ...
1
vote
3answers
4k views

How to copy one quote (only cart items) to other quote (only items )

i want to copy one quote (only cart items) to other quote (only items ). Only want to copy cart products to other new quote. Suppose: i have old quote,which id is 5,have 4 items i have another ...
11
votes
4answers
23k views

Watching Add to Cart Event - quote item id is empty

I am trying to catch the event that fires once an item is added to the cart. I'm currently watching the following event: checkout_cart_product_add_after According to magento source this event is ...
4
votes
1answer
5k views

Add a column to quote item table

I want to add a column to the sales_flat_quote_item (and ..._order_item) table through an install script, but when I go to the table sales_flat_quote_item (or ..._order_item) in my database - the ...
6
votes
2answers
4k views

Same customer places duplicate order

I've observed a strange behavior whereby a customer managed to place three orders in quick succession which had the same order numbers. Each order was based on the same quote_id which in turn ...
3
votes
2answers
7k views

Is it possible to get the QuoteId that was used once an OrderId has been created

I'm tracking customer movements through the order process by using their QuoteId Mage::helper('checkout/cart')->getQuote() - which is created as soon as a customer ads a product to the cart, ...