Announcement

Collapse
No announcement yet.

Alternative Add to Cart button

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

    Alternative Add to Cart button

    The Add to Cart buttons on a site I've designed are 90 pixels wide, but the client now wants a page where the product layout necessitates a 60 pixel wide button.

    Is it possible to use an alternative size of button for some products or product pages?

    Malcolm
    ¤ The world wide web needn't cost the earth
    ¤ ARTISAN INTERNET LTD
    ¤ www.artinet.co.uk

    #2
    You can create (a) new button(s) and just save to the same filename(s) as the current button(s) in the site1 folder, overwriting the original(s) (they will still be available in the Themes folder).

    To force the replacement on the website might need a refresh rather than an upload.
    Bill
    www.egyptianwonders.co.uk
    Text directoryWorldwide Actinic(TM) shops
    BC Ness Solutions Support services, custom software
    Registered Microsoft™ Partner (ISV)
    VoIP UK: 0131 208 0605
    Located: Alexandria, EGYPT

    Comment


      #3
      Bill - I think the OP is looking to have new buttons just against specific products on a ad-hoc basis


      Bikster
      SellerDeck Designs and Responsive Themes

      Comment


        #4
        Originally posted by jont
        Bill - I think the OP is looking to have new buttons just against specific products on a ad-hoc basis
        That's correct, although I've managed to condense the layout enough to fit the 90 pixel button in. Even so, if anyone knows of a way of achieving a second button that could be used on some products or product pages, that would still be useful to know.

        Malcolm
        ¤ The world wide web needn't cost the earth
        ¤ ARTISAN INTERNET LTD
        ¤ www.artinet.co.uk

        Comment


          #5
          Try this (untested).

          Create Custom Properties BUTTONNAME, BUTTONWIDTH, BUTTONHEIGHT.

          In Design / Options / Site Defaults set them to your default image name width and height.

          In the Section you want different set the Properties to suit.

          Replace Act_CartButtonImage.html with
          Code:
          <!-- CartButtonImage HTML begin -->
          <!-- This template is used for the add to cart button image. -->
          
          <!-- NETQUOTEVAR:BUTTONIMG NETQUOTEVAR:IMAGEWIDTH NETQUOTEVAR:IMAGEHEIGHT -->
          <!-- This template is used for the add to cart button image. -->
          <!-- CartButtonImage HTML end -->
          <P><INPUT TYPE="IMAGE" SRC="CUSTOMVAR:BUTTONIMAGE" NAME="NETQUOTEVAR:BUTTONNAME"
          WIDTH="CUSTOMVAR:BUTTONWIDTH" HEIGHT="CUSTOMVAR:BUTTONHEIGHT" BORDER="0" ALT="NETQUOTEVAR:BUTTONLABEL"></P>
          
          
          <!-- This template is used for the add to cart button image. -->
          <!-- CartButtonImage HTML end -->
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment

          Working...
          X