We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8425
    • 159 Posts
    Hi,
    I’m trying to use images instead of text for the TreasureChest buttons. I tried few things like inserting image code directly into the text space but it didn’t work.
    I don’t have access to the javascript source for the treasurechest.js only the compiled version. Where can I get it and what should I update? I checked this post but it’s not clear which file is being referred to.

    http://modxcms.com/forums/index.php/topic,24529.0.html

    Thanks in advance...
      • 8425
      • 159 Posts
      I figured it out for the Add Cart.
      I used:
      <p class="productAdd"> <a href="#" onclick="return false;"  class="addChest" title="[+treasure.item_name+]" name="[+treasure.item_number+]" rel="id">
      <img style="border: 0pt none;" src="assets/images/add-to-cart.jpg" alt="Add to cart" width="85" height="25" /> </a></p>
       

      But I still need help for the View Cart and Empty.
      Thanks for sharing