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

#   Image gallery and add to cart

##

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

Less More

- Posts: 7
- Thank you received: 0
-
-

10 years 2 months ago [\#250715](#250715) by [chchdc](/forum/user/44717-chchdc "View chchdc's Profile")  *[Image gallery and add to cart](/forum/32-content-creation/886582-image-gallery-and-add-to-cart#250715 "Hi, I'me develloping a shop for photos, and I use in the site an image gallery from Yootheme. In this image gallery it is possible to add links.  My question is, there is a way to add a link &quot;add to cart&quot; without having to go to the checkout. just add the product to carte and continue shopping.  At this time I use the &quot;make link add to cate&quot; button in the product but it send me to the checkout and don't add product quatity in the quantity field.  There is a way to use this link with the JS script to add the product?  Thank you for help.")* was created by *[chchdc](/forum/user/44717-chchdc "View chchdc's Profile")*

Hi,
I'me develloping a shop for photos, and I use in the site an image gallery from Yootheme.
In this image gallery it is possible to add links.

My question is, there is a way to add a link "add to cart" without having to go to the checkout. just add the product to carte and continue shopping.

At this time I use the "make link add to cate" button in the product but it send me to the checkout and don't add product quatity in the quantity field.

There is a way to use this link with the JS script to add the product?

Thank you for help.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 2 months ago [\#250730](#250730) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Image gallery and add to cart](/forum/32-content-creation/886582-image-gallery-and-add-to-cart#250730 "Hi, I'me develloping a shop for photos, and I use in the site an image gallery from Yootheme. In this image gallery it is possible to add links.  My question is, there is a way to add a link &quot;add to cart&quot; without having to go to the checkout. just add the product to carte and continue shopping.  At this time I use the &quot;make link add to cate&quot; button in the product but it send me to the checkout and don't add product quatity in the quantity field.  There is a way to use this link with the JS script to add the product?  Thank you for help.")*

Hi,

When you get the "add to cart HTML link" in a product edition page in the backend, there is one parameter named "checkout" which is set to "1" by default.
By changing the value to "0", the redirection to the checkout will not be done.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 7
- Thank you received: 0
-
-

10 years 2 months ago [\#250890](#250890) by [chchdc](/forum/user/44717-chchdc "View chchdc's Profile")  Replied by *[chchdc](/forum/user/44717-chchdc "View chchdc's Profile")* on topic *[Image gallery and add to cart](/forum/32-content-creation/886582-image-gallery-and-add-to-cart#250890 "Hi, I'me develloping a shop for photos, and I use in the site an image gallery from Yootheme. In this image gallery it is possible to add links.  My question is, there is a way to add a link &quot;add to cart&quot; without having to go to the checkout. just add the product to carte and continue shopping.  At this time I use the &quot;make link add to cate&quot; button in the product but it send me to the checkout and don't add product quatity in the quantity field.  There is a way to use this link with the JS script to add the product?  Thank you for help.")*

Hi,
Thank you for this reply, but I tried befor and not working, it send me to the checkout page. I also tried to login before add to cart and it don't work.

There is another way to update cart without going to the checkout point?

Thank you for help
regards

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

10 years 2 months ago [\#250892](#250892) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Image gallery and add to cart](/forum/32-content-creation/886582-image-gallery-and-add-to-cart#250892 "Hi, I'me develloping a shop for photos, and I use in the site an image gallery from Yootheme. In this image gallery it is possible to add links.  My question is, there is a way to add a link &quot;add to cart&quot; without having to go to the checkout. just add the product to carte and continue shopping.  At this time I use the &quot;make link add to cate&quot; button in the product but it send me to the checkout and don't add product quatity in the quantity field.  There is a way to use this link with the JS script to add the product?  Thank you for help.")*

Hi,

You also need to add a return_url parameter to tell the system which URL you want the system to redirect to.
[ hikashop.com/forum/checkout/884288-add-t...link-return-url.html](https://hikashop.com/forum/checkout/884288-add-to-cart-link-return-url.html)

If you can add HTML, and not just a link, then you could directly add an add to cart button with the content tag system:
[ www.hikashop.com/support/documentation/1...-product-insert.html](https://www.hikashop.com/support/documentation/137-hikashop-product-insert.html)

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

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