[Skip to main content](#vessel-content)

#   Add Products To Cart in Batch?

##

- **[tonytaylor](/forum/user/35734-tonytaylor "View tonytaylor's Profile")**
- [![tonytaylor's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35734-tonytaylor "View tonytaylor's Profile") Topic Author
- [ Offline](/forum/user/35734-tonytaylor)

Less More

- Posts: 6
- Thank you received: 0
-
-

10 years 10 months ago [\#224898](#224898) by [tonytaylor](/forum/user/35734-tonytaylor "View tonytaylor's Profile")  *[Add Products To Cart in Batch?](/forum/31-development/881234-add-products-to-cart-in-batch#224898 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.6 -- PHP version -- : 5.4.45 -- Browser(s) name and version -- : Chrome 47.0.2526.80  Hi,  I'm working on a feature that would allow users to add products to their cart from the product listing view. This works similarly to the compare feature where users can quickly add multiple items. We leverage the hikashopModifyQuantity JS function for every selected item in the product listing.  Everything works fine, except for the SqueezeBox confirmation window, where it seems every product adds its own iframe to the window. We would like to modify it so it renders a list of products that was added in a single iframe.  Any tips or suggestions?  Thanks!  Tony")* was created by *[tonytaylor](/forum/user/35734-tonytaylor "View tonytaylor's Profile")*

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.6
-- PHP version -- : 5.4.45
-- Browser(s) name and version -- : Chrome 47.0.2526.80

Hi,

I'm working on a feature that would allow users to add products to their cart from the product listing view. This works similarly to the compare feature where users can quickly add multiple items. We leverage the hikashopModifyQuantity JS function for every selected item in the product listing.

Everything works fine, except for the SqueezeBox confirmation window, where it seems every product adds its own iframe to the window. We would like to modify it so it renders a list of products that was added in a single iframe.

Any tips or suggestions?

Thanks!

Tony

- [ ![Screenshot&#95;-&#95;12222015&#95;-&#95;111544&#95;AM.png](/forum/attachment/28595) ](/forum/attachment/28595 "...&#95;111544&#95;AM.png") [ ](/forum/attachment/28595?download=1 "...&#95;111544&#95;AM.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg4MTIzNC1hZGQtcHJvZHVjdHMtdG8tY2FydC1pbi1iYXRjaD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

10 years 10 months ago [\#224904](#224904) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add Products To Cart in Batch?](/forum/31-development/881234-add-products-to-cart-in-batch#224904 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.6 -- PHP version -- : 5.4.45 -- Browser(s) name and version -- : Chrome 47.0.2526.80  Hi,  I'm working on a feature that would allow users to add products to their cart from the product listing view. This works similarly to the compare feature where users can quickly add multiple items. We leverage the hikashopModifyQuantity JS function for every selected item in the product listing.  Everything works fine, except for the SqueezeBox confirmation window, where it seems every product adds its own iframe to the window. We would like to modify it so it renders a list of products that was added in a single iframe.  Any tips or suggestions?  Thanks!  Tony")*

Hi,

HikaShop already has a system in order to add several products at the same time from the products listing.
You can just set the "Display the quantity field on the product page" option of the hikaShop configuration to "global on listing".
That way, you'll have one quantity box for each product of the listing and one main "add to cart"/"add to wishlist" button.
Then, you're left with simply hidding the quantity box with CSS and adding a checkbox with a piece of javascript to set the quantity field based on whether the checkbox is checked or not.
So it's really easy to do like that and the notice popup should display normally.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg4MTIzNC1hZGQtcHJvZHVjdHMtdG8tY2FydC1pbi1iYXRjaD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[FM Supply](/forum/user/60580-fm-supply "View FM Supply's Profile")**
- [![FM Supply's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/60580-fm-supply "View FM Supply's Profile")
- [ Offline](/forum/user/60580-fm-supply)

Less More

- Posts: 11
- Thank you received: 0
-
-

5 years 10 months ago [\#328036](#328036) by [FM Supply](/forum/user/60580-fm-supply "View FM Supply's Profile")  Replied by *[FM Supply](/forum/user/60580-fm-supply "View FM Supply's Profile")* on topic *[Add Products To Cart in Batch?](/forum/31-development/881234-add-products-to-cart-in-batch#328036 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.6 -- PHP version -- : 5.4.45 -- Browser(s) name and version -- : Chrome 47.0.2526.80  Hi,  I'm working on a feature that would allow users to add products to their cart from the product listing view. This works similarly to the compare feature where users can quickly add multiple items. We leverage the hikashopModifyQuantity JS function for every selected item in the product listing.  Everything works fine, except for the SqueezeBox confirmation window, where it seems every product adds its own iframe to the window. We would like to modify it so it renders a list of products that was added in a single iframe.  Any tips or suggestions?  Thanks!  Tony")*

Does this still work? I went to the Product options tab and selected "Yes" for Quantity field under the "Product features display" and it shows the quantify box with a default value of "1" but each product has it's own "Add to Cart" and not just 1 add to cart

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg4MTIzNC1hZGQtcHJvZHVjdHMtdG8tY2FydC1pbi1iYXRjaD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

5 years 10 months ago [\#328068](#328068) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add Products To Cart in Batch?](/forum/31-development/881234-add-products-to-cart-in-batch#328068 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.6 -- PHP version -- : 5.4.45 -- Browser(s) name and version -- : Chrome 47.0.2526.80  Hi,  I'm working on a feature that would allow users to add products to their cart from the product listing view. This works similarly to the compare feature where users can quickly add multiple items. We leverage the hikashopModifyQuantity JS function for every selected item in the product listing.  Everything works fine, except for the SqueezeBox confirmation window, where it seems every product adds its own iframe to the window. We would like to modify it so it renders a list of products that was added in a single iframe.  Any tips or suggestions?  Thanks!  Tony")*

Hi,

It still works yes. You need to set the option "Add to cart on listings" to "global" in the HikaShop configuration for that.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg4MTIzNC1hZGQtcHJvZHVjdHMtdG8tY2FydC1pbi1iYXRjaD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[FM Supply](/forum/user/60580-fm-supply "View FM Supply's Profile")**
- [![FM Supply's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/60580-fm-supply "View FM Supply's Profile")
- [ Offline](/forum/user/60580-fm-supply)

Less More

- Posts: 11
- Thank you received: 0
-
-

5 years 10 months ago [\#328074](#328074) by [FM Supply](/forum/user/60580-fm-supply "View FM Supply's Profile")  Replied by *[FM Supply](/forum/user/60580-fm-supply "View FM Supply's Profile")* on topic *[Add Products To Cart in Batch?](/forum/31-development/881234-add-products-to-cart-in-batch#328074 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.6 -- PHP version -- : 5.4.45 -- Browser(s) name and version -- : Chrome 47.0.2526.80  Hi,  I'm working on a feature that would allow users to add products to their cart from the product listing view. This works similarly to the compare feature where users can quickly add multiple items. We leverage the hikashopModifyQuantity JS function for every selected item in the product listing.  Everything works fine, except for the SqueezeBox confirmation window, where it seems every product adds its own iframe to the window. We would like to modify it so it renders a list of products that was added in a single iframe.  Any tips or suggestions?  Thanks!  Tony")*

Where exactly is this "Add to cart on listings" option you're referring to?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg4MTIzNC1hZGQtcHJvZHVjdHMtdG8tY2FydC1pbi1iYXRjaD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

5 years 10 months ago [\#328081](#328081) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add Products To Cart in Batch?](/forum/31-development/881234-add-products-to-cart-in-batch#328081 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.6 -- PHP version -- : 5.4.45 -- Browser(s) name and version -- : Chrome 47.0.2526.80  Hi,  I'm working on a feature that would allow users to add products to their cart from the product listing view. This works similarly to the compare feature where users can quickly add multiple items. We leverage the hikashopModifyQuantity JS function for every selected item in the product listing.  Everything works fine, except for the SqueezeBox confirmation window, where it seems every product adds its own iframe to the window. We would like to modify it so it renders a list of products that was added in a single iframe.  Any tips or suggestions?  Thanks!  Tony")*

Hi,

It's under the "Display" tab of the HikaShop configuration page:
[ www.hikashop.com/support/documentation/5...html#display\_product](https://www.hikashop.com/support/documentation/54-hikashop-config.html#display_product)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg4MTIzNC1hZGQtcHJvZHVjdHMtdG8tY2FydC1pbi1iYXRjaD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.052 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
