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

#   Lien html et redirection page checkout

##

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

Less More

- Posts: 46
- Thank you received: 1
-
-

11 years 1 month ago [\#215560](#215560) by [fifi84](/forum/user/8369-fifi84 "View fifi84's Profile")  *[Lien html et redirection page checkout](/forum/5-support-en-francais-french-support-/879511-lien-html-et-redirection-page-checkout#215560 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.2.7 -- PHP version -- : 5.3.10  Bonjour à tous, l' ajout d'un produit au panier à partir d'un lien html dans un article redirige vers la page checkout  Est-il possible de rester sur la même page et d'ouvrir la popup ?  Ajouter au panier  j'ai essayé de supprimer checkout=1&amp; sans résultat et checkout=0&amp; ouvre la popup mais redirige vers la ,page checkout quand même")* was created by *[fifi84](/forum/user/8369-fifi84 "View fifi84's Profile")*

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.2.7
-- PHP version -- : 5.3.10

Bonjour à tous,
l' ajout d'un produit au panier à partir d'un lien html dans un article redirige vers la page checkout

Est-il possible de rester sur la même page et d'ouvrir la popup ?

&lt;a class="hikashop_html_add_to_cart_link" href="[ xxxx.net/index.php?option=com\_hikashop&amp;c...out=1&amp;product\_id=127](http://xxxx.net/index.php?option=com_hikashop&ctrl=product&task=updatecart&quantity=1&checkout=1&product_id=127)"&gt;Ajouter au panier&lt;/a&gt;

j'ai essayé de supprimer checkout=1&amp; sans résultat et checkout=0&amp; ouvre la popup mais redirige vers la ,page checkout quand même

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

11 years 1 month ago [\#215563](#215563) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Lien html et redirection page checkout](/forum/5-support-en-francais-french-support-/879511-lien-html-et-redirection-page-checkout#215563 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.2.7 -- PHP version -- : 5.3.10  Bonjour à tous, l' ajout d'un produit au panier à partir d'un lien html dans un article redirige vers la page checkout  Est-il possible de rester sur la même page et d'ouvrir la popup ?  Ajouter au panier  j'ai essayé de supprimer checkout=1&amp; sans résultat et checkout=0&amp; ouvre la popup mais redirige vers la ,page checkout quand même")*

Bonjour,

Le paramètre "return_url" (ou "url") va permettre de définir une URL spécifique pour la redirection.
Sinon, le paramètre "checkout" permet de forcer la redirection vers le checkout, dans le cas ou ce paramètre n'est pas présent, c'est l'option HikaShop qui est utilisée.
[ www.hikashop.com/support/support/documen...onfig.html#main\_cart](http://www.hikashop.com/support/support/documentation/54-hikashop-config.html#main_cart)

Cordialement,

---

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

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

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

Less More

- Posts: 46
- Thank you received: 1
-
-

11 years 1 month ago [\#215659](#215659) by [fifi84](/forum/user/8369-fifi84 "View fifi84's Profile")  Replied by *[fifi84](/forum/user/8369-fifi84 "View fifi84's Profile")* on topic *[Lien html et redirection page checkout](/forum/5-support-en-francais-french-support-/879511-lien-html-et-redirection-page-checkout#215659 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.2.7 -- PHP version -- : 5.3.10  Bonjour à tous, l' ajout d'un produit au panier à partir d'un lien html dans un article redirige vers la page checkout  Est-il possible de rester sur la même page et d'ouvrir la popup ?  Ajouter au panier  j'ai essayé de supprimer checkout=1&amp; sans résultat et checkout=0&amp; ouvre la popup mais redirige vers la ,page checkout quand même")*

Merci Jerome

la redirection quand le panier est vide se fait sur la page d'accueil

si j'enlève le paramètre checkout dans l'url, la popup s'affiche mais en arrière plan la redirection sur checkout se fait quand même

et si je clique sur "continuer mes achats" dans la popup, celle-ci se ferme et je me trouve sur la page checkout
alors que j'aimerai que la page du lien reste (comme sur une page produit Hikashop)

Très cordialement

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODc5NTExLWxpZW4taHRtbC1ldC1yZWRpcmVjdGlvbi1wYWdlLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) 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: 86584
- Thank you received: 14325
-
-

11 years 1 month ago [\#215671](#215671) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Lien html et redirection page checkout](/forum/5-support-en-francais-french-support-/879511-lien-html-et-redirection-page-checkout#215671 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.2.7 -- PHP version -- : 5.3.10  Bonjour à tous, l' ajout d'un produit au panier à partir d'un lien html dans un article redirige vers la page checkout  Est-il possible de rester sur la même page et d'ouvrir la popup ?  Ajouter au panier  j'ai essayé de supprimer checkout=1&amp; sans résultat et checkout=0&amp; ouvre la popup mais redirige vers la ,page checkout quand même")*

Bonjour,

L'URL d'add to cart ne permet pas de faire cela.
Dans ce cas, je vous recommenderais plutot d'utiliser des tags de contenu:
[ www.hikashop.com/support/support/documen...-product-insert.html](http://www.hikashop.com/support/support/documentation/137-hikashop-product-insert.html)
Ils seront remplacés automatiquement par un bouton d'ajout au panier qui gèrera les options de la configuration HikaShop (popup, rester sur la page courante, etc).

The following user(s) said Thank You: [fifi84](/forum/user/8369-fifi84 "View fifi84's Profile")

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

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

Less More

- Posts: 46
- Thank you received: 1
-
-

11 years 1 month ago [\#215704](#215704) by [fifi84](/forum/user/8369-fifi84 "View fifi84's Profile")  Replied by *[fifi84](/forum/user/8369-fifi84 "View fifi84's Profile")* on topic *[Lien html et redirection page checkout](/forum/5-support-en-francais-french-support-/879511-lien-html-et-redirection-page-checkout#215704 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.2.7 -- PHP version -- : 5.3.10  Bonjour à tous, l' ajout d'un produit au panier à partir d'un lien html dans un article redirige vers la page checkout  Est-il possible de rester sur la même page et d'ouvrir la popup ?  Ajouter au panier  j'ai essayé de supprimer checkout=1&amp; sans résultat et checkout=0&amp; ouvre la popup mais redirige vers la ,page checkout quand même")*

Merci beaucoup Nicolas

C'est nickel !

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

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

Less More

- Posts: 25
- Thank you received: 8
-

5 years 11 months ago [\#327518](#327518) by [gabriel.robert](/forum/user/34146-gabriel-robert "View gabriel.robert's Profile")  Replied by *[gabriel.robert](/forum/user/34146-gabriel-robert "View gabriel.robert's Profile")* on topic *[Lien html et redirection page checkout](/forum/5-support-en-francais-french-support-/879511-lien-html-et-redirection-page-checkout#327518 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.2.7 -- PHP version -- : 5.3.10  Bonjour à tous, l' ajout d'un produit au panier à partir d'un lien html dans un article redirige vers la page checkout  Est-il possible de rester sur la même page et d'ouvrir la popup ?  Ajouter au panier  j'ai essayé de supprimer checkout=1&amp; sans résultat et checkout=0&amp; ouvre la popup mais redirige vers la ,page checkout quand même")*

Bonjour,

Cela fonctionne toujours aussi bien ! pratique dans l'éditeur yootheme pro builder.

Merci pour le support.

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

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