Announcement

Collapse
No announcement yet.

Another dumb question regarding variables

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

    Another dumb question regarding variables

    Hi All

    Could someone tell me why I cant see TaxExclusivePrice when I look in Design / Library / Variables

    I'm trying to create an additional price layout which shows the item price of a product as our retail price is based on a 'pack of'. I've got it all working apart from the item price variable is displaying as a whole number.

    Many thanks
    Sally
    Regards
    Sally

    Fashion Jewellery Wholesale - Glitzy Jewels

    #2
    cant you fabricate this number using maths and javascript?

    Comment


      #3
      Maths is already done in our products spreadsheet. All I need is a way of showing the value as £x.xx
      Regards
      Sally

      Fashion Jewellery Wholesale - Glitzy Jewels

      Comment


        #4
        TaxExclusivePrice seems to be only used in PriceLayouts, you can't just plant it into a product template. There's no aspect of it that you can change like a normal variable, so it would be daft to put it in the library

        Go into the library and look at "Price Lists" on the Layouts Tab. You'll be able to see how they're made up there. You can then create your own new price list which you can put into your product layout.

        Comment


          #5
          Hi

          I've created a 'Compact Tax Exclusive Item Price' layout by copying an existing layout which uses a variable named 'Item Price Excluding Tax' but this still display the price as 38 rather than £0.38.

          Can anyone help in what I need to do to get it into the correct format

          <actinic:block if="%3cactinic%3avariable%20name%3d%22PriceIsEnabled%22%20%2f%3e">
          <actinic:variable name="ItemPriceDescription" />
          <actinic:variable name="PreFormattedPrice" value="Item Price Excluding Tax" />

          <actinic:block if="%3cactinic%3avariable%20name%3d%22IsFirstQuantityBreak%22%20%2f%3e">
          <actinic:block if="%3cactinic%3avariable%20Name%3d%22QuantityDescMax%22%2f%3e%20%3d%3d%201">
          (<actinic:variable Name="QuantityDescMax"/> item)
          </actinic:block>
          <actinic:block if="%3cactinic%3avariable%20Name%3d%22QuantityDescMax%22%2f%3e%20%3e%201">
          (<actinic:variable Name="QuantityDescMax"/> or fewer items)
          </actinic:block>
          </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>

          regards
          Sally
          Regards
          Sally

          Fashion Jewellery Wholesale - Glitzy Jewels

          Comment


            #6
            Try using the following code directly within your product layout where you want the price to appear:
            Code:
            <actinic:block type="PriceList" >
            <actinic:variable value="Product Price Excluding Tax" name="PreFormattedPrice" />
            </actinic:block>
            I have used an 'Advanced List' from the Advanced User Guide to include this very basic type of price layout directly into the product layout. I hope you find it useful.

            Comment

            Working...
            X