Question:
The page should show the multiple select, but it does not at all in the GRID mode.
If I switch to LIST mode, it shows the Add All Products, but it never shows the checkbox next to the product.
It did work in LUMA theme, however it showed 2 of everything: 2 Add All boxes, 2 product checkboxes, and 2 quantity fields.
Answer:
The reason might be due to the button Add To Cart in your theme is missing the class “tocart”, which make the module cannot find the button to add the checkbox and quantity box.
1. In case button Add All To Cart has already displayed but the Checkbox and Quantity box have not:
- Please check whether the block item has class “product-item” or not - if the block item hasn’t have yet, it is suggested that you should add the new or present class of the item into this line $(this).find('.product-item').each(function () { of the file: Bss/AddMultipleProducts/view/frontend/web/js/addmultipleproducts.js
- Please check whether the button has class “tocart” or not - if the block item hasn’t have yet, it is suggested that you should add the new or present class of the button into these lines: $(this).find('button.tocart').before(checkbox_addmuntiple);
$(this).find('button.tocart').before(qty_addmuntiple);
of the file: Bss/AddMultipleProducts/view/frontend/web/js/addmultipleproducts.js
Could you please refer the screenshot below for reference?
2. In case button Add All To Cart does not display, could you please double check the config class in the backend?
Please note that it's just the solution for your reference.
For more information about product, please refer Add Multiple Products To Cart for Magento 2.
If you need any further assistance, please feel free to contact us. We'd like to help. Don't forget that we are a trusted Magento 2 extensions provider with 14+ years of experience, serving 75,000+ customers worldwide. We are an Adobe Commerce Solution Bronze Partner and a Select Magento Extensions Builder, reinforcing our expertise in the Magento ecosystem.
BSS Commerce specialize in developing 150+ high-quality Magento 2 extensions that enhance functionality, improve user experience, and support scalable growth. Our reputation is built on long-term partnerships, positive feedback, and proven performance-driven solutions.
Here are some extensions that your store might need:
- BSS Commerce’s Magento 2 B2B Extension helps you close more wholesale deals with efficient ordering and customized pricing.
- BSS Commerce’s Magento 2 SEO Extension attracts more customers and increases conversions with optimized search performance.
Please visit our site for more useful Magento 2 Extensions: https://bsscommerce.com/magento-2-extensions.html
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article