Advertisement
Guest User

Untitled

a guest
Mar 30th, 2020
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.57 KB | None | 0 0
  1. <!--?xml version="1.0"?-->
  2. <table border="0" cellpadding="0" cellspacing="0" style="padding-top: 16px; background-color: #F1F1F1; font-family:Verdana, Arial,sans-serif; color: #454748; width: 100%; border-collapse:separate;"><tbody><tr><td align="center">
  3. <table border="0" cellpadding="0" cellspacing="0" width="590" style="padding: 16px; background-color: white; color: #454748; border-collapse:separate;">
  4. <tbody>
  5. <!-- HEADER -->
  6. <tr>
  7. <td align="center" style="min-width: 590px;">
  8. <table border="0" cellpadding="0" cellspacing="0" width="590" style="min-width: 590px; background-color: white; padding: 0px 8px 0px 8px; border-collapse:separate;">
  9. <tbody><tr><td valign="middle">
  10. % set company = object.company_id or object.user_id.company_id or user.company_id
  11. <span style="font-size: 10px;">Your Cart</span><br>
  12. <span style="font-size: 20px; font-weight: bold;">
  13. ${object.name}
  14. </span>
  15. </td><td valign="middle" align="right">
  16. <img src="/logo.png?company=${company.id}" style="padding: 0px; margin: 0px; height: auto; width: 80px;" alt="${company.name}">
  17. </td></tr>
  18. <tr><td colspan="2" style="text-align:center;">
  19. <hr width="100%" style="background-color:rgb(204,204,204);border:medium none;clear:both;display:block;font-size:0px;min-height:1px;line-height:0; margin:16px 0px 16px 0px;">
  20. </td></tr>
  21. </tbody></table>
  22. </td>
  23. </tr>
  24. <!-- CONTENT -->
  25. <tr>
  26. <td align="center" style="min-width: 590px;">
  27. <table border="0" cellpadding="0" cellspacing="0" width="590" style="min-width: 590px; background-color: white; padding: 0px 8px 0px 8px; border-collapse:separate;">
  28. <tbody><tr><td valign="top" style="font-size: 13px;">
  29. <h1 style="color:#A9A9A9;">THERE'S SOMETHING IN YOUR CART.</h1>
  30. Would you like to complete your purchase?<br><br>
  31. % if object.order_line:
  32. % for line in object.website_order_line:
  33. <hr>
  34. <table width="100%">
  35. <tbody><tr>
  36. <td style="padding: 10px; width:150px;">
  37. <img src="/web/image/product.product/${line.product_id.id}/image" height="100px" width="100px" alt="Product image">
  38. </td>
  39. <td>
  40. <strong>${line.product_id.display_name}</strong><br>${line.name}
  41. </td>
  42. <td width="100px" align="right">
  43. ${(line.product_uom_qty) | int} ${(line.product_uom.name)}
  44. </td>
  45. </tr>
  46. </tbody></table>
  47. % endfor
  48. <hr>
  49. % endif
  50. <div style="text-align: center; margin: 16px 0px 16px 0px; font-size: 14px;">
  51. <a href="${object.get_base_url()}/shop/cart?access_token=${object.access_token}" target="_blank" style="background-color: #875A7B; padding: 8px 16px 8px 16px; text-decoration: none; color: #fff; border-radius: 5px; font-size:13px;">
  52. Resume order
  53. </a>
  54. </div>
  55. <div style="text-align: center;"><strong>Thank you for shopping with ${user.company_id.name}!</strong></div>
  56. </td></tr>
  57. <tr><td style="text-align:center;">
  58. <hr width="100%" style="background-color:rgb(204,204,204);border:medium none;clear:both;display:block;font-size:0px;min-height:1px;line-height:0; margin: 16px 0px 16px 0px;">
  59. </td></tr>
  60. </tbody></table>
  61. </td>
  62. </tr>
  63. <!-- FOOTER -->
  64. <tr>
  65. <td align="center" style="min-width: 590px;">
  66. <table border="0" cellpadding="0" cellspacing="0" width="590" style="min-width: 590px; background-color: white; font-size: 11px; padding: 0px 8px 0px 8px; border-collapse:separate;">
  67. <tbody><tr><td valign="middle" align="left">
  68. ${company.name}
  69. </td></tr>
  70. <tr><td valign="middle" align="left" style="opacity: 0.7;">
  71. ${company.phone}
  72. % if company.email
  73. | <a href="'mailto:%s' % ${company.email}" style=" color: #454748;">${company.email}</a>
  74. % endif
  75. % if company.website
  76. | <a href="'%s' % ${company.website}" style=" color: #454748;">${company.website}</a>
  77. % endif
  78. </td></tr>
  79. </tbody></table>
  80. </td>
  81. </tr>
  82. </tbody>
  83. </table>
  84. </td></tr>
  85. <!-- POWERED BY -->
  86. <tr><td align="center" style="min-width: 590px;">
  87. <table border="0" cellpadding="0" cellspacing="0" width="590" style="min-width: 590px; background-color: #F1F1F1; color: #454748; padding: 8px; border-collapse:separate;">
  88. <tbody><tr><td style="text-align: center; font-size: 13px;">
  89. Powered by <a target="_blank" href="https://www.odoo.com?utm_source=db&amp;utm_medium=website" style="color: #875A7B;">Odoo</a>
  90. </td></tr>
  91. </tbody></table>
  92. </td></tr>
  93. </tbody></table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement