• Resolved wichtc91

    (@wichtc91)


    I have developped a website in WordPress relying on Woocommerce and I am trying to customize the automated emails that are send from Woocommerce using the Decorator – WooCommerce Email Customizer Plugin.

    In the email content, I would like to adjust the Woocommerce shortcodes mainly {order_date} to add 10 days to it (e.g., if {order_date} is 13/02/2023 it should show instead 23/02/2023, thus + 10 days).

    I have tried to include the following PHP code in the email content but it just <span style=”text-decoration: underline;”>does not get displayed</span>:

    <?php echo strtotime("{order_date +10 days}") ?>

    Would you have any idea?

    Thanks,
    C.

    • This topic was modified 1 year, 2 months ago by wichtc91.
Viewing 1 replies (of 1 total)
  • Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @wichtc91,

    Thanks for reaching out.

    We understand your requirement. However, presently the plugin doesn’t offer any option or hooks to alter the order date shortcode according to your need. Thanks for understanding.

Viewing 1 replies (of 1 total)
  • The topic ‘Shortcodes ‘order_date’ modify date’ is closed to new replies.