Checkout URL does not follow SEF configuration

  • Posts: 259
  • Thank you received: 10
10 years 4 months ago #163596

So here's the issue. First some basic info.

SEF settings:

simplified breadcrumbs: yes
remove prod & cat id: yes
automatic alias: yes
activate short url: yes
category SEF name: cat
product SEF name: prod
checkout SEF name: afr
canonical url: no, create url

When navigating through the categories to the final product page the url is correctly as follows

http://<domain>/nl/<menuname>/prod/<productname>.html

now the issue. When clicking in the cart on "proceed to checkout" the url changes to

http://<domain>nl/component/hikashop/checkout.html?Itemid=101

Shouldn't that be as follows

http://<domain>/nl/checkout.html

so lose the "component/hikashop" and ?itemid=101

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

  • Posts: 13201
  • Thank you received: 2322
10 years 4 months ago #163620

Hi,

You can potentially create a new menu, no matter what kind of menu it is, just name it "checkout" and then in Configuration > Checkout select this menu for the option "Force a menu on checkout".

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

  • Posts: 259
  • Thank you received: 10
10 years 4 months ago #163713

doesn't that kind of defeat the whole purpose of the SEF settings? Plus it clutters up the website with a menu that's not used

what i've also noticed is that after clicking on a product name in the cart when the url has changed to <domain>/component/hikashop/.... the product url matches that logic and becomes <domain>/component/hikashop/prod/<productname>.html?ItemID=101

which is far from SEF

Last edit: 10 years 4 months ago by Ch3vr0n.

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

  • Posts: 82910
  • Thank you received: 13379
  • MODERATOR
10 years 4 months ago #163748

First, the whole purpose of the sef settings are not to force the current menu item of the checkout, that's actually the whole purpose of the option Xavier talked about, so no.
And second, it doesn't clutter up the website with a menu that's not used because a, you can create it in a menu that is not displayed like the "HikaShop hidden menus" menu, and b, it is used since you use it for the checkout process.

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

  • Posts: 259
  • Thank you received: 10
10 years 4 months ago #163839

so there's no way to have the /component/hikashop removed from the url and follow the same SEF settings? I know the menu isn't used or shown on the front end, i meant on the backend

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

  • Posts: 26159
  • Thank you received: 4028
  • MODERATOR
10 years 4 months ago #163851

Hi,

Please re-read the previous messages.

You can read documentation about the Joomla SEF system and the "itemId", it will help you to understand why some url are right sef and other not.

What Nicolas told you, is to use HikaShop menu for your HikaShop stuff.
If you use a "target menu" in a product listing module which is not an HikaShop menu, the SEF url will be a bad one.
If you use HikaShop menus, it will be nice and cool url.

Same way for the checkout. Please use a HikaShop menu and the option "force menu for checkout".

There is a way, Xavier and Nicolas told you how. Now you should try and see the nice result you can have.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 43
  • Thank you received: 1
9 years 3 months ago #211552

@Jerome, you must say clear how to do this. After couple minutes, I now know what must be settings:

1. Joomla menu manager -> Create menu to checkout page.
2. Hikashop - Configuration -> Checkout -> Force a menu on the checkout -> select menu
2. Hikashop - Configuration -> Features -> Checkout SEF name -> field must be clear!

The following user(s) said Thank You: nicolas

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

Time to create page: 0.075 seconds
Powered by Kunena Forum