Announcement

Collapse
No announcement yet.

Add cart button too far down

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

    Add cart button too far down

    My add cart button is very low down on the screen on all my pages. My customers need to scroll down to see it. How do I move it up?

    Thanks Geraldine

    www.stardustkids.co.uk
    Stardust Funky Kids T-Shirts

    #2
    This would be due to the following code sitting just above the cart button...

    <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>

    Check in the product layout in use for the products (usually Act_ProductLine.html) for starters


    Bikster
    SellerDeck Designs and Responsive Themes

    Comment


      #3
      This is the code:

      <!-- ProductLine HTML begin -->
      <!-- Insert HTML for the top of the individual product -->

      <!-- Insert HTML for the top of the individual product -->

      <!-- UPSELL SUPPORT START -->
      <script language=JavaScript>
      <!--
      startnormal()
      // -->
      </script>
      <!-- UPSELL SUPPORT END -->

      NETQUOTEVAR:INCLUDE Act_ProductSeparator.html
      NETQUOTEVAR:ENDSEPARATOR
      NETQUOTEVAR:PRODUCTFORMBEGIN

      <script language=JavaScript>
      <!--
      // DYNAMICIMAGES START
      current = "NETQUOTEVAR:IMAGEFILE";
      iwidth = 'NETQUOTEVAR:IMAGEWIDTH';
      iheight = 'NETQUOTEVAR:IMAGEHEIGHT';
      scaledown = 'CUSTOMVAR:ICONSCALE';
      colcount = 'CUSTOMVAR:ICONSPERLINE';
      buttonunder = CUSTOMVAR:BUTTONUNDER;
      textunder = CUSTOMVAR:TEXTUNDER;
      colpos = 0;
      // DYNAMICIMAGES END
      // UPSELL START
      current = "NETQUOTEVAR:IMAGEFILE";
      iwidth = 'NETQUOTEVAR:IMAGEWIDTH';
      iheight = 'NETQUOTEVAR:IMAGEHEIGHT';
      scaledown = 'CUSTOMVAR:ICONSCALE';
      rcolcount = 'CUSTOMVAR:ICONSPERLINE';
      buttonunder = CUSTOMVAR:BUTTONUNDER;
      textunder = CUSTOMVAR:TEXTUNDER;
      rcolpos = 0;
      // UPSELL END
      // -->
      </script>

      <tr>
      <td rowspan="2" valign="TOP" align="CENTER"> NETQUOTEVAR:TEMPLATEBEGINXML NETQUOTEVAR:PRODUCTIMAGE </td>
      <td valign="TOP" align="LEFT" colspan="2">
      <a name="NETQUOTEVAR:PRODUCTANCHOR"><span class="actregular"><b>NETQUOTEVAR:PRODUCTNAME</b></span></a>
      <span class="actxsmall">NETQUOTEVAR:PRODUCTREF <br>
      NETQUOTEVAR:PRODUCTDESCRIPTION&nbsp;NETQUOTEVAR:EXTINFOLINK</span>NETQUOTEVAR:EXTINFOBUTTON
      <br>
      <span class="actxsmall">NETQUOTEVAR:PRODUCTBEGINLINKNETQUOTEVAR:PRODUCTLINKTEXTNETQUOTEVAR:PRODUCTENDLINK
      NETQUOTEVAR:PRICEEXPLANATION </span><br>
      <b>NETQUOTEVAR:PRODUCTPRICE</b><br>
      <span class="actxsmall">NETQUOTEVARISCOUNTINFO </span>
      <span class="actxsmall">NETQUOTEVAR:OTHERINFOPROMPT </span>
      <span class="actxsmall">NETQUOTEVARATEPROMPT </span>
      </td>
      </tr>
      <tr>
      <td align="LEFT" colspan="2"><span class="actxsmall">
      NETQUOTEVAR:CARTERRORXMLNETQUOTEVAR:PRODUCTQUANTITY<br>
      <Actinic:ACTIONS>NETQUOTEVAR:ADDTOCARTBUTTON</Actinic:ACTIONS>
      </span>
      NETQUOTEVAR:TEMPLATEENDXML
      </td>
      </tr>
      NETQUOTEVAR:PRODUCTFORMEND
      NETQUOTEVAR:NEXT
      <!-- Insert HTML for the bottom of the individual product -->
      <!-- ProductLine HTML end -->


      Are the <br>'s here?
      Stardust Funky Kids T-Shirts

      Comment


        #4
        No.

        They must be coming from one of the many other nested templates - best way to find it is to temporarily untick "compact html / cgi" under Design | Options | Misc | Generation Options.

        Inside Actiinc preview a product page in an external broswer and then view the page source ... you will see all the <!-- template name starts here code to help track down which template is containing the code.

        don't forget to re-tick the "compact" option before uploading to the site again


        Bikster
        SellerDeck Designs and Responsive Themes

        Comment


          #5
          Here is the code for one page. I can't work out which template the <br>s are in
          Attached Files
          Stardust Funky Kids T-Shirts

          Comment


            #6
            i don't know if this is correct but i found a lot of <br> in Act_ProductPrice.html

            Comment


              #7
              That's what your attached file in the post above shows. back it up, take them out and give it a go.

              Comment


                #8
                All those <BR>'s seem to come just after NETQUOTEVAR:PRODUCTPRICE, rather than within the Product Price template. The line that seems to be the culprit is

                <span class="actxsmall">NETQUOTEVARISCOUNTINFO </span>

                So look to View / Discounts and Surcharges / Cart Contents / Presentation (it may be a long list of new-lines rather than obvious <br> tags).
                Norman - www.drillpine.biz
                Edinburgh, U K / Bitez, Turkey

                Comment


                  #9
                  I can't find any <br>s in ActProductPrice

                  Also there are no returns or new lines in the presentation page in cart contents.

                  Any more ideas

                  Thnaks

                  Geraldine
                  Stardust Funky Kids T-Shirts

                  Comment


                    #10
                    use the template manager on theadvanded menu, open all thetemplates until you find the one with all the <BR> s

                    Try main, section and product variant tebs

                    Comment


                      #11
                      I have found the problem. Its was not <br> in the act files.

                      Norman you were almost right Its was in Products & Surcharges | Miscellaneous. I needed to uncheck marked 'against each product' under Discount Descriptions.

                      Thanks everyone

                      Geraldine
                      Stardust Funky Kids T-Shirts

                      Comment

                      Working...
                      X