• Resolved juanag

    (@juanag)


    Hi!

    First of all thanks for your plugin. I have noticed that the products with “draft” status are listed in the ajax results. Could it be possible to exclude them?

    Thanks! ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author ILLID

    (@mihail-barinov)

    Hello,

    Very strange. Draft products must be excluded from the search results by default.

    Try to press ‘Reindex table’ button in the plugins settings page and tell me if its help you.

    Thanks!

    Hello,

    very nice plugin, but i have the same problem.
    ‘Reindex table’ does not fix it.
    It would be nice if you can help.

    Thanks ??

    Hi,
    I’m having same issue, re-indexing the table doesn’t help. Did you managed to solve this issue ?

    Thread Starter juanag

    (@juanag)

    I tried re-indexing the table but it still doesn’t work

    Same thing here: jamalong.org/jamming-resources/free-elessons

    Search results include unpublished (draft) products.

    Re-indexing doesn’t fix it.

    Hi, we just bought the premium version but are having the same problem – any solution? All our published and draft items are appearing in search results.

    Thanks in advance.

    Plugin Author ILLID

    (@mihail-barinov)

    Hi, very strange because I already fix this.
    Please open includes/class-aws-table.php file and make sure that from line 81 its has such lines of code

    $args = array(
                    'posts_per_page'      => $posts_per_page,
                    'fields'              => 'ids',
                    'post_type'           => 'product',
                    'post_status'         => 'publish',
                    'offset'              => $index_meta['offset'],
                    'ignore_sticky_posts' => true,
                    'orderby'             => 'ID',
                    'order'               => 'DESC',
                );

    attention to

    'post_status' => 'publish',

    Please write me if you still have any issues.

    Thanks!

    Hi, thanks so much for the response. The code was correct but without anything changing, it now seems to be working and is excluding draft items.

    Plugin Author ILLID

    (@mihail-barinov)

    New version of the plugin ( 1.14 ) has fix for this issue. Now draft products excluded from search results.

    How can I get 1.14? I bought yesterday but the Dropbox link sent with payment confirmation is for 1.00.

    Plugin Author ILLID

    (@mihail-barinov)

    I’m talking about free version from this repository. Files from the dropbox already has latest version with all fixes.

    If you have any question regarding to pro version please write them to [email protected]

    Thanks!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘hide draft products in search’ is closed to new replies.