Hi,
I hope I’m in the right place to post this. If not, please let me know.
I have got TreasureChest installed and it’s working. I like it a lot. However, I have now been stuck for several hours. The "add to cart" link doesn’t do anything. What makes it hard to troubleshoot this, is that I don’t really understand what it’s supposed to be doing in the first place. The link has an onclick that does "return false". I don’t get how that could possibly do anything, but I have checked Scotty’s example on the treasurechest site (
http://treasurechestcart.com/demo-product1.html) and the html for its "add to cart" link looks just like mine, so I guess the problem lies elsewhere.
I should mention that I have edited the treasurechest.class.php and the snippet, so that multiple items can be displayed on one page, without there being separate pages for those articles. I got that to work but maybe I’ve knocked something over in the process. I now have a page with three items on it, which each have their own "add to cart" link. Maybe that is not possible?
I can see treasurechest.js is in the header of the page which has the items on it. I guess a function in that script needs to be called? But how? Can someone point me in the right direction?