I recently changed some stuff on my website and i have just realised that an ajax script stopped working. I paid someone to code it so i really don't know how to debug it.
First here's how it's supposed to look.
If you click on a color, an AJAX
script will call a PHP
script to check the stock status for the selected color. If the answer is positive then the script will change the tshirt image to display the appropriate color.
The script works perfectly, but as soon as I use the same script on a subdomain it doesn't work. Here's an example of the same script on a subdomain. The image won't change when a color is clicked.
I tried looking into Firefox Console but i can't find anything relevant.How can i find what's wrong ? Why the image doesn't change on the second link i provided ?