- Posts: 62
- Thank you received: 0
Two buttons: Buy now & Add to cart
- joostbloom
-
Topic Author
- Offline
Less
More
8 years 1 month ago #298860
by joostbloom
Two buttons: Buy now & Add to cart was created by joostbloom
-- HikaShop version -- : 3.5.1
-- Joomla version -- : 3.8.13
-- PHP version -- : 7.1.22
Hi,
I have a simple question: is it possible to have two buttons on a productpage:
- Buy now (this will redirect you directly to the checkout)
- Add to cart (this will add the item to the cart but the visitor will stay on the same page)
If it is possible, how can I arrange this?
Thanks in advance!
Regards,
Joost
-- Joomla version -- : 3.8.13
-- PHP version -- : 7.1.22
Hi,
I have a simple question: is it possible to have two buttons on a productpage:
- Buy now (this will redirect you directly to the checkout)
- Add to cart (this will add the item to the cart but the visitor will stay on the same page)
If it is possible, how can I arrange this?
Thanks in advance!
Regards,
Joost
Please Log in or Create an account to join the conversation.
8 years 1 month ago #298862
by nicolas
Replied by nicolas on topic Two buttons: Buy now & Add to cart
Hi,
There is no option for that.
However, you can configure the add to cart to at the item and stay on the same page, and then with a view override you can add a "buy now" link with such code:
There is no option for that.
However, you can configure the add to cart to at the item and stay on the same page, and then with a view override you can add a "buy now" link with such code:
Code:
<a class="hikabtn hikabtn-success" href="index.php?option=com_hikashop&ctrl=product&task=updatecart&cid=<?php echo $this->element->product_id; ?>&qty=1&add=1">Buy now</a>
Please Log in or Create an account to join the conversation.
- joostbloom
-
Topic Author
- Offline
Less
More
- Posts: 62
- Thank you received: 0
8 years 1 month ago #298951
by joostbloom
Replied by joostbloom on topic Two buttons: Buy now & Add to cart
Hi Nicolas,
First of all: thanks for the quick reply!
It works like I want to. Excellent!!
Thanks again,
Joost
First of all: thanks for the quick reply!
It works like I want to. Excellent!!
Thanks again,
Joost
Please Log in or Create an account to join the conversation.
- joostbloom
-
Topic Author
- Offline
Less
More
- Posts: 62
- Thank you received: 0
7 years 11 months ago #300809
by joostbloom
Replied by joostbloom on topic Two buttons: Buy now & Add to cart
Hi Nickolas,
Suddenly the trick doesn't work anymore? Has it something to do with a update? You can check it here: www.amazingjewelry.nl/armbanden/product/listing
regards,
Joost
Suddenly the trick doesn't work anymore? Has it something to do with a update? You can check it here: www.amazingjewelry.nl/armbanden/product/listing
regards,
Joost
Please Log in or Create an account to join the conversation.
7 years 11 months ago - 7 years 11 months ago #300822
by Philip
Replied by Philip on topic Two buttons: Buy now & Add to cart
Hello,
Sorry for this return, but I process some test thanks to your Url, and if I understand your needs for me everything seems to work as described previously.
So can you describe your issue, how it work before and now, give us maybe your step by step test procedure, and maybe the navigator you used.
Other point, did you process some HikaShop update recently ?
Awaiting news from you.
Regards
Sorry for this return, but I process some test thanks to your Url, and if I understand your needs for me everything seems to work as described previously.
So can you describe your issue, how it work before and now, give us maybe your step by step test procedure, and maybe the navigator you used.
Other point, did you process some HikaShop update recently ?
Awaiting news from you.
Regards
Last edit: 7 years 11 months ago by Philip.
Please Log in or Create an account to join the conversation.
Time to create page: 0.055 seconds