• Resolved mssmpuddu

    (@mssmpuddu)


    Hello, I tried sending an email with type partially shipped. This type is from the ast plugin from zorem, but since this type is not found in your plugin i fallback to the default template and so this is the email i get

    Basically the “traccia il tuo ordine” and the links in the footer color are set to #444 but they should be white like all other email.
    To solve this instead of using the default template i tried adding the email type

    add_filter( 'viwec_accept_email_type', function ($email_types) {
    $email_types[] = 'customer_partial_shipped_order';
    return $email_types;
    }, 9999 );

    But it is not added to email types.

    I revert back to the default template and set the a link color to white with custom css
    a{color: #ffffff !important}
    But since the color is set in the style i think it is ignored. This is the css of “traccia il tuo ordine”

    <a  class="xmprfx_track-button" target="_blank" style="word-break: break-word; background: #005b9a; padding: 10px 15px; text-decoration: none; display: inline-block; border-radius: 20px; margin-top: 2px; text-align: center; min-height: 10px; font-size: 14px; color: #444;" bgcolor="#005b9a" rel="noopener noreferrer">Traccia il tuo ordine</a>

    Hope to solve the problem
    Best regards,
    Massimo

    • This topic was modified 10 months, 1 week ago by mssmpuddu.
    • This topic was modified 10 months, 1 week ago by mssmpuddu.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support villasupport

    (@villasupport)

    Hi,

    To display the email type of the 3rd plugin in our plugin, please add the below filter with the email ID of the 3rd email, you can follow this guide to add Code snippets.

    add_filter( 'viwec_accept_email_type', function ($email_types) {
    $email_types[] = 'email_id_1';
    $email_types[] = 'email_id_2';
    return $email_types;
    }, 9999 );

    You can see this example to retrieve the email ID: https://ibb.co/RSJxcDf

    Best regards.

    Thread Starter mssmpuddu

    (@mssmpuddu)

    Hi

    As i have already mention I have already tried that with this snippet

    add_filter( 'viwec_accept_email_type', function ($email_types) {
    $email_types[] = 'customer_partial_shipped_order';
    return $email_types;
    }, 9999 );

    Is this snippets correct based on my image?

    Best regards.

    Plugin Support villasupport

    (@villasupport)

    Hi,

    Please contact us at [email protected] for further assistance.

    Best regadrs

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘ast partially shipped email type’ is closed to new replies.