Announcement

Collapse
No announcement yet.

Only show the main Price not quantity based pricie

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

    Only show the main Price not quantity based pricie

    Hi
    I am trying to only show the first quantity based price ie. the main price for 1.

    At the moment I have two product layouts, a mini one and the full one on the ext info page.

    I would like to offer discount when you by 5 of more. So I have added the pricing to the pricing tab and the prices show up fine.

    On the small product lay out I would like to only show the price for if you brought 1. I have had a look though the lay outs already.

    So far I can only get rid of the wording, so it leaving the 2 prices showing. But I can not work out how and if it if possible to only show the main product price.
    This is the code i have already. I have put a block if round the quantity text with a variable so i can chose if i want to show it or not.

    Code:
    <b>
    <actinic:variable name="ProductPriceDescription" />
    
    
    <actinic:block if="%3cactinic%3avariable%20name%3d%22Mini%2dPrice%22%20%2f%3e%3d%3dfalse" >
    	
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsFirstQuantityBreak%22%20%2f%3e">
       (<actinic:variable Name="QuantityDescMax"/> or fewer items)
    </actinic:block>
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsMiddleQuantityBreak%22%20%2f%3e">
       (<actinic:variable Name="QuantityDescMin"/> to <actinic:variable Name="QuantityDescMax"/> items)
    </actinic:block>
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsLastQuantityBreak%22%20%2f%3e">
       (<Actinic:Variable Name="QuantityDescMin"/> or more items)
    </actinic:block>
    </actinic:block>
    
    
    <actinic:variable value="Product Price Including Tax" name="PreFormattedPrice" /> 
    
    <actinic:block if="%28%28%3cactinic%3avariable%20name%3d%22TaxRate1%22%20%2f%3e%20%3e%200%29%20OR%20%28%3cactinic%3avariable%20name%3d%22TaxRate2%22%20%2f%3e%20%3e%200%20%29%29" > <span class="VATtext">Inc VAT</span></actinic:block>
    <actinic:block if="%28%28%3cactinic%3avariable%20name%3d%22TaxRate1%22%20%2f%3e%20%3e%200%29%20OR%20%28%3cactinic%3avariable%20name%3d%22TaxRate2%22%20%2f%3e%20%3e%200%20%29%29" >&nbsp;
       <actinic:block if="%3cactinic%3avariable%20name%3d%22IsTax1AndTax2Used%22%20%2f%3e"></actinic:block>
       <actinic:block if="%3cactinic%3avariable%20name%3d%22IsTax2Used%22%20%2f%3e"></actinic:block>
    </actinic:block></b>
    I don't know how to only show the first price. If any could help me or put me in the right direction, I would be very grateful


    Elliott
    Elliott - Weybridge Lights

    www.weybridgelights.co.uk

    #2
    You are a level of layout too deep. Navigate to the layout list which will be something like "Standard Retail Price List" .. and will have an orange list selector at the top of it.

    Highlight the "PriceLayout" and click on the green "block" icon to insert a block. In the pop up add

    <actinic:variable name="ListIndex" /> == 1


    Bikster
    SellerDeck Designs and Responsive Themes

    Comment


      #3
      Thank you very much!!

      That was just what i was looking for. I would of never off worked that out myself.

      Thanks

      Elliott
      Elliott - Weybridge Lights

      www.weybridgelights.co.uk

      Comment

      Working...
      X