Announcement

Collapse
No announcement yet.

Problem with my Act_ProductLine template

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Problem with my Act_ProductLine template

    Hi

    I'm having a problem with my Act_ProductLine template. I have uplaod the page to my test site but when I put a qty of 1 in the qty box and click the add to cart button I get the follwing error:

    Quantity: The quantity must be a whole number between 1 and 32767.

    Not sure why as far as I can tell 1 is a whole number. I have looked over my template but can't see what the problem is.

    Cheers

    Darren
    Darren Tickle
    http://www.funky-cards.co.uk

    Greetings cards, and gift wrap for every occasion.

    #2
    I don't think anyone will be able to help unless they can see either your site or the Product Template.

    Norman
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Sorry about that. I should have added the code to my question. The code is a follows:

      <!-- ProductLine HTML begin -->
      <!-- Insert HTML for the top of the individual product -->
      <!-- NETQUOTEVAR:INCLUDE Act_ProductSeparator.html-->
      NETQUOTEVAR:ENDSEPARATOR
      NETQUOTEVAR:PRODUCTFORMBEGIN
      <div class="ProductspageTableContent">
      <div class="ProductsBlueBoxMiddle">
      <div class="ProductsMiddleContainer">
      <h3 class="productsheading"><a name="NETQUOTEVAR:PRODUCTANCHOR" title="NETQUOTEVAR:PRODUCTNAME">NETQUOTEVAR:PRODUCTNAME</a></h3>
      <div class="ProductsMiddleImageContainer">
      <div class="ProductsMiddleImage">NETQUOTEVAR:TEMPLATEBEGINXML NETQUOTEVAR:PRODUCTIMAGE</div>
      </div>
      <div class="ProductsMiddleTextContainer">
      NETQUOTEVAR:PRODUCTDESCRIPTION
      </p>
      </div>
      </div>
      <div class="ProductsBottomImageContainer">
      <div class="ProductsBottomText">
      <p class="linkheading"><strong>Price NETQUOTEVAR:PRODUCTPRICE</strong></p>
      <p class="linkheading">NETQUOTEVAR:CARTERRORXML<!-- NETQUOTEVAR:PRODUCTQUANTITY --> Qty: <input type="text" size="4" name="Q_NETQUOTEVAR:PRODUCTREFERENCE" value="1"> <Actinic:ACTIONS>NETQUOTEVAR:ADDTOCARTBUTTON</Actinic:ACTIONS></p>
      </div>
      </div>
      NETQUOTEVAR:TEMPLATEENDXML
      NETQUOTEVAR:PRODUCTFORMEND
      NETQUOTEVAR:NEXT
      <!-- Insert HTML for the bottom of the individual product -->
      <!-- ProductLine HTML end -->

      The url for my test site is: http://www.djwade.com/acatalog/test/...niversary.html

      Cheers

      Darren
      Darren Tickle
      http://www.funky-cards.co.uk

      Greetings cards, and gift wrap for every occasion.

      Comment


        #4
        You are using

        <input type="text" size="4" name="Q_NETQUOTEVAR:PRODUCTREFERENCE" value="1">

        Instead of

        NETQUOTEVAR:PRODUCTQUANTITY

        While this works OK with normal products you have a Duplicate product here.

        Your original product reference is CGANN01 but Actinic uses 1!CGANN01 as the refence for the 1st duplicate (and 2!CGANN01 for the 2nd, etc). It looks like the NETQUOTEVAR:PRODUCTREFERENCE is not being correctly generated.

        I'd consider this an Actinic bug and hope they fix it. Or create a new NETQUOTEVAR containing the true reference.

        Norman

        P.S. You could use the original NETQUOTEVAR:PRODUCTQUANTITY and modify it in design / text if you need some special features.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          Thanks Norman

          You have been a big help with a whole load of stuff, hopefully at some point I'll be able to help you out. It seems like I sort one thing out and have 5 other problems appear afterwards. The problem is that I'm trying to do something abit above me but slowly I'm getting their.

          Cheers

          Darren
          Darren Tickle
          http://www.funky-cards.co.uk

          Greetings cards, and gift wrap for every occasion.

          Comment


            #6
            Hi

            I have changed the code back but I want to be able to edit the text before the qty box. Also the more information link has an extra <p> tag around it how do I remove these.

            Cheers

            Darren
            Darren Tickle
            http://www.funky-cards.co.uk

            Greetings cards, and gift wrap for every occasion.

            Comment


              #7
              but I want to be able to edit the text before the qty box.
              In 'Design | Text', click 'Go to' and go to Phase: -1 ID: 2173. It will bring up the following line...

              %s<INPUT TYPE=text NAME="%s" SIZE="4" VALUE="%d">

              Change this to read

              <!-- %s --><br>Quantity:<INPUT TYPE=text NAME="%s" SIZE="4" VALUE="%d">

              You can then edit 'Quantity:' to suit your requirements.

              I don't know about the 'More Info' link - there are a number of these that Actinic produces. Could you be more specific?

              Comment


                #8
                Thanks Chris once again, that solved my first problem.

                The other problem with the <p> tag is I have created a dupliate product and clicked on the Link tab and selected the advanced link and create a more information text which links to the more information product page. The code in the full description is as follows:

                !!<
                <p>Happy Anniversary<br />
                >!!
                [LINK]

                Does this help?

                Cheers

                Darren
                Darren Tickle
                http://www.funky-cards.co.uk

                Greetings cards, and gift wrap for every occasion.

                Comment


                  #9
                  The [LINK] variable shouldn't include any HTML other than then a <a href="...">...</a> hyperlink.

                  Going from the code you have included in your post, !!< and >!! are embedded HTML marks which surround custom code that you would have included yourself in your full description. So from that it looks like you are putting in the <p> yourself.

                  The only other thing it might be is if you don't have 'Use <br> for paragraphs' selected in 'Design | Options | Miscellaneous'. Could you check that please?

                  Comment


                    #10
                    Thanks again Chris. I've seemed to fix this problem as I have completed chanaged this template to make it more simple.

                    Cheers

                    Darren
                    Darren Tickle
                    http://www.funky-cards.co.uk

                    Greetings cards, and gift wrap for every occasion.

                    Comment

                    Working...
                    X