jeudi 13 septembre 2018

Javascript / Liquid - IF ELSE Statement Error

So for some kind of reason this small script gives a small error on the frontend (it doesnt give an error in the backend). So below I have stated 3 optioncolors. Alle work fine in the frontend, but if you are on the productpage of the last stated color (in this case Green), the URL given to this div wont close after the div but it will continue on the divs below. So every div below will have that same URL instead of only the div it should be. This error doesnt occur wit the 2 other colors, so only with the last color in the script. Any idea whats going on?



Aucun commentaire:

Enregistrer un commentaire