Announcement

Collapse
No announcement yet.

Displaying Discounted Price

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

    Displaying Discounted Price

    At the moment I'm using the presentation tab to show the Was, Now and the Web Saving prices as

    Was
    <actinic:block php="true">echo "£" . number_format((1 * [ProductPriceRaw]), 2);</actinic:block><br/>
    Now
    <actinic:block php="true">echo "£" . number_format((0.90 *
    [ProductPriceRaw]), 2);</actinic:block><br/>
    Web Saving
    <actinic:block php="true">echo "£" . number_format((1 * [ProductPriceRaw]) - (0.90 * [ProductPriceRaw]), 2);</actinic:block>


    Is there a way though of changing the retail price that's shown as the discounted price on items with the discounts and just use the presentation tab to show the web saving? The prices are displayed inc. Vat btw.

    #2
    Do you mean you want to hide the standard price and just show your new 'Was' price 'Now' price etc?

    If so, create a variable set at product level called something like IsOnSale which could be set to true or false.(Make false the initial value)

    Then wrap your standard price in a block to only display if IsOnSale is set to false

    Result:
    If IsOnSale = false then your normal price will appear

    If IsOnSale = true the presentation tab will take care of showing all the price info as per your original post.

    Only problem is you have to set each product individually (or use the Use Parent option to set a whole section at a time I suppose)

    Hope this helps.
    Esperto di tutto, maestro in niente

    Comment

    Working...
    X