Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #362663

    1034media
    Participant

    I’ve created a product slider in Revolution Slider that displays a product along with it’s title and description. I used the meta tag %title% for the title and %excerpt% for the excerpt (worked perfect). Now I would like to display the price the same way. %meta:_price% displays the price but it is not formatted as a currency. Is there an easy way to display the price properly formatted (like this –> $0.00)?

    Thanks in advance!

    #362818

    Friech
    Moderator

    Hi There,

    Thanks for writing in! You need to encode the price with decimal place on the backend. For the currency symbol, apply a class to the price layer and add this on your custom css:

    .myclass:before {
    	content: "$ ";
    }

    Hope it helps, Cheers!

    #774910

    SMALLJIM
    Participant

    I´ve discovered other solution to this case: you can use &#036 ; (semicolons without spacing) that is the dollar symbol in HTML numbers. For Example:

    %title% only: &#036 ; %meta:_regular_price%

    I´m using this in Slider Revolution 5.X and works great!
    Best Regards!

    #775444

    Zeshan
    Member

    Glad to hear it’s working for you and thanks for sharing your workaround! 🙂