wojodesign/simplecart-js — Issue #172: ID not passed to html page
Author: antonyf
Created: 2011-12-03 09:15:52+00:00
State: open

Hi, I tried all the version of Simplecart.js... Nothing solves my issue.
If i run the simple cart on its own (direct link to the html page) the cart script works fine. But when i access it via my website. The add to cart and the cart scripts don't work.

If i use Firebug, I noticed that the ID="sx" is not passed to anything in my Shelf and cart.

I tried changing the id from "S" to something else but that didn't work either. I Dynamically populate my store, so i cannot run it in a iframe.

What can i do?

I was thinking to change the Header references to something else, but i don't know where or how or what is causing the conflicts.. MY guess is that i need to take an existing name/var somewhere and change it to something unique..

simpleCart.cartHeaders = [ "name", "item_image" , "Quantity_input" , "increment", "decrement", "Total" ];

My site relies on Heavily Javascript, and jquery...
Can anyone tell me what to change to prevent the issue?