Questions tagged [sales-quote]

Denotes questions related to the sales quote on Magento (creation, management, modification, relations)

0
votes
2answers
699 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 "...
1
vote
2answers
1k views

Create Duplicate quote item instead of updating existing quote item for same product

Requirement-- I have created a custom Purchase Order module for my Magento Store, in which a same product may be supplied from many suppliers. You will be fully cleared from below example- (1) A ...
1
vote
1answer
1k views

Event to track quote changes in magento

I want an observer to track changes in Quote like when removing products, updating, adding product from frontend and backend as well. This observer should run after magento native code. There are ...
1
vote
1answer
310 views

Find quote creation code in magento (sales_flat_quote creation)

Where can i find the code for creating a quote while adding product to cart?
3
votes
1answer
3k views

Get Quote ID from an Order ID or Order Number SQL?

I need to query the Magento MySQL database to get an image path/name for a file. What I have: Order ID Order Number What I need: I need to get the image name/path from this table ...
2
votes
1answer
86 views

delete an order once it is converted back to a quote in EE 1.14.0.1

I have a Magento EE 1.14.0.1 and am working on a custom paypal type payment processor. I have it all working with the exception of if once a customer gets to the external payment processors page and ...
0
votes
0answers
222 views

Why the same simple product with the same amount added twice into sales_flat_order_item table!

Sales Flat order Item table : Magento Order View Products Block : An other one, this time with 3 SAME SIMPLE ROWS: I recently had two orders which I see the exact same simple product created twice ...
0
votes
1answer
2k views

save custom field from sales_flat_order_item to sales_flat_order

I have created a set of custom variable in my sales_flat_quote_item and sales_flat_order_item and saved custom field values into sales_flat_quote_item using the observer <...
1
vote
2answers
4k views

Programmatically assign customer to a quote

I have created a custom api for login and addtocart operations. When the user is not logged in and add products to a cart that quote id is saved and when a user logged in using the my api then i want ...
3
votes
1answer
488 views

Why is there a base_row_total variable in Quote and Order models?

I'm trying to understand the purpose of base_row_total property in Quote and Order sales models. I still haven't found an example in which it's different from row_total. Can anyone clarify ? I think ...
-1
votes
1answer
4k views

How to set customer id for a quote in Magento?

I added a product into the cart and tried to map customer id, email to that quote using the code below $product_id = 123; $qty = 1; $product = Mage::getModel('catalog/product')->load($...
3
votes
1answer
1k views

Get quotes (active and inactive) for a customer

The goal is to get all the quotes for a given customer (considering id, email, whatever). But this quotes collection seems to work differently from those of customers and products. First attempt: ...
1
vote
1answer
842 views

Magento programatically convert quote to order - orders missing in backend

I'm dealing with a strange issue with orders placed with PayPal (most likely IPN problems) as a payment method and I have about 10 orders that are not showing in Magento Admin backend under Sales -> ...
0
votes
2answers
1k views

Change registered customer biliing email address on the time of checkout

I am trying to implement one functionality where logged in user can able to change the billing email address on the time of checkout. I have tried to do that but all the time it updates customer ...
1
vote
1answer
2k views

adding custom code to function addItem in Quote.php

I looked for a way to add a custom order item. Code -> Core -> Mage -> Sales -> Model -> Quote.php See: public function addItem(Mage_Sales_Model_Quote_Item $item) { // Added: $...