Questions tagged [sales-quote]
Denotes questions related to the sales quote on Magento (creation, management, modification, relations)
71 questions
0 votes
3 answers
595 views
Authentic way to access quote for admin and frontend area
I am working on shipping module where i need to fetch quote subtotal in both area frontend as well as admin order create. I am using Magento\Checkout\Model\Session to get the quote subtotal but when i ...
0 votes
1 answer
56 views
I am new in magento! :: I have task to add a custom field('is_vip') in order columns. please help me?
Programatically, add a custom field('is_vip') in order. If a customer order value over $150 , the field value will be 1 and in order grid it will show yes.
0 votes
0 answers
222 views
How Quote Works in Magento 2 and Data is inserted into Quote and Quote Item Table?
I want to know how Quote system works and how data is inserted into quote tables and how api retrieves data.Everything about quote by pure coding point of view i know that quote is cart object later ...
0 votes
0 answers
176 views
Magento 2 Create order even if product Qty is Zero
I want to create an order programmatically where a product qty is zero. I am unable to do so at I get a message as {"0":"The requested qty is not available","1":"#1 ...
0 votes
1 answer
742 views
How to set custom_field value from product page to quote after a product added to cart in magento 2?
I have a custom_field on the product details page( Like a hidden field ). Which is not a product attribute. I can get this field value using checkout_cart_product_add_after event using an observer ...
1 vote
0 answers
38 views
Magento 1 Issue- Shopping cart rule does not apply on Reorder from backend
I am using Magento EE ver. 1.14.2.4 I have observed that shopping cart price rule does not apply on reorder from backend admin side. It considers the original product amount instead of applying ...
1 vote
1 answer
4k views
Magento 2 error "No such entity with cartid =xxxx"
I'm frequently getting this" No such entity with cartId =xxxxx " When I try to edit order by set order status to another status or assign order to customer. I've taken a look at the database ...
0 votes
1 answer
270 views
How do i get the value from addressInformation Magento 2
How do I get the example value which is the date. $billingAddress = $order->getBillingAddress(); $shippingAddress = $order->getShippingAddress(); these two don't have it But it saves in ...
0 votes
1 answer
314 views
How does sales_quote and sales_quote_adress table relate?
In the sales_flat_quote table, there is a store_id column. In my perspective the customer order in the front-end (website) and in the back-end, Magento creates each quote for different stores, if my ...
3 votes
0 answers
283 views
How to correctly add an extra charge to a Magento 2 order's total amount?
We're using a custom module to calculate an amount we need to include in the grand total of the order, i.e. the customer will be charged for the product PLUS this custom amount. The result is our ...
0 votes
1 answer
383 views
When add second product, custom attributes not save data. Using event " sales_quote_item_set_product " in Magento 2
I used the sales_quote_item_set_product event to save data to the table when adding to cart product. It works but when I add the next product, it does not save the old data in the old field. My ...
2 votes
0 answers
739 views
Magento 2 customer is saved as guest even if he logged-in in quote table
We have an issue that if a customer is logged-in and add product to cart, in quote table we have a column as customer_is_guest, it is saving as 1, even if the customer is logged-in, it is showing as ...
1 vote
0 answers
27 views
Magento 1.9 moving products between websites
How to move a product/item who was added to cart/quote on websiteA to cart/quote which is on websiteB. I would like to solve this problem with controller, but I am not very successfull. Do you ...
0 votes
0 answers
72 views
Error While saving quote programmatically
Notice: Array to string conversion in D:\Projects\magento\lib\Varien\Db\Adapter\Pdo\Mysql.php on line 3074
1 vote
1 answer
129 views
How can I get customer_taxvat on sales flat quote in - Magento 1
public function loadAttributeOptions() { $customerAttributes = Mage::getResourceSingleton('customer/customer')->loadAllAttributes()->getAttributesByCode(); $attributes = array(); ...