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

#   Buy now + Add to cart: two buttons

##

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

Less More

- Posts: 1
- Thank you received: 0
-
-

4 years 1 month ago [\#344191](#344191) by [JuliethT](/forum/user/68229-julietht "View JuliethT's Profile")  *[Buy now + Add to cart: two buttons](/forum/27-checkout/904917-buy-now-add-to-cart-two-buttons#344191 "-- Error-message(debug-mod must be tuned on) -- : Hello,  Is it possible to add an &quot;Buy now&quot; button, next to the &quot;Add to cart&quot; button. This would mean having two buttons, one that allows to keep shoping after adding the product to the cart, and the &quot;Buy now&quot; that would allow to add the product + go directly to the cart for check out, without keep navigating.  Thank you so much  Hello,  Is it possible to add a &quot;Buy now&quot; button, next to the &quot;Add to cart&quot; button. This would mean having two buttons, one that allows to keep shoping after adding the product to the cart, and the &quot;Buy now&quot; that would allow to add the product + go directly to the cart for check out, without keep navigating.  Thank you so much,")* was created by *[JuliethT](/forum/user/68229-julietht "View JuliethT's Profile")*

-- Error-message(debug-mod must be tuned on) -- : Hello,

Is it possible to add an "Buy now" button, next to the "Add to cart" button. This would mean having two buttons, one that allows to keep shoping after adding the product to the cart, and the "Buy now" that would allow to add the product + go directly to the cart for check out, without keep navigating.

Thank you so much

Hello,

Is it possible to add a "Buy now" button, next to the "Add to cart" button. This would mean having two buttons, one that allows to keep shoping after adding the product to the cart, and the "Buy now" that would allow to add the product + go directly to the cart for check out, without keep navigating.

Thank you so much,

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

Less More

- Posts: 86289
- Thank you received: 14265
-
-

4 years 1 month ago [\#344194](#344194) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Buy now + Add to cart: two buttons](/forum/27-checkout/904917-buy-now-add-to-cart-two-buttons#344194 "-- Error-message(debug-mod must be tuned on) -- : Hello,  Is it possible to add an &quot;Buy now&quot; button, next to the &quot;Add to cart&quot; button. This would mean having two buttons, one that allows to keep shoping after adding the product to the cart, and the &quot;Buy now&quot; that would allow to add the product + go directly to the cart for check out, without keep navigating.  Thank you so much  Hello,  Is it possible to add a &quot;Buy now&quot; button, next to the &quot;Add to cart&quot; button. This would mean having two buttons, one that allows to keep shoping after adding the product to the cart, and the &quot;Buy now&quot; that would allow to add the product + go directly to the cart for check out, without keep navigating.  Thank you so much,")*

Hi,

There is no option for that.

The behavior of the shop after an add to cart is controlled by the settings of the HikaShop cart notification plugin.
So even if you were able to add a second button, it would behave the same way when you click on it.

What I can suggest is to change the mode to "popup" in the settings of that plugin via the Joomla plugins manager.
That way, when you add a product to the cart, you'll get a popup with two buttons, one to continue, one to go to the checkout.

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

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

Less More

- Posts: 18
- Thank you received: 1
-
-

4 years 1 month ago -  4 years 1 month ago [\#344999](#344999) by [imcom](/forum/user/43456-imcom "View imcom's Profile")  Replied by *[imcom](/forum/user/43456-imcom "View imcom's Profile")* on topic *[Buy now + Add to cart: two buttons](/forum/27-checkout/904917-buy-now-add-to-cart-two-buttons#344999 "-- Error-message(debug-mod must be tuned on) -- : Hello,  Is it possible to add an &quot;Buy now&quot; button, next to the &quot;Add to cart&quot; button. This would mean having two buttons, one that allows to keep shoping after adding the product to the cart, and the &quot;Buy now&quot; that would allow to add the product + go directly to the cart for check out, without keep navigating.  Thank you so much  Hello,  Is it possible to add a &quot;Buy now&quot; button, next to the &quot;Add to cart&quot; button. This would mean having two buttons, one that allows to keep shoping after adding the product to the cart, and the &quot;Buy now&quot; that would allow to add the product + go directly to the cart for check out, without keep navigating.  Thank you so much,")*

Hello Nicolas,
I had found a solution for VirtueMart as link:
&lt;a href="cart/add.html?quantity[]=1&amp;amp;virtuemart_product_id[]=23"&gt;&lt;img src="images/download.png" /&gt;&lt;/a&gt;
This link add the product to cart and open the checkout page.

Is it possible to do a similar in HikaShop ?

Last edit: 4 years 1 month ago by [imcom](/forum/user/43456-imcom "View imcom's Profile").

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

Less More

- Posts: 86289
- Thank you received: 14265
-
-

4 years 1 month ago [\#345000](#345000) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Buy now + Add to cart: two buttons](/forum/27-checkout/904917-buy-now-add-to-cart-two-buttons#345000 "-- Error-message(debug-mod must be tuned on) -- : Hello,  Is it possible to add an &quot;Buy now&quot; button, next to the &quot;Add to cart&quot; button. This would mean having two buttons, one that allows to keep shoping after adding the product to the cart, and the &quot;Buy now&quot; that would allow to add the product + go directly to the cart for check out, without keep navigating.  Thank you so much  Hello,  Is it possible to add a &quot;Buy now&quot; button, next to the &quot;Add to cart&quot; button. This would mean having two buttons, one that allows to keep shoping after adding the product to the cart, and the &quot;Buy now&quot; that would allow to add the product + go directly to the cart for check out, without keep navigating.  Thank you so much,")*

Hi,

Well, it depends.
If it's just to add a product to the cart, then you can do a small override to add the HTML add to cart button (the link HTML is available with a button when you edit a product in the backend).
However, this doesn't support characteristics, options, custom item fields (and that's the same for the VM link)... So it might do the job for some merchants, but it's not a solution for everyone.

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

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

Less More

- Posts: 18
- Thank you received: 1
-
-

4 years 1 month ago [\#345013](#345013) by [imcom](/forum/user/43456-imcom "View imcom's Profile")  Replied by *[imcom](/forum/user/43456-imcom "View imcom's Profile")* on topic *[Buy now + Add to cart: two buttons](/forum/27-checkout/904917-buy-now-add-to-cart-two-buttons#345013 "-- Error-message(debug-mod must be tuned on) -- : Hello,  Is it possible to add an &quot;Buy now&quot; button, next to the &quot;Add to cart&quot; button. This would mean having two buttons, one that allows to keep shoping after adding the product to the cart, and the &quot;Buy now&quot; that would allow to add the product + go directly to the cart for check out, without keep navigating.  Thank you so much  Hello,  Is it possible to add a &quot;Buy now&quot; button, next to the &quot;Add to cart&quot; button. This would mean having two buttons, one that allows to keep shoping after adding the product to the cart, and the &quot;Buy now&quot; that would allow to add the product + go directly to the cart for check out, without keep navigating.  Thank you so much,")*

Hi Nicolas, thanks for the reply.
Yes, of course, I agree with you that it is not good solution for everyone.
But having simple products like Downloads, sometimes we need to make the user experience as easy as possible. Imagine the product page (which already has a "Buy" button at the top, then a broad description below, and here it is convenient to insert a nice image / call to action button. A sort of landing page.
I believe there will be many people to thank you for providing us with a similar solution.

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

Less More

- Posts: 86289
- Thank you received: 14265
-
-

4 years 1 month ago [\#345015](#345015) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Buy now + Add to cart: two buttons](/forum/27-checkout/904917-buy-now-add-to-cart-two-buttons#345015 "-- Error-message(debug-mod must be tuned on) -- : Hello,  Is it possible to add an &quot;Buy now&quot; button, next to the &quot;Add to cart&quot; button. This would mean having two buttons, one that allows to keep shoping after adding the product to the cart, and the &quot;Buy now&quot; that would allow to add the product + go directly to the cart for check out, without keep navigating.  Thank you so much  Hello,  Is it possible to add a &quot;Buy now&quot; button, next to the &quot;Add to cart&quot; button. This would mean having two buttons, one that allows to keep shoping after adding the product to the cart, and the &quot;Buy now&quot; that would allow to add the product + go directly to the cart for check out, without keep navigating.  Thank you so much,")*

Hi,

As I said, you can already do it with the HTML add to cart button with a view override.
The code is: Code:

&lt;a class="hikabtn" href="index.php?option=com_hikashop&amp;ctrl=product&amp;task=updatecart&amp;quantity=1&amp;cid=xxx&amp;Itemid=yyy"&gt;Add to cart&lt;/a&gt;

where xxx is the id of the product and yyy the id of a HikaShop menu item to use for the process.
If it's a static button, you can put that HTML code anywhere.
If you want something dynamic, on the product, you can edit one of the view overrides of the product page (for example show_default) and add that code and replace xxx by: Code:

&lt;?php echo $this-&gt;element-&gt;product_id; ?&gt;

Again, this will ignore variants, options, custom item fields and the notification mechanism. It will add the product to the cart and redirect to the checkout.

The following user(s) said Thank You: [joomleb](/forum/user/2322-joomleb "View joomleb's Profile"), [imcom](/forum/user/43456-imcom "View imcom's Profile")

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

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

Less More

- Posts: 18
- Thank you received: 1
-
-

4 years 1 month ago [\#345049](#345049) by [imcom](/forum/user/43456-imcom "View imcom's Profile")  Replied by *[imcom](/forum/user/43456-imcom "View imcom's Profile")* on topic *[Buy now + Add to cart: two buttons](/forum/27-checkout/904917-buy-now-add-to-cart-two-buttons#345049 "-- Error-message(debug-mod must be tuned on) -- : Hello,  Is it possible to add an &quot;Buy now&quot; button, next to the &quot;Add to cart&quot; button. This would mean having two buttons, one that allows to keep shoping after adding the product to the cart, and the &quot;Buy now&quot; that would allow to add the product + go directly to the cart for check out, without keep navigating.  Thank you so much  Hello,  Is it possible to add a &quot;Buy now&quot; button, next to the &quot;Add to cart&quot; button. This would mean having two buttons, one that allows to keep shoping after adding the product to the cart, and the &quot;Buy now&quot; that would allow to add the product + go directly to the cart for check out, without keep navigating.  Thank you so much,")*

WOW!
Great!
You are a genius!
Thank you!

The following user(s) said Thank You: [Philip](/forum/user/34318-philip "View Philip's Profile")

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

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

[](#top)
