-
☆ A M B ☆
- 2,475 Posts
Ok. Cool. Sorry I’m so dense, but could you outline EXACTLY what you are doing on that page and what you expect to happen? The only relevant thing I see on that page is a link named "Add to Cart" pointing to "#"... which does nothing (as one would expect). Thanks for elaborating.
No problem, thanks for taking the time to help.
The page is a pretty basic product page. You click the add item link to activate the [+treasure.add+] and consequent function. This adds the item to the basket displayed in the upper right hand corner – once the link is clicked, the item is added to the basket and the basket area should display an item counter.
In the pages main content I am using the standard call:
[[treasureChest? &item=`1`]]
In the page template I call a chunk, the content of which is:
<div id="product">
<div id="productimage">[+treasure.image.thumb.thickbox+]</div>
<div id="productcontent">
<div id="producttitle"><h4>[+treasure.item_name+]</h4></div>
<div id="productdescription">[*#productinfo*]</div>
<div id="productprice">£[+treasure.amount+]</div>
<div id="add">[+treasure.add+]</div>
</div>
</div>
The [+treasure.add+] should add the item to the cart but instead the link just “#”.
This one has me stumped. If you need me to explain anything else about the site then I will be happy to.
Thanks in advance.