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

#   Add to cart HTML link adds only 1 item

##

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

Less More

- Posts: 1191
- Thank you received: 13
-
-

8 years 2 months ago [\#297301](#297301) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  *[Add to cart HTML link adds only 1 item](/forum/31-development/895605-add-to-cart-html-link-adds-only-1-item#297301 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 7.1  Hi! I ve been using with no problems in previous version of hikashop, this url Add to cart HTML link ''  www.XXXXXX.gr/index.php?option=com&#95;hikas...&amp;cid=7107&amp;Itemid=262 '' and every time i hit this url I get a new item in my cart. If i hit the same item it keeps adding quantity. From this update , or maybe previous it doest work. It adds anly 1 item. How can I use a url to add as many items as I want. Thank you in advance")* was created by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")*

-- HikaShop version -- : 3.5.1
-- Joomla version -- : 3.8.11
-- PHP version -- : 7.1

Hi!
I ve been using with no problems in previous version of hikashop, this url Add to cart HTML link
''[ www.XXXXXX.gr/index.php?option=com\_hikas...&amp;cid=7107&amp;Itemid=262](https://www.XXXXXX.gr/index.php?option=com_hikashop&ctrl=product&task=updatecart&qty=1&cid=7107&Itemid=262)''
and every time i hit this url I get a new item in my cart.
If i hit the same item it keeps adding quantity.
From this update , or maybe previous it doest work.
It adds anly 1 item.
How can I use a url to add as many items as I want.
Thank you in advance

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2RldmVsb3BtZW50Lzg5NTYwNS1hZGQtdG8tY2FydC1odG1sLWxpbmstYWRkcy1vbmx5LTEtaXRlbT90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86315
- Thank you received: 14276
-
-

8 years 2 months ago [\#297302](#297302) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add to cart HTML link adds only 1 item](/forum/31-development/895605-add-to-cart-html-link-adds-only-1-item#297302 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 7.1  Hi! I ve been using with no problems in previous version of hikashop, this url Add to cart HTML link ''  www.XXXXXX.gr/index.php?option=com&#95;hikas...&amp;cid=7107&amp;Itemid=262 '' and every time i hit this url I get a new item in my cart. If i hit the same item it keeps adding quantity. From this update , or maybe previous it doest work. It adds anly 1 item. How can I use a url to add as many items as I want. Thank you in advance")*

Hi,

Use that URL instead: Code:

https://www.xxxxxx.gr/index.php?option=com_hikashop&amp;ctrl=product&amp;task=updatecart&amp;qty=1&amp;cid=7107&amp;add=1&amp;Itemid=262

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

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

Less More

- Posts: 1191
- Thank you received: 13
-
-

6 years 8 months ago [\#315512](#315512) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  Replied by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")* on topic *[Add to cart HTML link adds only 1 item](/forum/31-development/895605-add-to-cart-html-link-adds-only-1-item#315512 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 7.1  Hi! I ve been using with no problems in previous version of hikashop, this url Add to cart HTML link ''  www.XXXXXX.gr/index.php?option=com&#95;hikas...&amp;cid=7107&amp;Itemid=262 '' and every time i hit this url I get a new item in my cart. If i hit the same item it keeps adding quantity. From this update , or maybe previous it doest work. It adds anly 1 item. How can I use a url to add as many items as I want. Thank you in advance")*

Hello!

Is there a way to have a variable in this link like
[ www.xxxxxx.gr/index.php?option=com\_hikas...107&amp;add=1&amp;Itemid=262](https://www.xxxxxx.gr/index.php?option=com_hikashop&ctrl=product&task=updatecart&qty={varitems}&cid=7107&add=1&Itemid=262)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2RldmVsb3BtZW50Lzg5NTYwNS1hZGQtdG8tY2FydC1odG1sLWxpbmstYWRkcy1vbmx5LTEtaXRlbT90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86315
- Thank you received: 14276
-
-

6 years 8 months ago [\#315524](#315524) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add to cart HTML link adds only 1 item](/forum/31-development/895605-add-to-cart-html-link-adds-only-1-item#315524 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 7.1  Hi! I ve been using with no problems in previous version of hikashop, this url Add to cart HTML link ''  www.XXXXXX.gr/index.php?option=com&#95;hikas...&amp;cid=7107&amp;Itemid=262 '' and every time i hit this url I get a new item in my cart. If i hit the same item it keeps adding quantity. From this update , or maybe previous it doest work. It adds anly 1 item. How can I use a url to add as many items as I want. Thank you in advance")*

Hi,

Sure. Just change the value of that qty parameter as you need, that's not a problem.

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

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

Less More

- Posts: 1191
- Thank you received: 13
-
-

6 years 8 months ago [\#315527](#315527) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  Replied by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")* on topic *[Add to cart HTML link adds only 1 item](/forum/31-development/895605-add-to-cart-html-link-adds-only-1-item#315527 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 7.1  Hi! I ve been using with no problems in previous version of hikashop, this url Add to cart HTML link ''  www.XXXXXX.gr/index.php?option=com&#95;hikas...&amp;cid=7107&amp;Itemid=262 '' and every time i hit this url I get a new item in my cart. If i hit the same item it keeps adding quantity. From this update , or maybe previous it doest work. It adds anly 1 item. How can I use a url to add as many items as I want. Thank you in advance")*

Like {varquantity}?
Can you please give me an example?

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

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

Less More

- Posts: 1191
- Thank you received: 13
-
-

6 years 8 months ago [\#315535](#315535) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  Replied by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")* on topic *[Add to cart HTML link adds only 1 item](/forum/31-development/895605-add-to-cart-html-link-adds-only-1-item#315535 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 7.1  Hi! I ve been using with no problems in previous version of hikashop, this url Add to cart HTML link ''  www.XXXXXX.gr/index.php?option=com&#95;hikas...&amp;cid=7107&amp;Itemid=262 '' and every time i hit this url I get a new item in my cart. If i hit the same item it keeps adding quantity. From this update , or maybe previous it doest work. It adds anly 1 item. How can I use a url to add as many items as I want. Thank you in advance")*

I tried [ www.demo.webintel.gr/reservemyboat/index...ty=18&amp;cid=2290&amp;add=1](https://www.demo.webintel.gr/reservemyboat/index.php?option=com_hikashop&ctrl=product&task=updatecart&qty=18&cid=2290&add=1)

As you can see in &amp;qty=18 but only 1 item is added in the cart.

Also what i was asking befre is if I can use the link as below

[ www.demo.webintel.gr/reservemyboat/index...tems}&amp;cid=2290&amp;add=1](https://www.demo.webintel.gr/reservemyboat/index.php?option=com_hikashop&ctrl=product&task=updatecart&qty={var_items}&cid=2290&add=1)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2RldmVsb3BtZW50Lzg5NTYwNS1hZGQtdG8tY2FydC1odG1sLWxpbmstYWRkcy1vbmx5LTEtaXRlbT90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86315
- Thank you received: 14276
-
-

6 years 8 months ago [\#315541](#315541) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add to cart HTML link adds only 1 item](/forum/31-development/895605-add-to-cart-html-link-adds-only-1-item#315541 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 7.1  Hi! I ve been using with no problems in previous version of hikashop, this url Add to cart HTML link ''  www.XXXXXX.gr/index.php?option=com&#95;hikas...&amp;cid=7107&amp;Itemid=262 '' and every time i hit this url I get a new item in my cart. If i hit the same item it keeps adding quantity. From this update , or maybe previous it doest work. It adds anly 1 item. How can I use a url to add as many items as I want. Thank you in advance")*

Hi,

That's because you have some restrictions which limits the add to cart of that product to 1 element.
It's probably the "quantity per order" setting of that product which has a max of 1. So please check the settings of that product.

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

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

Less More

- Posts: 1191
- Thank you received: 13
-
-

6 years 8 months ago -  6 years 8 months ago [\#315543](#315543) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  Replied by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")* on topic *[Add to cart HTML link adds only 1 item](/forum/31-development/895605-add-to-cart-html-link-adds-only-1-item#315543 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 7.1  Hi! I ve been using with no problems in previous version of hikashop, this url Add to cart HTML link ''  www.XXXXXX.gr/index.php?option=com&#95;hikas...&amp;cid=7107&amp;Itemid=262 '' and every time i hit this url I get a new item in my cart. If i hit the same item it keeps adding quantity. From this update , or maybe previous it doest work. It adds anly 1 item. How can I use a url to add as many items as I want. Thank you in advance")*

[ ![Screenshot&#95;1&#95;2020-02-10-2.png](/forum/attachment/48695) ](/forum/attachment/48695 "...20-02-10-2.png")

No I dont think its that

- [ ![Screenshot&#95;1&#95;2020-02-10-2.png](/forum/attachment/48695) ](/forum/attachment/48695 "...20-02-10-2.png") [ ](/forum/attachment/48695?download=1 "...20-02-10-2.png")

Last edit: 6 years 8 months ago by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2RldmVsb3BtZW50Lzg5NTYwNS1hZGQtdG8tY2FydC1odG1sLWxpbmstYWRkcy1vbmx5LTEtaXRlbT90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86315
- Thank you received: 14276
-
-

6 years 8 months ago [\#315546](#315546) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add to cart HTML link adds only 1 item](/forum/31-development/895605-add-to-cart-html-link-adds-only-1-item#315546 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 7.1  Hi! I ve been using with no problems in previous version of hikashop, this url Add to cart HTML link ''  www.XXXXXX.gr/index.php?option=com&#95;hikas...&amp;cid=7107&amp;Itemid=262 '' and every time i hit this url I get a new item in my cart. If i hit the same item it keeps adding quantity. From this update , or maybe previous it doest work. It adds anly 1 item. How can I use a url to add as many items as I want. Thank you in advance")*

Hi,

I can assure you that it's the case.
Click twice on your add to cart link and you'll see the second time that error message:
"Too much quantity selected for product Sampania"
Note that if you have variants in the product, then it could be a limit in the variant.
Note also that it could come from a limit configured in the Products&gt;Limits menu.

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

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

[](#top)
