SEF problems with hikashop modules

  • Posts: 3
  • Thank you received: 0
10 years 7 months ago #151097

-- url of the page with the problem -- : www.demeisjes.com
-- HikaShop version -- : HikaShop Essential: 2.3.0
-- Joomla version -- : 3.2.3
-- PHP version -- : 5.3.27
-- Browser(s) name and version -- : does not apply
-- Error-message(debug-mod must be tuned on) -- : Querie warnings about zones and discount: JViewLegacy::assignRef is deprecated and session warning: JError::getErrors() is deprecated

My problems are that:

  1. Hikashop does not use the checkout SEF name as set in Hikashop configuration
  2. There are as many checkout urls as there are categories.
  3. [li[The SEF urls from the homepage module only uses: category_root/product/product_name where i woul like to see category/subcategory/product/product _name

Examples for checkout:

When i click the basket button on the home page (or any other joomla content item) the checkout url is: www.demeisjes.com/component/hikashop/checkout
When i click the button on /curiosa/keukengerei the checkout url is: www.demeisjes.com/curiosa/keukengerei/checkout

I would like one checkout url and i want Hikashop to use the SEF name from the HIkashop configuration.(afrekenen)

Examples for the content module on the homepage:

www.demeisjes.com/artikelen/artikel/vilten-muis should be www.demeisjes.com/craft/vilten-dierfiguren/artikel/vilten-muis

The problem seems to be the fact that SEF only works for menu items and only within the Hikashop component. and Hikashop also has no menu item for the checkout page.

Can someone tell me how to accomplish less duplicate urls whthout writing redirect urls for all products and checkout pages?

Last edit: 10 years 7 months ago by postkat.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
10 years 7 months ago #151131

Hi,

HikaShop has no menu item for the checkout page by default. You need to select it if you want in the "force a menu on checkout" option of the configuration. Then, you'll always get the same URL for your checkout.

You'll find a similar "menu" option in all your Hikashop content modules when you edit the via the menu Display>Content modules which can help you direct the links of these modules to the menu item that you want so that the products links in these modules become the same as the ones in the menus.

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

  • Posts: 3
  • Thank you received: 0
10 years 7 months ago #151247

Hi Nicolas,
thanks for the response but those option are not the solution for the multiple checkout urls.
and do you have a solution for the translation problem?

nicolas wrote: HikaShop has no menu item for the checkout page by default. You need to select it if you want in the "force a menu on checkout" option of the configuration. Then, you'll always get the same URL for your checkout.

And what menu item should i choose then? since there is no hikashop default menu item for checkout.. I tried an external url: index.php?option=com_hikashop&view=checkout but that doesn't work and cause errors.

You'll find a similar "menu" option in all your Hikashop content modules when you edit the via the menu Display>Content modules which can help you direct the links of these modules to the menu item that you want so that the products links in these modules become the same as the ones in the menus.

Nope, that doesn't work either because the content module on the front page shows products from all categories and now the link is:
www.demeisjes.com/webwinkel/artikel/zwart-emaille-melkkoker-2 where it should be:
www.demeisjes.com/brocante-curiosa/email...-emaille-melkkoker-2

The only solution there would be to create a content module for every category to show on the frontpage? not waiting for more work...

I tried sh404SEF but that doen't help....only even more work

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 7 months ago #151771

Hi,

Nicolas means that you have to create a menu for the checkout yourself and configure it in the option "force menu on checkout".
Otherwise HikaShop will redirect the user to the default url "option=com_hikashop&ctrl=checkout" but without any "ItemId" for a menu.
At this moment, the url won't be SEF "nice".

For the second, part, the best is to have a screenshot of your module configuration, to see that you have right configured the menu for the links.

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: 26
  • Thank you received: 0
10 years 7 months ago #152978

Hi,
ok, I have the same problem. Just look at it on the picture.



What do I need to do, to have link on the cart always showing to /store/checkout no matter what menu am I on?

Last edit: 10 years 7 months ago by jdoe.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
10 years 7 months ago #152996

Hi,

The forcing of the menu item should happen once you click on the link. After you click on the component/hikashop/checkout link, you should be redirected to the store/checkout page if you set the "force a menu on checkout" option to your "store" menu item.

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

  • Posts: 26
  • Thank you received: 0
10 years 7 months ago #153124

That is correct. Once you click on it, you are redirected to store menu. But is there any way of changing the link to point directly to /store/checkout and not /component/hikashop/checkout ?

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
10 years 7 months ago #153163

It's possible. In that case, you would have to edit the file "cart" of the view "product" and change all the instances of:
hikashop_completeLink('checkout'.$url_itemid)

to:
hikashop_completeLink('checkout&Itemid='.$this->config->get('checkout_itemid','0'))

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

  • Posts: 26
  • Thank you received: 0
10 years 7 months ago #153231

Excellent. Thank you!

Last edit: 10 years 7 months ago by jdoe.

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

  • Posts: 26
  • Thank you received: 0
10 years 7 months ago #153249

Under User Control panel there are 3 icons with links:
A ) Edit your account information -> link: http://mysite/component/users/profile?layout=edit&Itemid=126
B ) View your orders -> link: http://mysite/account/order
C ) Manage your addresses -> link: http://mysite/account/address


I would like to:
1) Change link of (A) to something like eg. http://mysite/account/profile, like other two. Or just lose 'component/users/' in the middle.
2) When I go to (A) I'm missing a 'Back' button, like there is one in Orders and Addresses
3) When on (A) Cancel button redirects me to my homepage (http://mysite/) instead of back to account page (http://mysite/account)

Last edit: 10 years 7 months ago by jdoe.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
10 years 7 months ago #153317

1. That's because you need to enter the id of a menu item of the type joomla profile page in the "HikaShop joomla user account link plugin" options screen via the joomla plugins manager. At the moment you have the id 126 but it's not a menu item of the correct type.

2. and 3. The profile page of Joomla is a Joomla page, not a HikaShop page so we can't add a back button there.
You'll have to edit the profile page of joomla and add such link yourself.

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

  • Posts: 26
  • Thank you received: 0
10 years 7 months ago #153384

1. Added a menu for 'Edit profile' and a menu ID to the plugin. It works now as I wanted. tnx.
2. Will see about that...

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

Time to create page: 0.086 seconds
Powered by Kunena Forum