-
AuthorPosts
-
November 5, 2025 at 5:15 pm #247990

Hans AndersParticipantHi,
We use WooCommerce Email Template Customizer Premium together with WooCommerce Coupon Box.
We run into an issue where the Coupon Box shortcodes behave differently in the email subject and the email body:
– In the email subject, the shortcodes such as {wcb_coupon_code} and {wcb_coupon_value} work correctly and show the actual values.
– In the email body, the same shortcodes are not replaced and only show as plain text, for example {wcb_coupon_code} instead of the real code.Our current setup:
1. In Email Template Customizer we create an email template with Email type: “WooCommerce Coupon Box”.
2. In Woo Coupon Box → Email, we select this template under Email template.
3. Inside the template body we place shortcodes like:
{wcb_coupon_value}
{wcb_coupon_code}
{wcb_last_valid_date}When a visitor subscribes via Coupon Box, the email arrives with a correct subject (shortcodes rendered), but the body still contains the raw {wcb_…} strings.
Could you check why the {wcb_…} shortcodes only parse in the subject line and not in the body, and let us know if we miss a setting or if this is a compatibility bug?
Kind regards
-
AuthorPosts
You must be logged in to see replies to this topic. Click here to login or register