Problem with sef

  • Posts: 98
  • Thank you received: 7
  • Hikashop Business
1 week 5 days ago #368687

-- HikaShop version -- : 6.1
-- Joomla version -- : 5.3.x
-- PHP version -- : 8.4.x

Hi!

I have a problem in my production ready shop system. I faced an issue with the sef system.

What happens?
If I click from the homepage into the cart, the URL to the checkout (from cart view) looks like this: www.domain.com/checkout/chechout/ - it doubles the "checkout".
If I click from a category or product page into the cart, the URL to the checkout (from cart view) looks like this: www.domain.com/product/chechout/ - every following step contains the product name in the url.

I think this is not so good. ;)

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

  • Posts: 84441
  • Thank you received: 13738
  • MODERATOR
1 week 5 days ago #368690

Hi,

If you haven't done it already, create a menu item of the type "HikaShop checkout".
Go to the HikaShop configuration page.
There, under the "Checkout" tab, you can select your HikaShop checkout menu item in the "Force a menu on checkout" setting:
www.hikashop.com/support/documentation/5...ml#checkout_checkout
This way, this menu item will always be used for the checkout, and there will be only one URL to access it.

Last edit: 1 week 5 days ago by nicolas.

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

  • Posts: 98
  • Thank you received: 7
  • Hikashop Business
1 week 5 days ago #368692

nicolas wrote: If you haven't done it already, create a menu item of the type "HikaShop checkout".
Go to the HikaShop configuration page.
There, under the "Checkout" tab, you can select your HikaShop checkout menu item in the "Force a menu on checkout" setting:
www.hikashop.com/support/documentation/5...ml#checkout_checkout
This way, this menu item will always be used for the checkout, and there will be only one URL to access it.


I already did!

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

  • Posts: 84441
  • Thank you received: 13738
  • MODERATOR
1 week 4 days ago #368697

Mmm. I checked your website, but I don't see what you described in your first message.
You first said:

If I click from the homepage into the cart, the URL to the checkout (from cart view) looks like this: www.domain.com/checkout/chechout/ - it doubles the "checkout".

On your homepage, if I look at the "Zur Kasse" button of the cart module, the link is /warenkorb/checkout
Then, you said:

If I click from a category or product page into the cart, the URL to the checkout (from cart view) looks like this: www.domain.com/product/chechout/ - every following step contains the product name in the url.

On your website, if I go to the menu item "Figuren > Waldifiguren" I get the URL /figuren/waldfiguren
There, the URL of the "Zur Kasse" button of the cart module is still /warenkorb/checkout
And if I open the page of a product, like /figuren/geschnitzter-holzfaeller-serie-7cm , the URL of the "Zur Kasse" button of the cart module is still /warenkorb/checkout

So the URL to access the checkout is consistent everywhere I could check on your website and it doesn't double "checkout".

So, I'm not sure what to tell you. Maybe I didn't understand what your problem is. If so, could you please try to explain again what the problem is ?

Last edit: 1 week 5 days ago by nicolas.

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

  • Posts: 98
  • Thank you received: 7
  • Hikashop Business
1 week 4 days ago #368710

I'M sorry! I translated "warenkorb" into "checkout", so this confuses you.
I created the mentioned menu (type hikashop cart) -> named as "warenkorb". Then - in the cart and checkout - the url is shown as "warenkorb" (the menu) AND "checkout" - if I understand it right, this should not happen.

But you're right, if I open the cart right from a product page there's no more wrong url. Not sure how this was fixed ... :blink:

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

  • Posts: 84441
  • Thank you received: 13738
  • MODERATOR
1 week 4 days ago #368713

Hi,

In the HikaShop configuration page, you have the "Checkout SEF name" setting to manage the second "checkout" text in the URL of the checkout. What do you have in there ?
Do you have the text "checkout" maybe ? What if you empty that setting ?

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

  • Posts: 98
  • Thank you received: 7
  • Hikashop Business
1 week 4 days ago #368716

nicolas wrote: What do you have in there ?
Do you have the text "checkout" maybe ? What if you empty that setting ?

It's already empty.

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

  • Posts: 84441
  • Thank you received: 13738
  • MODERATOR
1 week 3 days ago #368718

Hi,

I think the issue might come from a detail you missed.
I said you create a menu item of the type HikaShop Checkout, but it seems you created a menu item of the type HikaShop Cart.
In that case, HikaShop has to add the "checkout" part at the end in order to display the checkout, not the cart page.
Change the menu item type to HikaShop Checkout and it should produce the URL you want.

Last edit: 1 week 4 days ago by nicolas.

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

  • Posts: 98
  • Thank you received: 7
  • Hikashop Business
1 week 8 hours ago #368746

nicolas wrote: I think the issue might come from a detail you missed.
I said you create a menu item of the type HikaShop Checkout, but it seems you created a menu item of the type HikaShop Cart.
In that case, HikaShop has to add the "checkout" part at the end in order to display the checkout, not the cart page.
Change the menu item type to HikaShop Checkout and it should produce the URL you want.


Ah, yes! That's it! :lol: Thanks!
But ... this menu item is marked as "legacy". So the use is not the best way I guess.

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

  • Posts: 84441
  • Thank you received: 13738
  • MODERATOR
1 week 5 hours ago #368749

Hi,

You should normally find both:
i.imgur.com/jnjlbR6.png
If you don't see the "Checkout" one, it means that you have a translation override on the translation key used there.

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

Time to create page: 0.074 seconds
Powered by Kunena Forum