• Resolved ziskam

    (@ziskam)


    The Shortcode [alg_wc_wl_counter] counts products that have been added to wishlist but subsequently deleted/removed from sale. It also counts products that are out of stock but that’s fine, since the wishlist shows them as out of stock so logically it makes sense.

    The actual wishlist output removes the product from the list but it is still counted in the counter, even with the attribute of ignore_excluded_items=”true”. This creates a discrepancy between the list and the count.

    Is it possible to add a filter to remove products from the counter that have been deleted?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Pablo Pacheco

    (@karzin)

    Hello,

    Theoretically the attribute ignore_excluded_items=”true” should be doing that. Is it possible that your site is using some sort of cache?

    Thread Starter ziskam

    (@ziskam)

    Hi,
    Thanks for your prompt response.

    I looked at the code for the shortcode and saw that, as you mentioned, logically it SHOULD work. With a bit of playing around it in fact DOES work, but I had to remove the double quotes “” and use the shortcode as follows:

    [alg_wc_wl_counter ignore_excluded_items=true]

    Thought I’d spell it out just in case someone else has the same issue. Thanks for all your help and great plugin!

    Plugin Author Pablo Pacheco

    (@karzin)

    Thanks!

    I’ll take a look at the code when I have some time to check why the quotes are not working

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Counter shortcode still counts deleted products’ is closed to new replies.