Sent emails – Hide labels of empty fields
-
Hi, Thanks a mil for this great plugin! so much appreciated!
I am struggling to find a way to hide labels next to empty fields in the sent email (body message).
When a user does not fill non-required fields, and since i create labels in the body message, in the received email there are just labels without a value and it is not great!
Example of my template:
<strong>From:</strong> [your-name] [YourSurname] <strong>Email:</strong> [your-email] <strong>Contact me via:</strong> [contact_method] <strong>Telephone:</strong> [telephone] <strong>Product Code:</strong> [product-code] <strong>Variant:</strong> [product-variant] <strong>Date of purchase:</strong> [dateofpurchase] <strong>Store: </strong>[store]
and I get this:
From: John doe Email: [email protected] Nature of enquiry: General enquiry Contact me via: [contact_method] Telephone: 00000000 Product Code: Variant: Date of purchase: Store: Message Body: TEST TEST TEST
So I want to get rid of the empty once when the user does not fill in these fields…
Makes sense? any help will be highly appreciated.
A
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Sent emails – Hide labels of empty fields’ is closed to new replies.