This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Stock dislpayed in Search Result

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12871
    fespigadofespigado
    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 MarcinkoErnest 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: http://i.imgur.com/oI3HddO.png

    My configuration on the screenshot is this:
    [html]<strong>Stock:</strong> {_stock}<br>{descriptionfield}[/html]

    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: http://i.imgur.com/rPTDUHw.png

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Stock dislpayed in Search Result’ is closed to new replies.