Skip to main content

Internal links not working in T&Cs popup

11 years 1 day ago #220350 by tidosho
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.5
-- Browser(s) name and version -- : Chrome

I tried changing between Inherit, mootools and bootstrap popup mode (for Hikashop) but in all cases the Terms & Conditions popup modal in the checkout doesn't scroll down to anchors further down its page when clicking on a HREF internal link. Is this expected?

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

11 years 1 day ago #220373 by nicolas
Hi,

inherit is basically the same as bootstrap. And they require that the template supports bootstrap.
Mootools popups should work, but they won't if there is some kind of javascript error on the page.
Do you see any error via your browser's console on that page with mootools popups ?
What is the error ?
Could you give a link to your shop so that we could see that ?

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

10 years 11 months ago #220864 by tidosho
Hi Nicolas:

Thanks for responding and sorry for my delay. You'r right - there is a Javascript error:

Mixed Content: The page at 'https://localhost/joomla25/buy/checkout/checkout/task-step/step-3' was loaded over HTTPS, but requested an insecure resource 'http://localhost/joomla25/component/content/article#repair'. This request has been blocked; the content must be served over HTTPS.

I'm using Yireo SSLredirect to enforce SSL on login pages and HS pages. As well as this HTTP/HTTPS issue the URL of the requested resource 'http://localhost/joomla25/component/content/article#repair' doesn't exist. It should be 'https://localhost/joomla25/terms-conditions#repair'.

Any ideas?

Martin

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

10 years 11 months ago #220958 by nicolas
Hi,

I don't think that this is linked to the popup issue.
Usually, when the mootools popups don't work, it's a conflict issue between jquery and mootools.
The solution which often works is to install and configure the Jquery Easy plugin for Joomla that you can find on the JED.
So I would recommend trying that.
If that doesn't help, please provide a link to the shop with the popup mode set to mootools so that we can look at the issue and analyze it.
The following user(s) said Thank You: tidosho

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

10 years 11 months ago #221067 by tidosho
Mmm ... installing a global jQuery plugin sounds too risky for the relatively small issue. In the end I've added a target="blank" link back to the T&C article in the article itself, so users can escape the modal to a new browser window or tab if they want. Thx.

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

Time to create page: 0.056 seconds
Powered by Kunena Forum