- Posts: 28
- Thank you received: 0
Product bundle / 2 and more Products with one clic
- pixeldraft
-
Topic Author
- Offline
Less
More
11 years 9 months ago #184282
by pixeldraft
Product bundle / 2 and more Products with one clic was created 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!
-- 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.
- pixeldraft
-
Topic Author
- Offline
Less
More
- Posts: 28
- Thank you received: 0
11 years 9 months ago #184308
by pixeldraft
Replied by pixeldraft on topic Product bundle / 2 and more Products with one clic
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!
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.
11 years 9 months ago #184296
by nicolas
Replied by nicolas on topic Product bundle / 2 and more Products with one clic
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
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.
- pixeldraft
-
Topic Author
- Offline
Less
More
- Posts: 28
- Thank you received: 0
11 years 9 months ago #184386
by pixeldraft
Replied by pixeldraft on topic Product bundle / 2 and more Products with one clic
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
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.
11 years 9 months ago #184403
by nicolas
Replied by nicolas on topic Product bundle / 2 and more Products with one clic
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.
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