WPPizza – A Restaurant Plugin for WordPress › Support › General Support › HTML E-Mail Format
- AuthorPosts
- 23 July, 2014 at 9:48 am #4465
I would like to change format of some sections within html email
Timed menu out put <b>20.08.2014 17:00h</b>
and <b>Message must be written like this</b>In some emails Tax line is missing
Thanks for your help
25 July, 2014 at 9:29 am #4493to make things bold, just wrap whatever you want in bold in
<b>
tagsalso, i am quite certain the tax is not missing , unless you have done/edited something (or of course have set tax to 0)
25 July, 2014 at 9:49 am #4494Thanks for your reply.
I want to make only one label BOLD, but as I understood from
<tr><td style=”<?php echo $htmlEmailStyle[‘mailPadding’][‘2×15’] ?>;vertical-align:top”><?php echo $v[‘label’]; ?></td><td><?php echo $v[‘value’]; ?><td></tr>
I cannot Handle single values. I can only change the format of all Values.
Any advice?25 July, 2014 at 9:53 am #4495In some orders Tax is shown and in others not. Tax is set to 7% on all items
25 July, 2014 at 10:40 am #4506either modify the loop in the template directly like so for example:
<?php foreach($customer_details_array as $k=>$v){ ?> <?php if($k==3){?> <tr><td style="<?php echo $htmlEmailStyle['mailPadding']['2x15'] ?>;vertical-align:top"><?php echo $v['label']; ?></td><td><b><?php echo $v['value']; ?></b><td></tr> <?php }else{ ?> <tr><td style="<?php echo $htmlEmailStyle['mailPadding']['2x15'] ?>;vertical-align:top"><?php echo $v['label']; ?></td><td><?php echo $v['value']; ?><td></tr> <?php } ?> <?php } ?>
or use the filter as described here
https://www.wp-pizza.com/topic/filter-customer-details-in-html-emails/
25 July, 2014 at 10:44 am #4507and regarding taxes only sometimes showing:
i have no idea what you’ve done there as I cannot see any reason (other than some edits in the email template that have gone wrong) that could do that .
25 July, 2014 at 11:48 am #4509 - AuthorPosts
- The topic ‘HTML E-Mail Format’ is closed to new replies.