Shortcode not printed in mail

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #113460
    Ylenia Vernucci
    Participant

    HI,
    I created a personalized email for order confirmation f a product category to the customer(Trigger= Order Status Updated To Complete).
    Here is the body of the email:

    <p align="center">Reservation Nr. [wcj_order_number]<br />
    On behalf of: [order_func func="get_billing_first_name"] [order_func func="get_billing_last_name"] -<br /><br />
    <p align="center">
    <table class="table_main"><tr><td align="center">[wcj_order_items_table
    table_class="table_ebike-test"
    variation_as_metadate=no
    columns="item_quantity|item_name|"
    columns_titles="Qty|Reservation and Details| "
    columns_styles="width:5%;text-align:left;|width:75%;text-align:left;|width:20%;|;text-align:left;"]
    </td></tr>
    <tr><td style="padding-top:2%;padding-bottom:2%">
    </td></tr></table>

    Unfortunately, when the customer places the order, he receives the mail but the shortcode values ​​are not printed. However, if I enter the order and resend the confirmation email, then the email is generated correctly. Why? Thank you

    #113584
    blankMoshtafizur
    Moderator
    Plugin Support

    Hi there,

    Thank you for reaching out to us. It appears that most of the shortcodes used in your custom email may not be supported by our plugin.

    However, I have escalated your concern to our development team and they will investigate further to see if there is any solution we can provide to resolve the issue.

    We will get back to you as soon as possible with an update on the matter.

    Thank you for your patience and understanding.

    Kind regards,
    Moshtafizur

    #114734
    blankTom Anbinder
    Moderator
    Plugin Support

    Hi,

    Sorry for the late reply.

    I can see that you have shortcodes with the wcj_ prefix in your email – these shortcodes are from another plugin, you need to use our own shortcodes instead:

    [order_number] instead of the [wcj_order_number], and

    [order_details] instead of the [wcj_order_items_table].

    Please give it a try and let me know what you think.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.