Hi Lee,
I did get it working - I think it was this:
You must have at least one place holder in your cart doc. You must have a PDT page in place and you must have this specified in the configuration. You must specify an id or class for this element where you need it to show - I think Scotty uses something like .treasure_cart as a default.
I’m not saying all of the above is true but that’s what made it work for me.
The "view cart / empty cart" will only show when you have actually added something to the cart.
I’m now stuck with trying to get the "view cart / empty cart" to stay on screen when I navigate away from a page that doesn’t have a treasurechest snippet call - the treasure chest site says:
global
The `global` service registers the shopping cart javascript ONLY if it is not already registered. This is very useful in the head of your template so that when your customers are shopping at your site, the View Cart links are still present on pages that do not have a TreasureChest snippet call in their content. This service will only load the javascript if there is not another TreasureChest snippet call on the page so the javascript will only be placed in the head ONCE. An example cart call would look like this
[[treasureChest? &service=`pdt`]]
But I can’t get it to work - Just messes my site up - so if you have any joy....
Ok if anybody else gets this then the correct call in the head section of your document should be:
[[treasureChest? &service=`global`]]