Announcement

Collapse
No announcement yet.

Hiding Components

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

    Hiding Components

    Hi All,

    I would like to find out how to hide components when products are out of stock.

    Currently a part of our order process is still viewable even though Out of stock appears.

    Any help will be much appreciated.

    Click here for link
    Raymond Allen
    GraphicBiz
    ----------------------------------------
    GraphicBiz: www.graphicbiz.co.uk
    Order Rubber Stamps Online: www.custom-stamps.co.uk

    #2
    I'd say you could create an alternative product layout template for out of stock items, which replaces:

    NETQUOTEVAR:ADDTOCARTBUTTON

    with

    <!-- NETQUOTEVAR:ADDTOCARTBUTTON --><b>OUT OF STOCK</b>

    You can then select this template for a product when you see it is out of stock.

    Comment


      #3
      Chris, that would still leave the components (as shown on url) viewable.

      I'd like to hide them automatically when the add to basket button is replaced with out of stock.

      Thanks again for your help
      Raymond Allen
      GraphicBiz
      ----------------------------------------
      GraphicBiz: www.graphicbiz.co.uk
      Order Rubber Stamps Online: www.custom-stamps.co.uk

      Comment


        #4
        NETQUOTEVAR:ADDTOCARTBUTTON includes all the compontents/attributes/choices into the HTML as well as the cart button.

        Comment


          #5
          Thanks Chris, got all working. When I first did it, the text field appeared but all is well now.
          Raymond Allen
          GraphicBiz
          ----------------------------------------
          GraphicBiz: www.graphicbiz.co.uk
          Order Rubber Stamps Online: www.custom-stamps.co.uk

          Comment

          Working...
          X