Checkout URL does not follow SEF configuration
12 years 4 months ago #163596
by Ch3vr0n
Checkout URL does not follow SEF configuration was created by Ch3vr0n
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
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.
12 years 4 months ago #163620
by Xavier
Replied by Xavier on topic Checkout URL does not follow SEF configuration
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".
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.
12 years 4 months ago - 12 years 4 months ago #163713
by Ch3vr0n
Replied by Ch3vr0n on topic Checkout URL does not follow SEF configuration
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
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: 12 years 4 months ago by Ch3vr0n.
Please Log in or Create an account to join the conversation.
12 years 4 months ago #163748
by nicolas
Replied by nicolas on topic Checkout URL does not follow SEF configuration
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.
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.
12 years 4 months ago #163839
by Ch3vr0n
Replied by Ch3vr0n on topic Checkout URL does not follow SEF configuration
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.
12 years 4 months ago #163851
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Checkout URL does not follow SEF configuration
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,
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.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 43
- Thank you received: 1
11 years 3 months ago #211552
by eduarddimitrov
Replied by eduarddimitrov on topic Checkout URL does not follow SEF configuration
@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!
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.076 seconds