• Resolved logicred

    (@logicred)


    On the listings page I use the tag $awpcp_display_price which hard codes the word “Price:” before the price. I would like to just display the price.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @logicred,

    Sorry that you ran into issues here!

    That particular field code is hard-wired to have both in it (legacy use), but we have a wide variety of field codes that are available. They are documented here:
    https://awpcp.com/knowledge-base/settings-adlistings/

    Including $aditemprice, which is used on details.

    Try that and let me know if you run into more issues.

    Thread Starter logicred

    (@logicred)

    Thank you for your reply. I did spot the fields that I was allowed to use, but the $aditemprice still included the “Price: ” prefix. Don’t worry though, I will find where it is in the code and try and remove it. Is there a way to add a basic hyperlink to the full listing too? So I can do a ‘read full listing’ for example?

    Thank you

    Hi @logicred,

    We don’t recommend changing the plugin code directly as this will make it difficult for you to upgrade.

    For strings like that, we make them accessible in the translation file where you can safely change them there without worrying about upgrades (if you follow our instructions)

    This article will give you the specifics on how to do that:
    https://awpcp.com/knowledge-base/translate-awpcp-native-language-modify-labels-awpcp/

    This can be used to change the labels as well as the language itself.

    Try that and let me know if you run into more issues.

    Thread Starter logicred

    (@logicred)

    Thanks again for the reply. I have changed all occurences of Price in the language files, but it’s not changed anything. Don’t worry, I will spend some time on it this weekend.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove the word “Price:” on listings page’ is closed to new replies.