Upcoming products dont go live
-
Hi there,
Iam using this plugin for some time now, had no problems till today*.
The setting “Upcoming Product auto live” is activated in the plugin settings.
My problem: I have products with added upcoming dates, but these products dont go live anymore on that date.
For clarity/example: one product has the upcoming date: January 8th 2018.
In the frontend today (19th January), the product still displays the notice “available on January 8th 2018“, and also the add to cart button is not visible.
In the backend, the option “Enable for upcoming product” is still checked, and the date field is visible and has the value “2018-01-08”.
I tested these option on the single product site:
get_option( 'wup_auto_live')
: returns “yes”,
get_post_meta( $post->ID, '_upcoming', true )
: returns “yes”,
get_post_meta( $post->ID, '_available_on', true )
: returns “2018-01-08”
$next_day
: returns the todays date + one day (i.e. 2018-01-20)
$next_day > $available_on
: this is trueBased on this, everything looks fine. The “_upcoming” meta should be deleted, but it seems not to.
I also re-run the cronjob “wup_expired_upcoming_product“, but still the same problem.
I can only show the add to cart button again and hide the notice, if I manually remove/deselect the checkbox “Enable for upcoming product” on the single product page.
I watched my error log, but no errors found there.
*I just saw this today, I dont know how long it was not working correctly.
I hope you can help, thanks.
- The topic ‘Upcoming products dont go live’ is closed to new replies.