Skip to main content

extra fields in the body of the email

More
11 years 7 months ago #190043 by dvddvd
-- HikaShop version -- : bussiness 2.3.5
-- Joomla version -- : 2.5.28
-- PHP version -- : 5.3.10-1ubuntu3.8
-- Browser(s) name and version -- : Chrome

I added these extra fields in the body of the email status change .
Are not required therefore do not always acquire a value .
One could make only appear if they have no value and its value is blank not display



thamks

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago #190061 by nicolas
It's simple.
Instead of :
echo "<b>Label: </b>". $prod->field;
you could have instead:
if(!empty($prod->field)) echo "<b>Label: </b>". $prod->field;
The following user(s) said Thank You: dvddvd

Please Log in or Create an account to join the conversation.

Time to create page: 0.194 seconds
Powered by Kunena Forum