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

Custom Fields Stock Status Not Working

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Custom Fields Stock Status Not Working

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #41158
    niumalta96niumalta96
    Participant

    I added custom filters to my search such as stock status. I want to filter my search to stock items in stock or out of stock. The problem is that it is not working. See Screenshot and link

    • This topic was modified 3 years, 4 months ago by niumalta96niumalta96.
    #41188
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    Thank you for the details!

    • Can you please update the plugin to the latest release (4.25.1), to make sure it is not something we already fixed
    • Do you use any custom code, hooks, filters, actions or anything related to the plugin?
    #41200
    niumalta96niumalta96
    Participant

    You cannot access this content.

    #41203
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Great!

    Sure, you can use the “total_sales” custom field, that is the one WooCommerce uses, do it like this: https://i.imgur.com/dAltYNG.png

    #41213
    niumalta96niumalta96
    Participant

    Thank you this solved my issue 🙂

    #41214
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.