Announcement

Collapse
No announcement yet.

Do not show price

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

    Do not show price

    I have used columns for my products, they are all the same price, so I was wondering if there was a way to hide the price on each product? Also I have included a quanity box for each product, is there a way to reduce the width of the box? Many thanks

    #2
    Product Price:

    In your Product Template comment out the line containing NETQUOTEVAR:PRODUCTPRICE

    E.g.

    <b>NETQUOTEVAR:PRODUCTPRICE</b><br>

    becomes

    <!-- <b>NETQUOTEVAR:PRODUCTPRICE</b><br> -->

    Quantity box:

    Go to Design / Text / Go to / Phase -1, ID 2173
    It should be

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

    change the SIZE="4" to something smaller.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Thanks for the reply. Is it possible to hide the price in a particular section.

      Comment


        #4
        Yes.

        Create 2 CUSTOMVARIABLES such as

        STARTHIDE
        ENDHIDE

        In your layout use:

        CUSTOMVAR:STARTHIDE<b>NETQUOTEVAR:PRODUCTPRICE</b><br>CUSTOMVAR:ENDHIDE

        In the sections you want to hide set the following:

        STARTHIDE <!--
        ENDHIDE -->

        That will wrap your price between the HTML comment tags and remove from that section only.


        Bikster
        SellerDeck Designs and Responsive Themes

        Comment


          #5
          Or you could create a new product template, copied from your main one, which has the price bit commented out as per Norman's post #2.
          Then, select the Section (in the content tree) where you don't want to show the price, select the Product tab and enter the new product template in the Default layout field.

          Your main product template can be found in Design > Options... > Layouts tab > Default Product Layout. (Press the Edit button to get the name if not apparent).

          Comment

          Working...
          X