Skip to main content

Product bundle / 2 and more Products with one clic

More
11 years 9 months ago #184282 by pixeldraft
-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6

Hello everybody and merry xmas!

I am facing a problem ... i am using the "add to cart" html link.
Now i want and have to to the following thing.

When i click the button, it has to add 2 products at the same time.

Is it possible to do something like that?
Can i type "http:/...option=com_hikashop&ctrl=product&task=updatecart&quantity=1&checkout=1&product_id=2-AND-ONE-MORE"?

Thank u very much!

Please Log in or Create an account to join the conversation.

More
11 years 9 months ago #184308 by pixeldraft
a friend of mine made a great workaround with JS.

If there is any solution in hika, it woould be nice to know. if there is not .... no problem :)

Thanks and merry xmas!

Please Log in or Create an account to join the conversation.

More
11 years 9 months ago #184296 by nicolas
Hi,

Here is a URL for that:
www.hikashop.com/forum/4-how-to/9701-upd...f-quantity.html#9724
XX is the id of the first product
0 the quantity of the first product to add
YY is the id of the second product
1 the quantity of the second product to add
The following user(s) said Thank You: pixeldraft

Please Log in or Create an account to join the conversation.

More
11 years 9 months ago #184386 by pixeldraft
Thank u very much!

Now i am facing one more problem with the add to cart link.
If i want to add the same product to the cart again, the qty is still 1.

Thanks :)

Please Log in or Create an account to join the conversation.

More
11 years 9 months ago #184403 by nicolas
Hi,

Add the attribute &add=1 to the URL and the quantity of the products in the URL will be added to the ones in the cart instead of replacing them.

Please Log in or Create an account to join the conversation.

Time to create page: 0.155 seconds
Powered by Kunena Forum