New answers tagged cart
0
votes
Shopping Cart not loading while there are 1000 items in cart ( Magento 1 Enterprise )
This article provides best practices for the number of products in a cart in Adobe Commerce. The maximum recommended number of products is 100.
The potential site impact of exceeding the limit is:
An ...
0
votes
Magento 1.9 add to cart slow when cached
What do you mean by "When a sites cache hasn't been cleared for a while"? A week, a month? AOE Scheduler clears the cache every 4 hours for example.
0
votes
Setting a custom item subtotal when adding product to cart?
Check to see if $item->getQuote()->getId() gives a valid quote ID. If it does not then you may not have access to the quote itself and can try adding:
use \Magento\Checkout\Model\Cart;
...
/**
...
0
votes
Magento 2: How to show price in decimal (Instead rounding) in cart items & cart summary?
you can use plugin for that
Create di.xml at app/code/Vendor/Module/etc/di.xml
then here you can override this core class Magento\Quote\Model\Quote
<?xml version="1.0"?>
<config ...
1
vote
how to get the name of the category that the user used to add the product to the cart. Magento 1.9
magento does not store product category name where user added it.
You need to do customise it.
For it you need to create custom column in order_item and quote_item table and with observer (...
0
votes
Magento 2: How to disable Quantity Box for specific product from checkout cart and minicart
@yash Shah : thanks for your solution, it's great !
However, how to inject an helper in file
Vendor/ModuleName/Plugin/Magento/Checkout/CustomerData/DefaultItem.php
To get the sku list ?
I tried to ...
0
votes
Multiple shipping method for single order
This looks like a lot and a lot or rewritting in the magento process. I don't say it's impossible but I think it's a lot of headache for an uncertain result.
I would suggest changing the approach.
...
0
votes
Magento 2 - How to display messages on ajax success change
try this:
define(['Magento_Customer/js/customer-data'], function (customerData) {
customerData.set('messages', {
messages: [{
text: 'message to display',
type: 'success'
}]
...
2
votes
Accepted
Undefined index: simple_sku Magento 1.9
When adding a configurable to the cart both the configurable and simple child products will be in the cart, only 1 is visible and represented in the cart on the frontend. So depending on how you ...
Top 50 recent answers are included
Related Tags
cart × 2200magento2 × 759
magento-1.9 × 434
checkout × 359
addtocart × 194
product × 167
shopping-cart × 143
quote × 139
magento-2.1 × 107
event-observer × 95
mini-cart × 84
shipping × 82
magento-1.7 × 80
shopping-cart-price-rules × 80
price × 79
custom-options × 67
configurable-product × 65
ajax × 62
magento-1.8 × 60
magento2.3 × 57
php × 53
onepage-checkout × 51
session × 51
tax × 48
discount × 47