Questions tagged [quote]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
146 views

Add fee taxes on quote

I'm facing issue about taxes on quotation. I'm trying add fee taxes on quotation, but all attempt are unsuccessful. I'm try use this $address->setTaxAmount($taxAmount); $address->setTaxRate($...
0
votes
0answers
135 views

Infinite loop issue, when qty becomes zero

I am getting the infinite loop issue in the below scenario : Added product 1 into the cart. Added product 2 into the cart. Make the qty to 0 from the admin-end. Click on the checkout button and at ...
0
votes
1answer
679 views

Bundle product in quote

Would be someone please be so kind and explained me structure of bundle products? I need to retrieve products in quote no matter if they belong to bundle or not, but if I get bundle product's item, ...
0
votes
0answers
266 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
770 views

How to get information about product in cart

I want to get information about product in cart such as customer_firstname, customer_email. I use this code: $carts = Mage::getModel('checkout/cart')->getQuote(); foreach( $carts->...
0
votes
0answers
60 views

Can I store a custom variable in a quote? (temporarily) M1.9.2.4

In Magento, can I store a custom variable in a quote? (temporarily) We use an observer for quote item ... but I need to store a variable in the qupte to use later .... this cannot be used sales/...
0
votes
1answer
53 views

Add product to quote skips product randomly

I need to create an order with more than 60 products programmatically but it seems like Magento skips some(around 3 or 4) products randomly. I think it's a problem with itemsCollection of _quote but I ...
0
votes
1answer
755 views

Admin order update price programmatically in quote loop

I have a bit of custom pricing that needs to be carried out for each product in an order which alters the end price of the item. I am using an observer with the sales_quote_item_qty_set_after event ...
0
votes
1answer
138 views

related products not getting in a quote items

When I add a product to cart then its related products will be added automatically with it and it's working. But, I want to make the price zero on the cart page for related products only, as they will ...
0
votes
1answer
169 views

OneStepCheckout - Add new step where I can add more products to Cart

I'm adding a new step in OneStepCheckout page, after Billing and before Payment, where the user can see and choose other special products just once. But the problem is that I'm not able to add those ...
0
votes
2answers
728 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 ...
0
votes
1answer
48 views

Unable to nullify a custom field

There is a custom extension that manage the shipping address for a local shipping carriers. Besides some extra fields for local data there is a custom field called tipo_direccion (address type in ...
0
votes
1answer
102 views

Subtract amount from cart

For a special project we need to be able to subtract a variable amount from the cart totals. I couldn't really find an example which does that as well. As far as I know, I know that cart discount is ...
0
votes
0answers
437 views

How to apply custom carts rules to quote in magento?

we are creating a module in which we are creating custom rules to apply on cart. Rules creation working fine. But, don't know how to apply that rules to cart/quote. Please share your views, I m ...
0
votes
1answer
4k views

What is use of sales_flat_quote table? Can it be truncated? [duplicate]

I want to know functionality of sales_flat_quote table. If I would truncate this table then will any issue occur or not?
0
votes
1answer
108 views

Getting Package Qty on Shipping Methods template (answered)

I want to get the number of "shippable" products in the quote/basket on the template file checkout/onepage/shipping_method/available.phtml. The aim is to tell the customer at that point how many more ...
0
votes
0answers
2k views

Collect Totals brings total to 0 (Zero)

I am trying to process a transaction through code, in some ways it goes fine, but when i actually interact with it from a frontend controller something strange happens: var_dump($quoteObj->...
0
votes
2answers
411 views

Increment quote_id manually

I'm having problems with the credit card payment transaction and I'm kind of sure that the quote_id is the cause of it. The problem is I don't know how to increment manually the quote_id in order to ...
0
votes
1answer
213 views

Call to a member function markQuotesRecollect() on a non-object

Whenever I try to save a product in my store I get the following error Call to a member function markQuotesRecollect() on a non-object I have no idea where this came from or how to fix it, it wasn't ...
0
votes
1answer
941 views

Changing custom option (text input) on checkout_cart_product_add_after

I need to transform the string of a custom option of a product when it is added to the cart, but I'm having difficulty doing so.. On the checkout_cart_product_add_after I have the following method ...
0
votes
2answers
885 views

Problem with quotation marks on PHP export

I could use your help once again... I'm currently building a php export to hand our products off to a comparison website. One of their requirements is that every string is wrapped in double quotes. I'...
0
votes
1answer
2k views

Additional Parameter when Add items to cart

I'm needing to save an additional parameter when the customer click in "addToCart". In the product page I added a box with some data to fill. When the customer click on "addToCart" these data should ...
0
votes
1answer
572 views

Magento API customer.create -> cart_product.moveToCustomerQuote

I created a User using the Magento API. I then created a shopping cart and want to move this cart to the created costumer, but this errors as Customer's quote does not exist. Moving the cart to an ...
0
votes
0answers
46 views

Show Shipping Cost based on Grand Total on Cart page [duplicate]

I have a requirement where i need to show free-shipping if grand total is more than some value or else a fixed rate ( flat rate ) should be displayed on Cart page. How can i set shipping cost based ...
0
votes
1answer
852 views

Magento store/save data in custom columns

I added two text columns to sales_flat_quote_item in order to store data and for other reasons When i add product to cart. my problem is that i cant save the data. i tried a lot of examples but ...
0
votes
1answer
1k views

Get the object of the whole quotation in observer

I am doing this: public function setQuoteShippingMethod (Varien_Event_Observer $observer) { $item = $observer->getEvent()->getQuoteItem(); //to have more code } but it ...
0
votes
1answer
317 views

Copy array from product to quote item and order item

I am copying single valued attributes from product to quote item and converting to order item. But is it possible to do that with an array? If yes - what's the process and what type should the table ...
0
votes
1answer
971 views

Converting Custom Sales Information to Quote on Manual Orders

Hello StackExchange community. Apologise in advance for being vague on this question. However, here we go. I have a custom sales attribute called 'notes' this is a short description of the ...
0
votes
1answer
307 views

adding attributes to quote items via config

can someone tell me what the purpose of this is in the config? <sales> <quote> <item> <product_attributes> <sku/> ...
-1
votes
1answer
5k views

Fatal error: Call to undefined method Mage_Checkout_QuoteController::_getSession() in Magento

I'm new to magento, and My intention is create Request for Quote like this link.So for this I have created the custom module for Request the Quote. In this I have add the Add quote buttons in \app\...
-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($...