• Resolved davidovic123

    (@davidovic123)


    Hi All,

    I wanted to customize the email body in the “text” tab. I added some HTML tags like <br> and updated changes.

    The output doesn’t take these changes. Also, the tags disappear from “text” tab!

    Please, How to customize the emails?`

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello @davidovic123,

    Thank you for choosing our product and writing in!

    There are multiple reasons for this issue. Please navigate to Users > Profile and make sure the ” Disable the visual editor when writing” is not checked.

    Here’s a screenshot for your reference: https://share.getcloudapp.com/rRuOOjeG

    If that didn’t help, try to edit your wp-config.php file and omit the following code if existed:

    define( ‘DISALLOW_FILE_EDIT’, true );

    Hope this helps.

    Let us know how it goes.

    Thread Starter davidovic123

    (@davidovic123)

    Hi @mahdimoafi,

    Thanks for your reply.

    The ”Disable the visual editor when writing” is already unchecked.

    Even more, I added define( ‘DISALLOW_FILE_EDIT’, true ); to wp-config ; but I get this warning message:
    Warning: Use of undefined constant ‘DISALLOW_FILE_EDIT’ – assumed ‘‘DISALLOW_FILE_EDIT’’ (this will throw an Error in a future version of PHP) in… (wp-config.php path)

    The situation still the same, the text editor doesn’t keep changes.

    Hi @davidovic123,

    Thank you for your reply.

    You shouldn’t have added the define( ‘DISALLOW_FILE_EDIT’, true ); to the wp-config.php file.

    You should have removed or commented it.

    Can you please try again and see if it helps?

    Thread Starter davidovic123

    (@davidovic123)

    Hi @mahdimoafi,

    Thanks for your reply.

    As I mentioned before, ”Disable the visual editor when writing” is already unchecked.

    And,
    define( ‘DISALLOW_FILE_EDIT’, true );
    doesn’t exist in wp-config

    I want to note that other plugins, like coupon reminder, tracking number…, which also use the WordPress TinyMCE editor keep the HTML tags when saving!

    But “WooCommerce Cart Abandonment Recovery” unfortunately does not!

    Thank you,

    Plugin Support CartFlows Team

    (@cartflows)

    Hi @davidovic123,

    From WordPress version 3.2, the text editor removed the line break i.e <br> and other HTML tags. But we found one article for you. It will help you to add the line break tags in the text editor.

    https://blog.templatetoaster.com/wordpress-line-break-not-working/

    Hope it helps.

    Thread Starter davidovic123

    (@davidovic123)

    Hi @cartflows,

    It helps.
    Thank you for this resource, it solves the problem.

    Best regards,

    Plugin Support Sravan Bhaskaravajjula

    (@bhshravankumar)

    Hello @davidovic123,

    Awesome! I am happy to hear the issue is resolved.

    Please feel free to get in touch if you need help with anything.

    Have a great day ahead.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Customize the emails’ is closed to new replies.