We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26140
    • 11 Posts
    I am generating some errors when I try to validate my sample product page:
    It looks phpThumb.php is not handling ampersands properly?

    http://hostverde.com/hosting-plans/domain_id_2.html

    Errors found while checking this document as XHTML 1.0 Strict!
    Result: 6 Errors, 6 warning(s)

    http://validator.w3.org/check?uri=http://hostverde.com/hosting-plans/domain_id_2.html;accept=application/xml,application/xhtml%2Bxml,text/html;q%3D0.9,text/plain;q%3D0.8,image/png,*/*;q%3D0.5;accept-language=en-US,en;q%3D0.8;accept-charset=ISO-8859-1,utf-8;q%3D0.7,*;q%3D0.3

    Validation Output: 6 Errors

    Line 70, Column 227: cannot generate system identifier for general entity "w"
    …umb/phpThumb.php?src=../product.png&w=100&f=png" alt="Domain Registration (.c

    This is what I have in the relevant part of my template:

    <!-- body div class="col1" start -->
    <div class="col1">
    <!-- Column 1 start -->
    <div id="content">
    <div id="content-main">
    <div id="treasure_cart">
    [!TreasureChest? &item=`[*itemId*]`!]
    </div>
    [*content*]
    </div>
    </div>
    <!-- Column 1 end -->
    </div>
    <!-- body div class="col1" end -->

    In the product page:
    [[TreasureChest? &item=`2`]]
    <div class="product-wrap">

    <div class="product-image">
    [+treasure.image.thumb.thickbox+]
    </div>

    <div class="product-info">
    <h3 class="product-name">[+treasure.item_name+]</h3>
    <h4 class="product-about">Description</h4>
    <p class="product-about">[+description+]</p>
    <h4 class="product-ingredients">Information</h4>
    [+introtext+]
    <h4 class="product-price">Price per year</h4>
    <p class="product-price">$ [+treasure.amount+]</p>


    <p class="product-add">[+treasure.add+]</p>
    </div>

    <br class="clear" />
    </div>

    Click on the validation button in the footer and replicate the errors.

    Also I want to properly style the following elements when there are items in the shopping cart at the top of the content area in the middle colums:

    View Cart2Empty Cart

    The relevant elements are the:
    class thickbox tc_view
    <span class="tc_cart_view_text">View Cart</span>
    <span class="tc_cart_count_"></span>
      • 7455
      • 2,204 Posts
      I have the cart setup but I like paypall to be in english but somhow its redirecting me to a dutch page why is that?

      I can not find it in paypall or in the settings from trasurechest:

      http://cisterngauges.com/14

      does any of you get the paypall page in english?

      Dimmy
        follow me on twitter: @dimmy01
        • 26435
        • 1,193 Posts
        Quote from: Dimmy at Jul 22, 2009, 11:13 AM

        does any of you get the paypall page in english?

        Dimmy

        No, I get redirected to paypal.com/nl/cgi-bin...
        I am loading your page from an IP in the US.
          Husband, Father, Brother, Son, Programmer, Atheist, Nurse, Friend, Lover, Fighter.
          All of the above... in no specific order.


          I send pointless little messages
          • 7455
          • 2,204 Posts
          Thanks scotty, does any of you know how to fix this?
          it is account related I think but I cant find the setting in paypall.

          [edit]

          Ok I fount the way to change this
          edit the treasurechest.class.php
          search for:
          <input type="hidden" name="cmd" value="_cart" />
          and add this line below (for english)
          <input type="hidden" name="lc" value="US" />

          maybe this can be an new setting in the module?
          [/edit]

          Dimmy
            follow me on twitter: @dimmy01
            • 26435
            • 1,193 Posts
            Quote from: Dimmy at Jul 23, 2009, 04:25 PM

            Ok I fount the way to change this
            edit the treasurechest.class.php
            search for:
            <input type="hidden" name="cmd" value="_cart" />
            and add this line below (for english)
            <input type="hidden" name="lc" value="US" />

            Nicely done Dimmy
              Husband, Father, Brother, Son, Programmer, Atheist, Nurse, Friend, Lover, Fighter.
              All of the above... in no specific order.


              I send pointless little messages
              • 8168
              • 1,118 Posts
              I am a designer and attempting to integrate Treasure Chest into my site. Are there any templates out there which i can look at and rework to suit my needs? I can get my products listed on a page - but cant get the cart section to work, with items being added and then managed etc. It looks like a great tool but so little documentation around to support it! Really hope someone can help out!

              One other thing - why is there no product description field in the back-end manager? Surely this is something that needs to be part of the system?

              Thanks so much guys! Hope to get a solution sorted soon!
                • 14472
                • 2 Posts
                I am trying to set up TC with no success huh I have followed everything on the TC documentation with no luck. Is there a more comprehensive setup guide? Thanks
                  • 30498
                  • 30 Posts
                  Cart links just won’t show.

                  The problem seems to be related with a js error firefox reports on product page load:

                  "missing ) in parenthical" line 16 treasurechest.js

                  Re uploaded treasurechest.js but still no dice.

                  Any suggestions?

                  edit: i used a clean basic html template with no js at all for the product page.
                    • 15001
                    • 697 Posts

                    @John Doe: Treasure Chest works fine. Have a look at Terry Barth’s notes on TreasureChest (http://www.terrybarthdesign.com/terrys-notes-on-treasure-chest-11_08_08). They helped me.
                    Also don’t forget to set TreasureChest with the token (i.e. a long alphanumeric string) that PayPal gives you. It is not obvious to find as it is a bit "lost" in the many pages of your PayPal account.

                    I assume you’re testing with the PayPal Sandbox; so don’t forget to set Treasure Chest in sandbox mode. You’ll also have to set many things in your Sandbox account with your test seller account and your test buyer accounts, like confirming the credit card, confirming your email, a.s.o.
                    Although all this is emulated, the PayPal Sandbox works exactly the same as the real PayPal environment. This explains why you have to confirm many things as if you were setting real PayPal accounts.
                    Also don’t forget that the sandbox email arrives in a virtual mailbox located in the Sandbox environment. It took me a while to understand how all this works.

                    @Towila: I had no problem with the cart links. They were displayed correctly.

                    @John, Towila, and all: If needed, I can provide some consulting on setting up Treasure Chest, including implementing translations in languages other than English.

                    Regards

                    Julien
                      • 21121
                      • 9 Posts
                      Quote from: enderSFTD at Apr 07, 2009, 09:28 PM


                      I have installed TC perfectly following instructions 100%.


                      Thanks
                      Daniel


                      Any chance you can shed some light on the subject and tell us how exactly you got it to work, or at least show up?