...../checkout/checkout ?

  • Posts: 2143
  • Thank you received: 747
9 years 5 months ago #205143

-- url of the page with the problem -- : the one leading to checkout
-- HikaShop version -- : sometime before 2.5.0
-- Joomla version -- : any compatible with the above
-- PHP version -- : ditto
-- Browser(s) name and version -- : any and all of them
-- Error-message(debug-mod must be tuned on) -- : nope

Hi,

I notice not only since 2.5.0 that the URL to checkout always gets "/checkout" added to whatever the menu item alias is. Is that necessary? It can lead to a "stuttering" URL :S if one has (like me and many, many others, I bet):

  • a (hidden) menu item with alias "checkout"
  • this menu item forced on the checkout
  • URL rewriting on
As we all know, the result is what's here above in the subject line. Somehow I had hoped it would end with 2.5.0.
Sure, I could use a different alias, but I can't think of a better one to make it looking a bit less :sick:, and it seems unnecessary anyway as I do remember times when this didn't occur. With due respect for all the many other improvements - how to go back to "normal"? Or is there a life-threatening reason making it necessary to force this "suffix" onto a forced alias?

Thanks!


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Last edit: 9 years 5 months ago by lousyfool.

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

  • Posts: 82864
  • Thank you received: 13372
  • MODERATOR
9 years 5 months ago #205229

Hi,

I don't remember that we changed anything regarding the checkout SEF URL processing in the 2.5.0
Did you empty the "SEF checkout name" setting of your HikaShop configuration ?

The following user(s) said Thank You: lousyfool

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

  • Posts: 2143
  • Thank you received: 747
9 years 5 months ago #205267

nicolas wrote: Did you empty the "SEF checkout name" setting of your HikaShop configuration ?


Dang! With that field empty it works as expected!

Sorry for overlooking it, and thanks for the hint!


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

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

  • Posts: 200
  • Thank you received: 75
7 years 3 months ago #275136

Hi,

I hope it's no problem to continue this older thread, we seem to have a similar issue and can't figure it out. In our configuration we always had the "Checkout SEF name" empty in order not to get the url ".../checkout/checkout" because we also already have a forced hidden menu with alias "checkout", just like lousyfool above.

But after updating to Hikashop 3 with all legacy settings set to No (also just tried with latest 3.1.1 [1707282317]) it doesn't work anymore. We can see it stops working when we change the forced checkout menu type from "Checkout (Legacy)" to "Checkout".

- With menu set to "Checkout" Hikashop seems to ignore our empty SEF name field and will always append "/checkout" to the url, resulting in ".../checkout/checkout" which we don't want.
- Setting the menu type back to "Checkout (Legacy)" the url correctly becomes ".../checkout" again, but we would like to use the new HS3 checkout with all legacy settings off and to prevent 403 errors we can't use this menu type.


Can you reproduce the issue, or are we overlooking something? Thanks for any help!

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

  • Posts: 82864
  • Thank you received: 13372
  • MODERATOR
7 years 3 months ago #275151

Hi,

We were indeed able to reproduce the problem. I've added a patch on our end for that.
Download the install package on our website and install it on yours and you'll get the patch for it.

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

  • Posts: 200
  • Thank you received: 75
7 years 3 months ago #275177

Hi,

I just downloaded and installed the latest version 3.1.1 [1707282317] but I don't notice any difference, the url is still ".../checkout/checkout" like before.
I got the latest version from the website today on August 2nd, but I noticed the version number seems to indicate the download package is still from September 28th, so not sure if your patch is included?

Thanks for looking into it.

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

  • Posts: 82864
  • Thank you received: 13372
  • MODERATOR
7 years 3 months ago #275178

Hi,

Sorry for that. I forgot to upload the new build packages yesterday as I got distracted and forgot about it.
I've uploaded them just now.

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

  • Posts: 200
  • Thank you received: 75
7 years 3 months ago #275192

No problem, just downloaded it and it fixed the url for the checkout, thanks!

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

  • Posts: 200
  • Thank you received: 75
7 years 3 months ago #275199

Ai, sorry I spoke too soon, it doesn't seem to work entirely correct yet.
The patch works for the first page of the checkout, the url is as we want www.ourwebshop.com/checkout .
But when we go to the next steps of our checkout, it still adds checkout a second time in the url: www.ourwebshop.com/checkout/checkout/show/cid-2 .

