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

#   Redirect to a custom URL the ADD\_TO\_CART

##

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

Less More

- Posts: 8
- Thank you received: 1
-
-

11 years 8 months ago -  11 years 8 months ago [\#188772](#188772) by [mm.carier](/forum/user/34358-mm-carier "View mm.carier's Profile")  *[Redirect to a custom URL the ADD\_TO\_CART](/forum/25-install-update/874631-redirect-to-a-custom-url-the-add-to-cart#188772 "-- Joomla version -- : 3.0 -- PHP version -- : 5.5  Hi  I would like to redirect the ADD&#95;TO&#95;CART input button to a URL like http://127.0.0.32/ma-commande instead of http://127.0.0.32/redirection-panier/checkout and keep the functionnality of adding products in the cart  I already forced the menu in the hikashop menu.  Thanks  Marie")* was created by *[mm.carier](/forum/user/34358-mm-carier "View mm.carier's Profile")*

-- Joomla version -- : 3.0
-- PHP version -- : 5.5

Hi

I would like to redirect the ADD_TO_CART input button to a URL like **http://127.0.0.32/ma-commande** instead of **http://127.0.0.32/redirection-panier/checkout** and keep the functionnality of adding products in the cart

I already forced the menu in the hikashop menu.

Thanks

Marie

Last edit: 11 years 8 months ago by [mm.carier](/forum/user/34358-mm-carier "View mm.carier's Profile").

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

11 years 8 months ago [\#188781](#188781) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Redirect to a custom URL the ADD\_TO\_CART](/forum/25-install-update/874631-redirect-to-a-custom-url-the-add-to-cart#188781 "-- Joomla version -- : 3.0 -- PHP version -- : 5.5  Hi  I would like to redirect the ADD&#95;TO&#95;CART input button to a URL like http://127.0.0.32/ma-commande instead of http://127.0.0.32/redirection-panier/checkout and keep the functionnality of adding products in the cart  I already forced the menu in the hikashop menu.  Thanks  Marie")*

Hi,

Create a menu item of the type "hikashop checkout" and set its alias to "ma-commande" and then select it in the "force a menu on checkout" option of the HikaShop configuration and you should get that behavior.
If you still have the "checkout" text added at the end, it comes from the "SEF checkout name" option of the HikaShop configuration that you want to empty.

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

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

Less More

- Posts: 8
- Thank you received: 1
-
-

11 years 8 months ago [\#188946](#188946) by [mm.carier](/forum/user/34358-mm-carier "View mm.carier's Profile")  Replied by *[mm.carier](/forum/user/34358-mm-carier "View mm.carier's Profile")* on topic *[Redirect to a custom URL the ADD\_TO\_CART](/forum/25-install-update/874631-redirect-to-a-custom-url-the-add-to-cart#188946 "-- Joomla version -- : 3.0 -- PHP version -- : 5.5  Hi  I would like to redirect the ADD&#95;TO&#95;CART input button to a URL like http://127.0.0.32/ma-commande instead of http://127.0.0.32/redirection-panier/checkout and keep the functionnality of adding products in the cart  I already forced the menu in the hikashop menu.  Thanks  Marie")*

Ok thanks.

But I want to add a module on the page http://127.0.0.32/ma-commande and I don't want the module to appear on pages : http://127.0.0.32/ma-commande/task-step/step-1
http://127.0.0.32/ma-commande/task-step/step-2

Can we do that without going in the code ?

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

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

Less More

- Posts: 8
- Thank you received: 1
-
-

11 years 8 months ago [\#188955](#188955) by [mm.carier](/forum/user/34358-mm-carier "View mm.carier's Profile")  Replied by *[mm.carier](/forum/user/34358-mm-carier "View mm.carier's Profile")* on topic *[Redirect to a custom URL the ADD\_TO\_CART](/forum/25-install-update/874631-redirect-to-a-custom-url-the-add-to-cart#188955 "-- Joomla version -- : 3.0 -- PHP version -- : 5.5  Hi  I would like to redirect the ADD&#95;TO&#95;CART input button to a URL like http://127.0.0.32/ma-commande instead of http://127.0.0.32/redirection-panier/checkout and keep the functionnality of adding products in the cart  I already forced the menu in the hikashop menu.  Thanks  Marie")*

I just found a solution!

1. First, I created a new menu link. And the type is an "Article". And I the parent link is the ma-commande menu. And I changed the alias.
[ ![1.jpg](/forum/attachment/22050) ](/forum/attachment/22050 "1.jpg")

2. Then in that menu I assigned it to a new template (or I could assign a new module).

- [ ![1.jpg](/forum/attachment/22050) ](/forum/attachment/22050 "1.jpg") [ ](/forum/attachment/22050?download=1 "1.jpg")

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

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

[](#top)
