• I just re-installed the plugin, and on the settings page the donation product doesn’t appear in the Select Donation Product list. Instead, it list five random products, none of which are donations. They seem to be out most recently added products.

    How can I get the Donation product to appear in that list?

    Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • ZeroGravity

    (@zerogravity)

    I am having the same issue. Did you get this resolved?

    Thread Starter donkiely

    (@donkiely)

    No, I’m afraid not. I’ve just heard crickets.

    Kind of a shame. I’d really like to use it. This is otherwise such a nice, simple plugin. Which unfortunately doesn’t work.

    • This reply was modified 5 years ago by donkiely.
    ZeroGravity

    (@zerogravity)

    I agree with you. ?? I am going to try downgrading to version 1.0. Version 1.1 was released a month ago which seems to be about the same time you noticed the issue. From the change log it seems the only change was the notes field.

    I don’t particular like the way it was implemented and possibly the error was introduced with that version. It would be nice it the notes field was an option as it messes with the layout a bit.

    ZeroGravity

    (@zerogravity)

    I found a solution to this. The get_posts function returns 5 entries by default. The change below will return all products. This maybe an issue if you have a lot of products. I’m sure there would be a way to further limit the selection, I just don’t have time to work on it at the moment.

    At line #112 of options.php change

    $wdgk_get_page = get_posts(array(
    	'post_type'     => 'product',
    ));

    to

    $wdgk_get_page = get_posts(array(
    	'post_type'     => 'product',
    	'numberposts'	=> -1,
    ));
    Thread Starter donkiely

    (@donkiely)

    Great, thanks! I’ll give that a try.

    Thread Starter donkiely

    (@donkiely)

    Thanks, that works great!

    ZeroGravity

    (@zerogravity)

    Pleased it worked for you. ?? If I get some time I will look into an extra filter to reduce the number of relevant products the list displays.

    Just noticed this has been fixed in one of the updates. Don’t know which one as the change log just says “fixed bug”

    Thread Starter donkiely

    (@donkiely)

    Great! That does indeed fix it. So we’ve installed it and gone live.

    Thanks everyone!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Donation Product Not in Select Donation Product List’ is closed to new replies.