woocommerce / wc-smooth-generator

Smooth product, customer and order generation for WooCommerce
315 stars 49 forks source link

[Feature Request] Coupon Generator #68

Closed michi-dev closed 2 years ago

michi-dev commented 3 years ago

Thank you for open wc-smooth-generator to the public. We've integrated this to test our extensions for Woocommerce better and make them more reliable.

Is your feature request related to a problem? Please describe. When testing this extension we currently only get basic orders. As our extension sends data from Woo to an external ERP System this is a basic use-case but a lot options are missing. We think it should be possible to generate also coupons within wc-smooth-generator and attach them to orders.

Describe the solution you'd like It would be good to create the command "generate coupons". The Command should create various coupons. In a first step these can be quite basic coupons like 10$OFF or 10% the hole cart. In a later enhancemenet (seperate task) it could be more specific to a product, only after a specified amount etc.

When coupons are available it would be good if every 5th order gets created with a coupon.

We understand that this repo is there to easily gather some testdata and not have a complete set of each use-case that would be possible in woo. Still we believe this could be interesting for a wider audience.