Your cart is currently empty!
Woocommerce coupon shortcodes
—
by
I’m attempting to configure my coupon shortcodes to display only when they are active based on the publishing date. No matter what I try active, draft, or valid statuses, it always shows the codes regardless of the condition.
Is there a way this can be done?
Posted in Decent Comments
Comments
3 responses to “Woocommerce coupon shortcodes”
You’re welcome Vincent.
Cheers
Thanks, George! That’s exactly what I needed to know. Everything is good now… Cheers!
Hi Vincent,
Welcome to our support channel.
I would recommend you to have a look at the supported shortcodes for coupons provided by WooCommerce Coupon Shortcodes plugin as described in the plugin documentation:
– https://docs.itthinx.com/document/woocommerce-coupon-shortcodes/
Please also keep in mind that a coupon is considered active when it hasn’t expired and hasn’t reached its usage limits. If you wish to conditionally display a coupon’s code or information based on the date it has been published, then you need a custom shortcode for that purpose, which will check if the coupon is active and also compare the publishing date with the date of reference you decided.
Kind regards,
George