• Resolved andregouveia

    (@andregouveia)


    Hello, I want to add this text after the price in the total: “VAT exempt, art. 53 CIVA”.

    It appears in the preview but not in the email. The css code I used is this:

    .tvalue-total .woocommerce-Price-amount.amount::after {
    content: ‘ (Isento IVA, arto53 CIVA)’;
    display: block;
    font-size: 11px;
    font-style: italic;
    }

    Can you help me?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support karlalevelup

    (@karlalevelup)

    Hi there!

    I’d be glad to help.

    Additional CSS codes are not guaranteed to be used by email applications. You may want to look into overriding the Kadence WooCommerce email template. However, you will need to use a child theme in this process.

    The template that you’ll override is the “email-order-details.php” file – https://share.zight.com/Wnu8G8WX

    On the other hand, if you are using prices excluding VAT, there is a WooCommerce setting to add the price display suffix. Go to Dashboard > WooCommerce > Settings > Taxhttps://share.zight.com/xQuoWokR

    Will this option help with your intended additional text after the price?

    Regards,
    Karla

    Thread Starter andregouveia

    (@andregouveia)

    I want to put this personalised text after the total price. In the preview it appears but then in the email nothing happens.

    https://ibb.co/Th2w2Nv

    Plugin Support Gilbert Hernandez

    (@ghernkadence)

    Hello @andregouveia

    As Karla mentioned, additional CSS is not guaranteed to be used by all email clients. For example, Google has a list of supported CSS: https://developers.google.com/gmail/design/css#supported_css

    The “content” property is not supported and is stripped out. You view the preview in your browser, which supports the content property, but email providers like Google strip unsupported CSS out of the emails.

    Instead, you’ll need to override the email template, as Karla suggested, to add the content with HTML instead of CSS alone.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add text after price’ is closed to new replies.