Questions tagged [quote]
Denotes questions related to the quote on Magento (creation, management, modification, relations)
650 questions
0 votes
1 answer
51 views
How Magento decides when to use an already created quote or create a new one?
In my store all customers are guest, when a customer add a product to cart a quotes is created, but sometimes it uses an already created quote, so my question is: how Magento decides when to use an ...
0 votes
1 answer
87 views
Additional options are getting removed from configurable product in hyva checkout
I've encountered an issue on the payment page involving configurable products with additional options. Specifically, for guest users, when proceeding to the payment step during hyva checkout, the ...
0 votes
2 answers
176 views
How to clean up a very large quote table?
We are trying to move our magento 2.4.4 webshop to a different hostingprovider, but because of the size of some quote tables we can't get a back-up of the database. As you can see in the above image ...
0 votes
0 answers
56 views
Trying to split cart items Magento 2.4.7
I am having a module which gives the ability to cart with checkbox to select which items you want to proceed to checkout. Although I have an issue with Observer event and always in order I get all ...
1 vote
1 answer
60 views
Is it possible to apply different discocunt on different sku in same cart
I want to apply different discount for different for sku's. If both are present in same cart . I want to get discount combine. Suppose if Sku A has discunt 4 and Sku B has 5 , total discount should ...
0 votes
2 answers
58 views
Get Custom Data in the observer to set in the quote
This is my custom controller : <?php namespace Vednor\Module\Controller\Customer; use Magento\Framework\Controller\ResultFactory; use Psr\Log\LoggerInterface; class Addtocart extends \Magento\...
0 votes
1 answer
61 views
Why Coupon code is not allowed on NegotiableQuote
I search for few hours in the historic of Magento2 but I don't find answers. Why, natively in M2, coupon code is not allowed on a quote NegotiableQuote request ?
0 votes
1 answer
40 views
Set Custom Field Data in the Order
I created a observer : <?php namespace Vendor\Module\Observer; use Magento\Framework\Event\Observer; use Magento\Framework\Event\ObserverInterface; use Magento\Framework\App\RequestInterface; use ...
1 vote
3 answers
254 views
Paypal Express No such entity with cartId = 123456789 in checkout
I have a magento 2.4.7-p3 instance and I faced a strange bug. Here is how I reproduce it. 1- Add something to the cart, as a guest and not logged in 2- In checkout/cart click on Paypal button, in the ...
0 votes
0 answers
31 views
Setting shipping and billing address for guest customer from custom page
I would like to set billing and shipping address from my custom page (only for guest customers).My checkout page has been changed and overrided and the shipping and payment steps are changed(no longer ...
0 votes
1 answer
56 views
Adding Groped Products items to the cart using the Api
I am using this endpoint : http://mage.local/rest/V1/carts/3747/items and this is the body: { "cartItem": { "sku": "8717752030514", "qty": 1, &...
0 votes
0 answers
36 views
Magento 2 I want to update product weight and price on add to cart with custom options
I have two custom options on the product view page: width and length. When adding a product to the cart, I want to update both the weight and the price based on these options. Currently, the price ...
0 votes
0 answers
58 views
Orders Merging Issue - New Order Products Adding to Old Completed Orders
I'm facing a critical issue with order creation in my Magento2.4.6 store. Sometimes, when customers place new orders using credit limit payment method, instead of creating a new order, the products ...
0 votes
2 answers
143 views
i am fetching the data from database and display in magento admin grid, and the grid display blank
I have tried all of my thinking, I don't understand why the grid displays a blank Controller namespace StateDrives\RequestQuote\Controller\Adminhtml\Bulkquote; use Magento\Backend\App\Action; use ...
1 vote
1 answer
44 views
Itemcollection get latest updated_at item - Magento 2.4
We use the following code, to get the last item that was most recent updated. $itemsCollection = $cart->getQuote()->getItemsCollection(); $itemsCollection->getSelect()->order('updated_at ...