#1085 Posted in ‘Route 66’

Latest post by Lefteris Kavadas on Friday, 25 August 2023 14:25 EEST

Gotmad
Hi Route 66 Team,

How are you doing? Well I hope. :)
I'm using Route 66 since 2020 and I'm really happy with your extension.

Later this week, I've sucessfully managed to migrate my Website to Joomla 4. Since then, I've noticed that my products pop-up on Hikashop (a Joomla e-commerce extension) have been disabled.

First, I thought the problem came from Hikashop but the developpers told me that "Route 66 extension compresses the HikaShop javascript, without taking into account the presence or not of the semicolon which results in an error. Because of this error, the javascript is not completely initialized on the page, which means that the popup system on the product images does not work, and it then works in "without javascript" mode.

My question is : do you think it could be possible to compress the JS correctly regardless if there is a semicolon at the end of the lines or not ?

Thank you in advance for your time and consideration. :)

Best regards,

Got

Lefteris Kavadas
Hi Got,

Route 66 does not check the javascript code for any errors. It just compress the code. So if there are missing semicolons it will break.
You have two options:

1. Add Hikashop to exclusions under the Google PageSpeed tab in Route 66 options.
2. Ask Hikashop developers to use semicolons in case the missing semicolon is from their extension. Semicolons are not required but are a considered a good practice to avoid issues like this one.

Regards

Note: An active subscription is required in order to get support for our paid extensions. For our free extensions, if you don't have an account, register and then submit your support request.  In case you just want to ask a question, you can also use the contact form .

Firecoders
Are you using our extensions? Please post a review at the Joomla extensions directory!
Post a review