I am editing the coding for having my VirtueMart as I want, but I have broken something...
Now, the modal windows don't work.
For example, if I click into the image of a product, it doesn't open in a modal window, and it opens in a new page. Or if I click into the "Ask a question about this product" link, it doesn't work (it only works if I right-click the link and I open it in a new tab).
I have edited many things, and I don't want to start again from zero. How can I fix it?
No Vm version, No Joomla Version ? Custom template ? Lots of changes ?
The only way I see is to revert the changes until You come back to a working version. Who knows what You have changed ?
Deactivate the changed override files in Your template one by one until it works again. Maybe just the CSS files ?
regards
Jörgen @ Kreativ Fotografi
It is a good idea to make a note of each change you make when editing & developing template overrides to make it easier to work back (I assume you are editing overrides and not original VM files).
Check the browser console (F12 on PC chrome or firefox), you have certainly a javascript error.
Quote from: Studio 42 on April 01, 2018, 19:58:15 PM
Check the browser console (F12 on PC chrome or firefox), you have certainly a javascript error.
You are right! It is a Javascript error! I have check the coding and it is a problem with a third party extension. I have contacted with the developer and I am waiting for the answer. Thanks a lot!