Redirect to a custom URL the ADD_TO_CART

  • Posts: 8
  • Thank you received: 1
10 years 4 months ago #188772

-- 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: 10 years 4 months ago by mm.carier.

Please Log in or Create an account to join the conversation.

  • Posts: 83894
  • Thank you received: 13580
  • MODERATOR
10 years 4 months ago #188781

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 or Create an account to join the conversation.

  • Posts: 8
  • Thank you received: 1
10 years 4 months ago #188946

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 or Create an account to join the conversation.

  • Posts: 8
  • Thank you received: 1
10 years 4 months ago #188955

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.



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

Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.089 seconds
Powered by Kunena Forum