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

#   "add to cart" on article page

##

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

Less More

- Posts: 3
- Thank you received: 0
-
-

14 years 11 months ago -  14 years 11 months ago [\#32421](#32421) by [pearcy](/forum/user/5014-pearcy "View pearcy's Profile")  *["add to cart" on article page](/forum/4-how-to/32421-add-to-cart-on-article-page#32421 "Hi,  Thank you for the great shopping cart extension. I have used Virtuemart but this one is easier to use and seems more lightweight in a good way (page load speed, etc).  I wanted to know if it is possible to add code to a regular Joomla article page that includes the functionality of the &quot;add to cart&quot; button. For example, if a user selected this button it would take them to the checkout page (same as if they clicked the &quot;add to cart&quot; button). This would reduce the number of clicks to order an item in my particular case.  I am also putting a real life example here for the flow just in case my description above is not clear.  Example.  On this page:   www.slicesocialmedia.com/en/search-engine-optimization-intro  -- when a user clicks on &quot;buy now&quot; button I would like it to got to this page:   www.slicesocialmedia.com/en/courses/checkout  -- (the checkout page)  Right now the button goes to the product order page (  www.slicesocialmedia.com/en/courses ) and the user has to then select &quot;add to cart&quot; to advance to the order/form page.")* was created by *[pearcy](/forum/user/5014-pearcy "View pearcy's Profile")*

Hi,

Thank you for the great shopping cart extension. I have used Virtuemart but this one is easier to use and seems more lightweight in a good way (page load speed, etc).

I wanted to know if it is possible to add code to a regular Joomla article page that includes the functionality of the "add to cart" button. For example, if a user selected this button it would take them to the checkout page (same as if they clicked the "add to cart" button). This would reduce the number of clicks to order an item in my particular case.

I am also putting a real life example here for the flow just in case my description above is not clear.

Example.

On this page:
[ www.slicesocialmedia.com/en/search-engine-optimization-intro](http://www.slicesocialmedia.com/en/search-engine-optimization-intro)
-- when a user clicks on "buy now" button I would like it to got to this page:
[ www.slicesocialmedia.com/en/courses/checkout](http://www.slicesocialmedia.com/en/courses/checkout)
-- (the checkout page)

Right now the button goes to the product order page ([ www.slicesocialmedia.com/en/courses](http://www.slicesocialmedia.com/en/courses)) and the user has to then select "add to cart" to advance to the order/form page.

Last edit: 14 years 11 months ago by [pearcy](/forum/user/5014-pearcy "View pearcy's Profile").

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

Less More

- Posts: 86587
- Thank you received: 14325
-
-

14 years 11 months ago [\#32442](#32442) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: "add to cart" on article page](/forum/4-how-to/32421-add-to-cart-on-article-page#32442 "Hi,  Thank you for the great shopping cart extension. I have used Virtuemart but this one is easier to use and seems more lightweight in a good way (page load speed, etc).  I wanted to know if it is possible to add code to a regular Joomla article page that includes the functionality of the &quot;add to cart&quot; button. For example, if a user selected this button it would take them to the checkout page (same as if they clicked the &quot;add to cart&quot; button). This would reduce the number of clicks to order an item in my particular case.  I am also putting a real life example here for the flow just in case my description above is not clear.  Example.  On this page:   www.slicesocialmedia.com/en/search-engine-optimization-intro  -- when a user clicks on &quot;buy now&quot; button I would like it to got to this page:   www.slicesocialmedia.com/en/courses/checkout  -- (the checkout page)  Right now the button goes to the product order page (  www.slicesocialmedia.com/en/courses ) and the user has to then select &quot;add to cart&quot; to advance to the order/form page.")*

Hi,

When you edit your products, you have the button "add to cart HTML button" that you can click on to get the html code to use to display an add to cart button for that product from any article on your website.

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

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

Less More

- Posts: 3
- Thank you received: 0
-
-

14 years 7 months ago [\#46988](#46988) by [kevinSom](/forum/user/7093-kevinsom "View kevinSom's Profile")  Replied by *[kevinSom](/forum/user/7093-kevinsom "View kevinSom's Profile")* on topic *[Re: "add to cart" on article page](/forum/4-how-to/32421-add-to-cart-on-article-page#46988 "Hi,  Thank you for the great shopping cart extension. I have used Virtuemart but this one is easier to use and seems more lightweight in a good way (page load speed, etc).  I wanted to know if it is possible to add code to a regular Joomla article page that includes the functionality of the &quot;add to cart&quot; button. For example, if a user selected this button it would take them to the checkout page (same as if they clicked the &quot;add to cart&quot; button). This would reduce the number of clicks to order an item in my particular case.  I am also putting a real life example here for the flow just in case my description above is not clear.  Example.  On this page:   www.slicesocialmedia.com/en/search-engine-optimization-intro  -- when a user clicks on &quot;buy now&quot; button I would like it to got to this page:   www.slicesocialmedia.com/en/courses/checkout  -- (the checkout page)  Right now the button goes to the product order page (  www.slicesocialmedia.com/en/courses ) and the user has to then select &quot;add to cart&quot; to advance to the order/form page.")*

Hi,

That's a great feature which I believe is not available in VirtueMart 2. However, can you get HikaShop to add to cart and continue shopping instead of checking out directly (as more products may be required)?

I would like to show a link to the cart and have (for now) the shopping system not shown until checkout.

Does the "Add to Cart" function work on versions of HikaShop?

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

Less More

- Posts: 86587
- Thank you received: 14325
-
-

14 years 7 months ago [\#47081](#47081) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: "add to cart" on article page](/forum/4-how-to/32421-add-to-cart-on-article-page#47081 "Hi,  Thank you for the great shopping cart extension. I have used Virtuemart but this one is easier to use and seems more lightweight in a good way (page load speed, etc).  I wanted to know if it is possible to add code to a regular Joomla article page that includes the functionality of the &quot;add to cart&quot; button. For example, if a user selected this button it would take them to the checkout page (same as if they clicked the &quot;add to cart&quot; button). This would reduce the number of clicks to order an item in my particular case.  I am also putting a real life example here for the flow just in case my description above is not clear.  Example.  On this page:   www.slicesocialmedia.com/en/search-engine-optimization-intro  -- when a user clicks on &quot;buy now&quot; button I would like it to got to this page:   www.slicesocialmedia.com/en/courses/checkout  -- (the checkout page)  Right now the button goes to the product order page (  www.slicesocialmedia.com/en/courses ) and the user has to then select &quot;add to cart&quot; to advance to the order/form page.")*

Here is a thread which talks about doing that:
[ www.hikashop.com/forum/4-how-to/8572-add...e-page-possible.html](http://www.hikashop.com/forum/4-how-to/8572-add-to-cart-link-ajax-or-stay-same-page-possible.html)
It's more involved that just the copy/paste of the other method.

It works on all the version.

The following user(s) said Thank You: [kevinSom](/forum/user/7093-kevinsom "View kevinSom's Profile")

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

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

Less More

- Posts: 3
- Thank you received: 0
-
-

14 years 7 months ago [\#47193](#47193) by [kevinSom](/forum/user/7093-kevinsom "View kevinSom's Profile")  Replied by *[kevinSom](/forum/user/7093-kevinsom "View kevinSom's Profile")* on topic *[Re: "add to cart" on article page](/forum/4-how-to/32421-add-to-cart-on-article-page#47193 "Hi,  Thank you for the great shopping cart extension. I have used Virtuemart but this one is easier to use and seems more lightweight in a good way (page load speed, etc).  I wanted to know if it is possible to add code to a regular Joomla article page that includes the functionality of the &quot;add to cart&quot; button. For example, if a user selected this button it would take them to the checkout page (same as if they clicked the &quot;add to cart&quot; button). This would reduce the number of clicks to order an item in my particular case.  I am also putting a real life example here for the flow just in case my description above is not clear.  Example.  On this page:   www.slicesocialmedia.com/en/search-engine-optimization-intro  -- when a user clicks on &quot;buy now&quot; button I would like it to got to this page:   www.slicesocialmedia.com/en/courses/checkout  -- (the checkout page)  Right now the button goes to the product order page (  www.slicesocialmedia.com/en/courses ) and the user has to then select &quot;add to cart&quot; to advance to the order/form page.")*

Hello Nicolas,

Thanks for the info. I was hoping that just using the copy and paste of the html would do with a little tweak. Is there a way of "Add to Cart" doing no redirection to the checkout page without using ajax? (using just the HTML code)

thnx

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

Less More

- Posts: 86587
- Thank you received: 14325
-
-

14 years 7 months ago [\#47440](#47440) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: "add to cart" on article page](/forum/4-how-to/32421-add-to-cart-on-article-page#47440 "Hi,  Thank you for the great shopping cart extension. I have used Virtuemart but this one is easier to use and seems more lightweight in a good way (page load speed, etc).  I wanted to know if it is possible to add code to a regular Joomla article page that includes the functionality of the &quot;add to cart&quot; button. For example, if a user selected this button it would take them to the checkout page (same as if they clicked the &quot;add to cart&quot; button). This would reduce the number of clicks to order an item in my particular case.  I am also putting a real life example here for the flow just in case my description above is not clear.  Example.  On this page:   www.slicesocialmedia.com/en/search-engine-optimization-intro  -- when a user clicks on &quot;buy now&quot; button I would like it to got to this page:   www.slicesocialmedia.com/en/courses/checkout  -- (the checkout page)  Right now the button goes to the product order page (  www.slicesocialmedia.com/en/courses ) and the user has to then select &quot;add to cart&quot; to advance to the order/form page.")*

No that's not possible.

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

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

Less More

- Posts: 3
- Thank you received: 0
-
-

14 years 7 months ago [\#47473](#47473) by [kevinSom](/forum/user/7093-kevinsom "View kevinSom's Profile")  Replied by *[kevinSom](/forum/user/7093-kevinsom "View kevinSom's Profile")* on topic *[Re: "add to cart" on article page](/forum/4-how-to/32421-add-to-cart-on-article-page#47473 "Hi,  Thank you for the great shopping cart extension. I have used Virtuemart but this one is easier to use and seems more lightweight in a good way (page load speed, etc).  I wanted to know if it is possible to add code to a regular Joomla article page that includes the functionality of the &quot;add to cart&quot; button. For example, if a user selected this button it would take them to the checkout page (same as if they clicked the &quot;add to cart&quot; button). This would reduce the number of clicks to order an item in my particular case.  I am also putting a real life example here for the flow just in case my description above is not clear.  Example.  On this page:   www.slicesocialmedia.com/en/search-engine-optimization-intro  -- when a user clicks on &quot;buy now&quot; button I would like it to got to this page:   www.slicesocialmedia.com/en/courses/checkout  -- (the checkout page)  Right now the button goes to the product order page (  www.slicesocialmedia.com/en/courses ) and the user has to then select &quot;add to cart&quot; to advance to the order/form page.")*

Damn, that's disappointing. Why are things not simple? I guess I'll have to look at other carts.

Thanks for your help

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

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