email-shipped.php 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. Content-type: text/html; charset=utf-8
  2. From: <?php shopp( 'purchase.email-from' ); ?>
  3. To: <?php shopp( 'purchase.email-to' ); ?>
  4. Subject: <?php shopp( 'purchase.email-subject' ); ?>
  5. <html>
  6. <div id="header">
  7. <h1><?php bloginfo( 'name' ); ?></h1>
  8. <h2><?php _e( 'Order Shipment Notification', 'Shopp' ); ?> <?php shopp( 'purchase','id' ); ?></h2>
  9. </div>
  10. <div id="body">
  11. <div id="receipt" class="shopp">
  12. <table class="labels">
  13. <tr>
  14. <td>
  15. <fieldset class="shipping">
  16. <legend><?php _e( 'Ship to', 'Shopp' ); ?></legend>
  17. <address><?php shopp( 'purchase.shipname' ); ?><br /><br />
  18. <?php shopp( 'purchase.shipaddress' ); ?><br />
  19. <?php shopp( 'purchase.shipxaddress' ); ?>
  20. <?php shopp( 'purchase.shipcity' ); ?>, <?php shopp( 'purchase.shipstate' ); ?> <?php shopp( 'purchase.shippostcode' ); ?><br />
  21. <?php shopp( 'purchase.shipcountry' ); ?></address>
  22. </fieldset>
  23. </td>
  24. <td>
  25. <fieldset class="shipping">
  26. <legend><?php _e( 'Shipment', 'Shopp' ); ?></legend>
  27. <table class="transaction">
  28. <tr>
  29. <th><?php _e( 'Tracking Number:', 'Shopp' ); ?></th>
  30. <td><?php shopp( 'purchase.email-event', 'name=tracking&link=on' ); ?></td>
  31. </tr>
  32. <tr>
  33. <th><?php _e( 'Carrier:', 'Shopp' ); ?></th>
  34. <td><?php shopp( 'purchase.email-event', 'name=carrier' ); ?></td>
  35. </tr>
  36. <tr>
  37. <th><?php _e( 'Order Date:', 'Shopp' ); ?></th>
  38. <td><?php shopp( 'purchase.date' ); ?></td>
  39. </tr>
  40. </table>
  41. </fieldset>
  42. </td>
  43. </tr>
  44. </table>
  45. <?php if ( shopp( 'purchase.hasitems' ) ) : ?>
  46. <table class="order widefat">
  47. <thead>
  48. <tr>
  49. <th scope="col" class="item"><?php _e( 'Items', 'Shopp' ); ?></th>
  50. <th scope="col"><?php _e( 'Quantity', 'Shopp' ); ?></th>
  51. </tr>
  52. </thead>
  53. <?php while ( shopp( 'purchase.items' ) ) : ?>
  54. <tr>
  55. <td>
  56. <?php shopp( 'purchase.item-name' ); ?><?php shopp( 'purchase.item-options', 'before= – ' ); ?><br />
  57. <?php shopp( 'purchase.item-sku' ); ?><br />
  58. <?php shopp( 'purchase.item-addons-list' ); ?>
  59. </td>
  60. <td><?php shopp( 'purchase.item-quantity' ); ?></td>
  61. </tr>
  62. <?php endwhile; ?>
  63. </table>
  64. <?php endif; ?>
  65. </div>
  66. </div>
  67. </html>