Wrong URL for Customer Account

  • Posts: 9
  • Thank you received: 0
7 years 3 months ago #276088

-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.6.5

I'm having the same issue as this post: www.hikashop.com/forum/2-general-talk-ab...ot-edit-profile.html

In the user control panel the Customer Account option links to /log-out/profile?layout=edit instead of the correct profile page where you can view and edit your profile.

This problem only occurs when Joomla's SEF URLs are turned on. Unfortunately I have been asked to use SEF URLs, so I need to find a fix for the issue.

I see in the post I linked to above, there is the following suggestion : "if you have provided a wrong Joomla menu, it would explain why your URL are wrong" - is this applicable to my case and what would I do with it?

Do you have any suggestions for how to fix the issue, or could you possibly give me some directions/coding to force the correct URL here?

To log in to the front end you can use the test account:
ATest
123456

I really appreciate the help, thank you.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 3 months ago #276090

Hello,

It's a Joomla routing "issue" due to the fact that Joomla will look for a valid menu to generate the URL.
It means that you have to create a Joomla menu for the profile edition so the Joomla router will give you a better URL.

Please understand that your question is outside the limit of our support.
For more details, I recommend you to see Joomla support forums.

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.
The following user(s) said Thank You: AdiS

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

  • Posts: 9
  • Thank you received: 0
7 years 3 months ago #276150

Thank you :)

So I added a User Profile menu item to my hidden menu. Which has improved things. But now the "Customer Account" button goes through to the Edit Profile page instead of the straight to the User Profile page.

Which is still a huge improvement. Thank you.

(I still want to get it right, and understand it's not a HikaShop issue, I just wanted to post my action and result for anyone else who might read this)

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 3 months ago #276152

Hello,

So you also need an hidden menu for the "user profile page".
It is the same problem but for another link.

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.

Time to create page: 0.059 seconds
Powered by Kunena Forum