-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
Prerequisites
- I have carried out troubleshooting steps and I believe I have found a bug.
- I have searched for similar bugs in both open and closed issues and cannot find a duplicate.
Describe the bug
After setting up a fresh wordpress site i installed Woo and WC Smooth Generator and let it generate around 1k fake products.
Noticed on a quite a few products have quite old sale to dates. What i notice:
- if no sale price is set setting a sale to price doesnt make sense
- date shouldnt be in the past
Few examples on simple products:
See codepart: https://github.com/woocommerce/wc-smooth-generator/blob/trunk/includes/Generator/Product.php#L389C4-L389C90
Same happens also on variable products:
WordPress Environment
No response
Isolating the problem
- I have deactivated other plugins and confirmed this bug occurs when only WooCommerce and WooCommerce Smooth Generator plugins are active.
- This bug happens with a default WordPress theme active, or Storefront.
- I can reproduce this bug consistently using the steps above.
Metadata
Metadata
Assignees
Labels
No labels