New answers tagged

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 ...
user avatar
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.
user avatar
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; ... /** ...
user avatar
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 ...
user avatar
  • 1,664
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 (...
user avatar
  • 1,049
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 ...
user avatar
  • 101
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. ...
user avatar
  • 737
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' }] ...
user avatar
  • 445
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 ...
user avatar

Top 50 recent answers are included