Showing percentage saving correctly

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #95771

    Hi,

    I am struggling to change the view from saving in $ to saving in %.

    See below to how I changed the code (as per instructions on page as far as I can see) forgive me in advance i’m probably missing something very obvious however I am a novice at code.

    SINGLE PRODUCT PAGE DISPLAY OPTIONS

    ORIGINAL FINAL TEMPLATE:
    MSRP: %msrp%%you_save%

    ADJUSTED FINAL TEMPLATE:
    MSRP: %msrp%%you_save_percent_raw%

    It then shows on my product – MSRP: %you_save_percent_raw%

    Your help is much appreciated.

    • This topic was modified 1 year, 11 months ago by WPWhale.
    #95772
    Tom Anbinder
    Moderator
    Plugin Support

    Hi,

    Please try:

    <del>%msrp%</del>%you_save_percent%

    As for %you_save_percent_raw% – it should be used in “Savings amount in percent” settings field (i.e. not in “Final template”).

    Hope that helps. Please let me know if you have any questions.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.