Custom Fields Stock Status Not Working

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

This topic contains 5 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 1 year ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #41158
    niumalta96
    niumalta96
    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 1 year, 1 month ago by niumalta96 niumalta96.
    Attachments:
    You must be logged in to view attached files.
    #41188
    Ernest Marcinko
    Ernest 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?
    Best,
    Ernest Marcinko

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


    #41200
    niumalta96
    niumalta96
    Participant
    You cannot access this content.
    #41203
    Ernest Marcinko
    Ernest 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

    Best,
    Ernest Marcinko

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


    #41213
    niumalta96
    niumalta96
    Participant

    Thank you this solved my issue 🙂

    #41214
    Ernest Marcinko
    Ernest Marcinko
    Keymaster
    You cannot access this content. Best,
    Ernest Marcinko

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


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

You must be logged in to reply to this topic.