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

#   Send multiple products using task=updatecart

##

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

Less More

- Posts: 2
- Thank you received: 0
-
-

10 years 8 months ago -  10 years 8 months ago [\#232132](#232132) by [VonKelemen](/forum/user/40210-vonkelemen "View VonKelemen's Profile")  *[Send multiple products using task=updatecart](/forum/27-checkout/882791-send-multiple-products-using-task-updatecart#232132 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.4.45  Hi I want to send multiple products using task=updatecart from my customized page.  Add to cart  I mean, I want to send product&#95;id=1 , product&#95;id=2, product&#95;id=3 ..... to hikashop cart by a single anchor tag. How can I achieve this ?  OR  I can add one product at a time, but it should not redirect to checkout page on clicking Add to cart.")* was created by *[VonKelemen](/forum/user/40210-vonkelemen "View VonKelemen's Profile")*

-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.4.45

Hi
I want to send multiple products using task=updatecart from my customized page.
&lt;a class="hikashop_html_add_to_cart_link" href="index.php?option=com_hikashop&amp;amp;ctrl=product&amp;amp;task=updatecart&amp;amp;quantity=1&amp;amp;checkout=1&amp;amp;product_id=1"&gt; Add to cart&lt;/a&gt;

I mean, I want to send product_id=1 , product_id=2, product_id=3 ..... to hikashop cart by a single anchor tag. How can I achieve this ?

OR

I can add one product at a time, but it should not redirect to checkout page on clicking Add to cart.

Last edit: 10 years 8 months ago by [VonKelemen](/forum/user/40210-vonkelemen "View VonKelemen's Profile"). Reason: More description

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Mjc5MS1zZW5kLW11bHRpcGxlLXByb2R1Y3RzLXVzaW5nLXRhc2stdXBkYXRlY2FydD90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

10 years 8 months ago [\#232135](#232135) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Send multiple products using task=updatecart](/forum/27-checkout/882791-send-multiple-products-using-task-updatecart#232135 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.4.45  Hi I want to send multiple products using task=updatecart from my customized page.  Add to cart  I mean, I want to send product&#95;id=1 , product&#95;id=2, product&#95;id=3 ..... to hikashop cart by a single anchor tag. How can I achieve this ?  OR  I can add one product at a time, but it should not redirect to checkout page on clicking Add to cart.")*

Hi,

You can use such link: Code:

index.php?option=com_hikashop&amp;ctrl=product&amp;task=updatecart&amp;checkout=1&amp;data[XXX]=YYY&amp;data[AAA]=BBB

where XXX and AAA are ids of products and YYY and BBB are the quantities you want to add for each product.

The following user(s) said Thank You: [VonKelemen](/forum/user/40210-vonkelemen "View VonKelemen's Profile")

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

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

Less More

- Posts: 2
- Thank you received: 0
-
-

10 years 8 months ago [\#232195](#232195) by [VonKelemen](/forum/user/40210-vonkelemen "View VonKelemen's Profile")  Replied by *[VonKelemen](/forum/user/40210-vonkelemen "View VonKelemen's Profile")* on topic *[Send multiple products using task=updatecart](/forum/27-checkout/882791-send-multiple-products-using-task-updatecart#232195 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.4.45  Hi I want to send multiple products using task=updatecart from my customized page.  Add to cart  I mean, I want to send product&#95;id=1 , product&#95;id=2, product&#95;id=3 ..... to hikashop cart by a single anchor tag. How can I achieve this ?  OR  I can add one product at a time, but it should not redirect to checkout page on clicking Add to cart.")*

Hi Nikolas

Thanks for your reply and solution you sent is working perfectly, I am Deepak Komre (a developer) writing on behalf of your customer.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Mjc5MS1zZW5kLW11bHRpcGxlLXByb2R1Y3RzLXVzaW5nLXRhc2stdXBkYXRlY2FydD90bXBsPW1hcmtkb3du) 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.049 seconds

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