HTML E-Mail Format

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #4465
    mubi
    Participant

      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

      #4493
      Olly
      Admin & Mod

        to make things bold, just wrap whatever you want in bold in <b> tags

        also, i am quite certain the tax is not missing , unless you have done/edited something (or of course have set tax to 0)

        #4494
        mubi
        Participant

          Thanks 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?

          #4495
          mubi
          Participant

            In some orders Tax is shown and in others not. Tax is set to 7% on all items
            Tax

            #4506
            Olly
            Admin & Mod

              either 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/

              #4507
              Olly
              Admin & Mod

                and 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 .

                #4509
                mubi
                Participant

                  Thanks very much for providing this function

                Viewing 7 posts - 1 through 7 (of 7 total)
                • The topic ‘HTML E-Mail Format’ is closed to new replies.