• Resolved pare81

    (@pare81)


    Hi Greg,

    I’m again ??

    My page is nearby to go online with your famous plugin. But at now I have one of my last blocker. How can I setup the price information like described below:

    User put in price > 0 – price should be shown – works fine at the moment
    User leave the price field blank – on page the field should show “Ask seller”
    User put in price = 0 – on page it should be shown “Free”

    the last both have to be done, but how?

    thanks and regards
    pare

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    The only way to do that is to customize wpadverts/templates/list-item.php template file.

    Once you do that consider creating a child template file so your changes will not be overwritten on update https://wpadverts.com/documentation/child-themes-and-templates/

    Thread Starter pare81

    (@pare81)

    Hi Greg,

    thanks for your reply. This option I know. But how can I make a difference between 0,00 and empty? Both give me the same result for 0,00. I think, if a user no price set, the plugin uses, 0,00 is this true? If so, my plan is not possible !? ??

    Thanks and regards
    pare

    Thread Starter pare81

    (@pare81)

    I’ve checked again, if a user set the price to “0” nothing is saved. Is it possible to allow a price 0 or 0,00 and this would be saved as “0,00”?

    or allow an special sign like a “f” for free!?

    • This reply was modified 7 years, 11 months ago by pare81.
    Plugin Author Greg Winiarski

    (@gwin)

    Currently, the price input will only accept numbers.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Pricing options’ is closed to new replies.