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

#   Two buttons: Buy now &amp; Add to cart

##

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

Less More

- Posts: 62
- Thank you received: 0
-
-

8 years 1 month ago [\#298860](#298860) by [joostbloom](/forum/user/29932-joostbloom "View joostbloom's Profile")  *[Two buttons: Buy now &amp; Add to cart](/forum/27-checkout/895908-two-buttons-buy-now-add-to-cart#298860 "-- 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")* was created by *[joostbloom](/forum/user/29932-joostbloom "View joostbloom's Profile")*

-- 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

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

Less More

- Posts: 86555
- Thank you received: 14304
-
-

8 years 1 month ago [\#298862](#298862) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Two buttons: Buy now &amp; Add to cart](/forum/27-checkout/895908-two-buttons-buy-now-add-to-cart#298862 "-- 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")*

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: Code:

&lt;a class="hikabtn hikabtn-success" href="index.php?option=com_hikashop&amp;ctrl=product&amp;task=updatecart&amp;cid=&lt;?php echo $this-&gt;element-&gt;product_id; ?&gt;&amp;qty=1&amp;add=1"&gt;Buy now&lt;/a&gt;

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

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

Less More

- Posts: 62
- Thank you received: 0
-
-

8 years 1 month ago [\#298951](#298951) by [joostbloom](/forum/user/29932-joostbloom "View joostbloom's Profile")  Replied by *[joostbloom](/forum/user/29932-joostbloom "View joostbloom's Profile")* on topic *[Two buttons: Buy now &amp; Add to cart](/forum/27-checkout/895908-two-buttons-buy-now-add-to-cart#298951 "-- 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")*

Hi Nicolas,

First of all: thanks for the quick reply!
It works like I want to. Excellent!!

Thanks again,
Joost

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

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

Less More

- Posts: 62
- Thank you received: 0
-
-

7 years 11 months ago [\#300809](#300809) by [joostbloom](/forum/user/29932-joostbloom "View joostbloom's Profile")  Replied by *[joostbloom](/forum/user/29932-joostbloom "View joostbloom's Profile")* on topic *[Two buttons: Buy now &amp; Add to cart](/forum/27-checkout/895908-two-buttons-buy-now-add-to-cart#300809 "-- 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")*

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](https://www.amazingjewelry.nl/armbanden/product/listing)

regards,
Joost

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

7 years 11 months ago -  7 years 11 months ago [\#300822](#300822) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Two buttons: Buy now &amp; Add to cart](/forum/27-checkout/895908-two-buttons-buy-now-add-to-cart#300822 "-- 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")*

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

Last edit: 7 years 11 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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