Stock dislpayed in Search Result

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Stock dislpayed in Search Result

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 6 years, 12 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12871
    fespigado
    fespigado
    Participant

    Hi Ernest good morning,

    i have a cuestion for you.
    Is it possible to display the stock quantity in the search result?

    Thank you

    #12872
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    Yes, it is actually possible, the product level stock is stored in the ‘_stock’ custom field. On the Advanced Options -> Content panel you can make use of that with the Advanced Description field: https://i.imgur.com/oI3HddO.png

    My configuration on the screenshot is this:

    <strong>Stock:</strong> {_stock}<br>{descriptionfield}

    Which translates to: ‘Stock:’ text in bold, followed by the value of the stock field, then a line break, then the default description.
    It looks like this: https://i.imgur.com/rPTDUHw.png

    Best,
    Ernest Marcinko

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


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

The topic ‘Stock dislpayed in Search Result’ is closed to new replies.