Can it also be fixed to prevent this second checkout in the url after the first step?
Thanks again!

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

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

Hello,

Thanks for the report.
We performed a deep investigation and we saw that some modification in the router and in the checkout controller/helper would be require to be able to remove safely the second "checkout". Because the task is "show" and there is a "cid", removing "checkout will in fact give a "category" page instead of the checkout.

But we will work on that to provide nicer URL in the next HikaShop release.

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: 200
  • Thank you received: 75
7 years 2 months ago #278009

Hi Jerome,

we updated to 3.2.0 though unfortunately we still have /checkout/checkout in our url.
We saw in the Change Log this was mentioned among the 3.2.0 bug fixes, but we don't see any change. When we leave the Checkout SEF Name field empty, Hikashop will still add an additional "checkout" to the url.

Kind regards,

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 2 months ago #278020

Hello,

HikaShop 3.2.0 contains some improvements regarding the router for the checkout context.
But we were able to remove completely the double "checkout" for all cases.
It's very complexe and it depends a lot of the Joomla router and the menu configuration.
Since Joomla will get a new routing system very soon (big feature of Joomla 3.8.0) ; it is safer to wait for it.

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: 1119
  • Thank you received: 114
5 years 11 months ago #301723

Hi,

I am the only one who still has this issue? Did someone look into it?

Thanks

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

  • Posts: 82864
  • Thank you received: 13372
  • MODERATOR
5 years 11 months ago #301743

Hi,

If you read this thread, you can see that we added some fix for that.
So you shouldn't have the problem. Maybe you have it but the cause is different than others who had the problem before, which would explain why the patch we had added isn't working for you. In that case, we would need more information on your settings, how to reproduce, etc in order to look into it.

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

  • Posts: 1119
  • Thank you received: 114
5 years 11 months ago #301757

Hi,

There is nothing special. There is no issue on first step but on any other it adds "checkout" to the url. So if you have menu item hikashop->checkout and named in "checkout" then on step 2 you have url like this "mysite/checkout/checkout/show/cid-2

Similar as GW said:

""Ai, sorry I spoke too soon, it doesn't seem to work entirely correct yet.
The patch works for the first page of the checkout, the url is as we want www.ourwebshop.com/checkout .
But when we go to the next steps of our checkout, it still adds checkout a second time in the url: www.ourwebshop.com/checkout/checkout/show/cid-2 .""

Thanks

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

  • Posts: 82864
  • Thank you received: 13372
  • MODERATOR
5 years 11 months ago #301768

Hi,

Thank you for the details. I was able to reproduce the issue and add some patches on our end to fix that.
However, there are several patches in several different files, and the patches are not small, so I can't add that as a hot fix. It will have to wait for the next release of HikaShop, in January.

The following user(s) said Thank You: kyratn

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

  • Posts: 2143
  • Thank you received: 747
5 years 6 months ago #306292

Hi,

J!3.9.5 / HikaShop 4.0.3: Still an issue? Or again?

Menu item:



Config:


URL:


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Attachments:
Last edit: 5 years 6 months ago by lousyfool. Reason: J!3.9.5 added

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

  • Posts: 82864
  • Thank you received: 13372
  • MODERATOR
5 years 6 months ago #306294

Hi,

It shouldn't be.
How did you configure the "checkout SEF name" setting ? Did you empty it ?
And how is configured the checkout menu item you're using ?
And which build number of the 4.0.3 are you using ?

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

  • Posts: 2143
  • Thank you received: 747
5 years 6 months ago #306309

Hi again,

1. Yes, it's empty. However, no difference if I enter "checkout", save and try again: the URL is still /checkout/checkout/.
2. It's not the "(Legacy)" version. Other than that, and alias "checkout", nothing there to configure.
3. Business : 4.0.3 [1903081604].

Thanks.


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

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

  • Posts: 4747
  • Thank you received: 644
  • MODERATOR
5 years 6 months ago #306401

Hello,

Can you provide some backend/frontend references via our Contact us form, in order to perform some test and see by ourselves, add some ftp access
so far, we don't have idea from where does your issue come from...

Note : Don't forget to add an url link to this thread to your Contact us message.

Awaiting news from you to move forward on your subject.
Regards

Last edit: 5 years 6 months ago by Philip.

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

Time to create page: 0.128 seconds
Powered by Kunena Forum