We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34017
    • 898 Posts
    Does anyone have a copy of the demo video? It’s not working anymore.
      Chuck the Trukk
      ProWebscape.com :: Nashville-WebDesign.com
      - - - - - - - -
      What are TV's? Here's some info below.
      http://modxcms.com/forums/index.php/topic,21081.msg159009.html#msg1590091
      http://modxcms.com/forums/index.php/topic,14957.msg97008.html#msg97008
      • 36582
      • 463 Posts
      I’m having trouble getting the View Cart / Empty Cart to show - There seems to be some documentation missing as to how to handle this? I’ve tried adding the div as above but still no joy. Can anybody fill me in on what seems to be missing documentation or point me in the right direction?

      Many Thanks
        Web site design in Nottingham UK by Chris Fickling http://www.chrisficklingdesign.co.uk
        • 17717
        • 433 Posts
        Hi chrisandy,

        Did you manage to get the cart showing? I have problems with it too.

        Lee
          http://www.blend.uk.com | Web Design by Blend
          • 36582
          • 463 Posts
          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`]]
            Web site design in Nottingham UK by Chris Fickling http://www.chrisficklingdesign.co.uk
            • 17717
            • 433 Posts
            Thanks for the update. I seem to have more serious problems, I got scotty to take a look, so far not figured out the problem, the cart just doesn’t work for me, very strange, not sure if it is my server.

            Can anyone post back if they have TC working with the Ubuntu server?

            Thanks
            Lee
              http://www.blend.uk.com | Web Design by Blend
              • 36582
              • 463 Posts
              First of all Scotty has done and is doing a great job with this - it’s a pretty compact and straightforward app when you spend a little time reading things through and watching the videos which are extremely helpful.

              The only problem I have is with the paypal side of things. The sandbox is a nightmare so testing is difficult. TreasureChest seems to do its part right but has anybody out there had any luck with setting up different shipping costs in Paypal UK?

              I’m getting confused by the whole paypal thing I must admit!
                Web site design in Nottingham UK by Chris Fickling http://www.chrisficklingdesign.co.uk
                • 1828
                • 137 Posts
                Chris - I agree entirely with those sentiments. smiley

                I’ve had very similar teething issues with a site using TC and PayPal Australia. Gave up on the PP sandbox (and the beta sandbox, for that matter!) and resorted to using live PP account for testing. rolleyes

                Ultimately, neither me nor Scotty could get the PDT data to show up on the return page. I’ve now given up hope of this working (for the moment) and this site will have to make do with a generic "thanks for the purchase" message.

                Anton
                  • 36582
                  • 463 Posts
                  HI Anton,

                  I did finally get the paypal sandbox working! As I said to Scotty - I don’t know how! It just started working.

                  The PDT thing - what placeholders are supposed to be in that page?

                  The only other issue I have is with the inventory - would be nice if something like this could be included:
                  [[treasureChest? &item=`#` if inventory=0 then unpublish document]]

                  As you can tell I’m a designer and not a PHP wizard wink

                  Anybody? I would happily pay for a resolution to these issues.

                  Anton - did you manage to sort out different shipping costs?
                    Web site design in Nottingham UK by Chris Fickling http://www.chrisficklingdesign.co.uk
                    • 1828
                    • 137 Posts
                    Quote from: chrisandy at Apr 21, 2008, 04:05 AM

                    The PDT thing - what placeholders are supposed to be in that page?
                    I copied and pasted this from Scotty’s demo site (he gave me a manager login):

                    [!TreasureChest? &service=`pdt`!]
                    <div id="post-payment">
                        <p><strong>Payment Details:</strong></p>
                        <p>Name: [+treasure.first_name+] [+treasure.last_name+]</p>
                        <p>Order: [+treasure.products+]</p>
                        <p>Total: $[+treasure.mc_gross+]</p>
                        <p>Payment Status: [+treasure.payment_status+]</p>
                        <p>[+treasure.login+]</p>
                    </div>
                    


                    However, it refuses to work for me or Scotty (on my client’s site). PayPal returns the shopper to the page fine but no receipt data is displayed.

                    Anton - did you manage to sort out different shipping costs?
                    Haven’t had to jump that hurdle just yet. I believe it isn’t possible with TC v1, but Scotty was thinking about it for TC v2.

                    Anton
                      • 36582
                      • 463 Posts
                      HI Anton, Scotty,

                      Your PDT call worked for me.

                      I set up the sandbox accounts making sure that the email address in TC matches with the seller sandbox account, and the PDT token is from that account, and also that I have the email address and password for the buyer at hand. I take the sale through to paypal and log-in with the buyer details (it won’t let you do it any other way) then add card details from the buyer sandbox account - all goes through and when done takes me back to my page with the payment details in place.

                      I hope somewhere along the line that helps?
                        Web site design in Nottingham UK by Chris Fickling http://www.chrisficklingdesign.co.uk