Show Productprice only on product results?

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Show Productprice only on product results?

This topic contains 2 replies, has 2 voices, and was last updated by ThBunte ThBunte 5 years, 4 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #12021
    ThBunte
    ThBunte
    Participant

    In a page with Woocommerce Products and news we have a search for post, pages and Products.
    The possibility to show “{titlefield} – {_price} €” means Producttitle, price and Currency make sense, but is there a way to show these only under products?

    #12058
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    Yes, instead of using the advanced title field, a filter function is the solution for this case:

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #12059
    ThBunte
    ThBunte
    Participant

    mmhh, i past it in the functions.php of the Childtheme and delete the values in the advanced title field.
    But the currency Symbol was not shown in search results?

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.