257 lines
17 KiB
PHP
257 lines
17 KiB
PHP
<?php
|
||
|
||
if (!defined('ABSPATH')) exit;
|
||
|
||
|
||
use MailPoetVendor\Twig\Environment;
|
||
use MailPoetVendor\Twig\Error\LoaderError;
|
||
use MailPoetVendor\Twig\Error\RuntimeError;
|
||
use MailPoetVendor\Twig\Extension\CoreExtension;
|
||
use MailPoetVendor\Twig\Extension\SandboxExtension;
|
||
use MailPoetVendor\Twig\Markup;
|
||
use MailPoetVendor\Twig\Sandbox\SecurityError;
|
||
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
|
||
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
|
||
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||
use MailPoetVendor\Twig\Source;
|
||
use MailPoetVendor\Twig\Template;
|
||
|
||
/* newsletter/templates/blocks/woocommerceContentImproved/processing_order.hbs */
|
||
class __TwigTemplate_a48d787d9575f1182960bff4df69cda2c5953bb35a467320cc2088e9c846d971 extends Template
|
||
{
|
||
private $source;
|
||
private $macros = [];
|
||
|
||
public function __construct(Environment $env)
|
||
{
|
||
parent::__construct($env);
|
||
|
||
$this->source = $this->getSourceContext();
|
||
|
||
$this->parent = false;
|
||
|
||
$this->blocks = [
|
||
];
|
||
}
|
||
|
||
protected function doDisplay(array $context, array $blocks = [])
|
||
{
|
||
$macros = $this->macros;
|
||
// line 1
|
||
yield "<div class=\"mailpoet_tools\"></div>
|
||
<div class=\"mailpoet_woocommerce_content_overlay\">
|
||
\t<p>";
|
||
// line 3
|
||
yield $this->extensions['MailPoet\Twig\I18n']->translate("Autogenerated content by WooCommerce");
|
||
yield "</p>
|
||
</div>
|
||
<div class=\"mailpoet_content mailpoet_woocommerce_content\" data-automation-id=\"woocommerce_content\" style=\"font-family:'Helvetica Neue',Helvetica,Roboto,Arial,sans-serif;font-size:14px;line-height:150%;text-align:left;\">
|
||
|
||
\t<!-- WooCommerce email template start -->
|
||
\t<div class=\"email-introduction\" style=\"padding-bottom: 24px;\">
|
||
\t\t<p style=\"margin: 0 0 16px;\">
|
||
\t\t\t";
|
||
// line 10
|
||
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(MailPoetVendor\Twig\Extension\CoreExtension::sprintf($this->extensions['MailPoet\Twig\I18n']->translate("Hi %s,", "woocommerce"), "Jane"), "html", null, true);
|
||
yield "</p>
|
||
\t\t<p style=\"margin: 0 0 16px;\">";
|
||
// line 11
|
||
yield $this->extensions['MailPoet\Twig\I18n']->translate("We’ve received your order and will let you know when it’s on its way to you!", "woocommerce");
|
||
yield "</p>
|
||
\t\t<p style=\"margin: 0 0 16px;\">";
|
||
// line 12
|
||
yield $this->extensions['MailPoet\Twig\I18n']->translate("Here’s a reminder of what you’ve ordered:", "woocommerce");
|
||
yield "</p>
|
||
\t</div>
|
||
\t<h2 class=\"email-order-detail-heading\" style='color: #3c3c3c; display: block; font-family: \"Helvetica Neue\",Helvetica,Roboto,Arial,sans-serif; font-size: 20px; font-weight: bold; line-height: 160%; margin: 0 0 18px; text-align: left;'>
|
||
\t\tOrder summary<br><span style=\"color: #3c3c3c; display: block; font-size: 14px; font-weight: normal;\">";
|
||
// line 15
|
||
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(MailPoetVendor\Twig\Extension\CoreExtension::sprintf($this->extensions['MailPoet\Twig\I18n']->translate("Order #%s", "woocommerce"), "12345"), "html", null, true);
|
||
yield " (March 3, 2025)</span>
|
||
\t</h2>
|
||
\t<div style=\"margin-bottom: 24px;\">
|
||
\t\t<table class=\"td font-family email-order-details\" cellspacing=\"0\" cellpadding=\"6\" border=\"0\" style='color: #636363; border: 0; vertical-align: middle; font-family: \"Helvetica Neue\",Helvetica,Roboto,Arial,sans-serif; width: 100%;' width=\"100%\">
|
||
\t\t\t<tbody>
|
||
\t\t\t\t<tr class=\"order_item\">
|
||
\t\t\t\t\t<td class=\"td font-family text-align-left\" style='color: #636363; border: 0; font-family: \"Helvetica Neue\",Helvetica,Roboto,Arial,sans-serif; text-align: left; padding: 8px 12px; padding-left: 0; vertical-align: middle; word-wrap: break-word;' align=\"left\">
|
||
\t\t\t\t\t\t<table class=\"order-item-data\" style='color: #3c3c3c; font-family: \"Helvetica Neue\",Helvetica,Roboto,Arial,sans-serif;'>
|
||
\t\t\t\t\t\t\t<tr>
|
||
\t\t\t\t\t\t\t\t<td style=\"vertical-align: middle; padding-left: 0; border-bottom: 1px solid rgba(0,0,0,.2); padding-bottom: 24px; border: 0; padding: 0;\"><img src=\"http://mailpoet.plugin:8002/wp-content/plugins/woocommerce/assets/images/placeholder.png\" width=\"48\" height=\"48\" alt=\"\" style=\"border: none; display: inline-block; font-size: 14px; font-weight: bold; height: auto; outline: none; text-decoration: none; text-transform: capitalize; vertical-align: middle; margin-right: 24px; max-width: 100%;\" border=\"0\"></td>
|
||
\t\t\t\t\t\t\t\t<td style=\"vertical-align: middle; padding-right: 0; border-bottom: 1px solid rgba(0,0,0,.2); padding-bottom: 24px; border: 0; padding: 0;\">
|
||
\t\t\t\t\t\t\t\t\t";
|
||
// line 26
|
||
yield $this->extensions['MailPoet\Twig\I18n']->translate("Dummy Product", "woocommerce");
|
||
yield "<div class=\"email-order-item-meta\" style=\"color: #3c3c3c; font-size: 14px; line-height: 140%;\"></div>
|
||
\t\t\t\t\t\t\t\t</td>
|
||
\t\t\t\t\t\t\t</tr>
|
||
\t\t\t\t\t\t</table>
|
||
\t\t\t\t\t</td>
|
||
\t\t\t\t\t<td class=\"td font-family text-align-right\" style='color: #636363; border: 0; font-family: \"Helvetica Neue\",Helvetica,Roboto,Arial,sans-serif; text-align: right; padding: 8px 12px; vertical-align: middle;' align=\"right\">
|
||
\t\t\t\t\t\t×2 </td>
|
||
\t\t\t\t\t<td class=\"td font-family text-align-right\" style='color: #636363; border: 0; font-family: \"Helvetica Neue\",Helvetica,Roboto,Arial,sans-serif; text-align: right; padding: 8px 12px; padding-right: 0; vertical-align: middle;' align=\"right\">
|
||
\t\t\t\t\t\t<span class=\"woocommerce-Price-amount amount\">50,00 <span class=\"woocommerce-Price-currencySymbol\">\$</span></span> </td>
|
||
\t\t\t\t</tr>
|
||
\t\t\t\t<tr class=\"order_item\">
|
||
\t\t\t\t\t<td class=\"td font-family text-align-left\" style='color: #636363; border: 0; font-family: \"Helvetica Neue\",Helvetica,Roboto,Arial,sans-serif; text-align: left; padding: 8px 12px; padding-left: 0; border-bottom: 1px solid rgba(0,0,0,.2); padding-bottom: 24px; vertical-align: middle; word-wrap: break-word;' align=\"left\">
|
||
\t\t\t\t\t\t<table class=\"order-item-data\" style='color: #3c3c3c; font-family: \"Helvetica Neue\",Helvetica,Roboto,Arial,sans-serif;'>
|
||
\t\t\t\t\t\t\t<tr>
|
||
\t\t\t\t\t\t\t\t<td style=\"vertical-align: middle; padding-left: 0; border-bottom: 1px solid rgba(0,0,0,.2); padding-bottom: 24px; border: 0; padding: 0;\"><img src=\"http://mailpoet.plugin:8002/wp-content/plugins/woocommerce/assets/images/placeholder.png\" width=\"48\" height=\"48\" alt=\"\" style=\"border: none; display: inline-block; font-size: 14px; font-weight: bold; height: auto; outline: none; text-decoration: none; text-transform: capitalize; vertical-align: middle; margin-right: 24px; max-width: 100%;\" border=\"0\"></td>
|
||
\t\t\t\t\t\t\t\t<td style=\"vertical-align: middle; padding-right: 0; border-bottom: 1px solid rgba(0,0,0,.2); padding-bottom: 24px; border: 0; padding: 0;\">
|
||
\t\t\t\t\t\t\t\t\t";
|
||
// line 42
|
||
yield $this->extensions['MailPoet\Twig\I18n']->translate("Dummy Product Variation", "woocommerce");
|
||
yield "<div class=\"email-order-item-meta\" style=\"color: #3c3c3c; font-size: 14px; line-height: 140%;\">
|
||
\t\t\t\t\t\t\t\t\t\t<span>";
|
||
// line 43
|
||
yield $this->extensions['MailPoet\Twig\I18n']->translate("Color:", "woocommerce");
|
||
yield "</span> ";
|
||
yield $this->extensions['MailPoet\Twig\I18n']->translate("Red", "woocommerce");
|
||
yield "<br><span>";
|
||
yield $this->extensions['MailPoet\Twig\I18n']->translate("Size:", "woocommerce");
|
||
yield "</span> ";
|
||
yield $this->extensions['MailPoet\Twig\I18n']->translate("Small", "woocommerce");
|
||
yield "</div>
|
||
\t\t\t\t\t\t\t\t</td>
|
||
\t\t\t\t\t\t\t</tr>
|
||
\t\t\t\t\t\t</table>
|
||
\t\t\t\t\t</td>
|
||
\t\t\t\t\t<td class=\"td font-family text-align-right\" style='color: #636363; border: 0; font-family: \"Helvetica Neue\",Helvetica,Roboto,Arial,sans-serif; text-align: right; padding: 8px 12px; border-bottom: 1px solid rgba(0,0,0,.2); padding-bottom: 24px; vertical-align: middle;' align=\"right\">
|
||
\t\t\t\t\t\t×1 </td>
|
||
\t\t\t\t\t<td class=\"td font-family text-align-right\" style='color: #636363; border: 0; font-family: \"Helvetica Neue\",Helvetica,Roboto,Arial,sans-serif; text-align: right; padding: 8px 12px; padding-right: 0; border-bottom: 1px solid rgba(0,0,0,.2); padding-bottom: 24px; vertical-align: middle;' align=\"right\">
|
||
\t\t\t\t\t\t<span class=\"woocommerce-Price-amount amount\">20,00 <span class=\"woocommerce-Price-currencySymbol\">\$</span></span> </td>
|
||
\t\t\t\t</tr>
|
||
\t\t\t</tbody>
|
||
\t\t\t<tfoot>
|
||
\t\t\t\t<tr class=\"order-totals order-totals-subtotal\">
|
||
\t\t\t\t\t<th class=\"td text-align-left\" scope=\"row\" colspan=\"2\" style=\"color: #636363; border: 0; vertical-align: middle; text-align: left; padding: 8px 12px; font-weight: normal; padding-bottom: 5px; padding-left: 0; padding-top: 24px; border-top-width: 4px;\" align=\"left\">
|
||
\t\t\t\t\t\t";
|
||
// line 57
|
||
yield $this->extensions['MailPoet\Twig\I18n']->translate("Subtotal:", "woocommerce");
|
||
yield " </th>
|
||
\t\t\t\t\t<td class=\"td text-align-right\" style=\"color: #636363; border: 0; vertical-align: middle; text-align: right; padding: 8px 12px; font-weight: normal; padding-bottom: 5px; padding-right: 0; padding-top: 24px; border-top-width: 4px;\" align=\"right\"><span class=\"woocommerce-Price-amount amount\">70,00 <span class=\"woocommerce-Price-currencySymbol\">\$</span></span></td>
|
||
\t\t\t\t</tr>
|
||
\t\t\t\t<tr class=\"order-totals order-totals-discount\">
|
||
\t\t\t\t\t<th class=\"td text-align-left\" scope=\"row\" colspan=\"2\" style=\"color: #636363; border: 0; vertical-align: middle; text-align: left; padding: 8px 12px; font-weight: normal; padding-bottom: 5px; padding-top: 5px; padding-left: 0;\" align=\"left\">
|
||
\t\t\t\t\t\t";
|
||
// line 62
|
||
yield $this->extensions['MailPoet\Twig\I18n']->translate("Discount:", "woocommerce");
|
||
yield " </th>
|
||
\t\t\t\t\t<td class=\"td text-align-right\" style=\"color: #636363; border: 0; vertical-align: middle; text-align: right; padding: 8px 12px; font-weight: normal; padding-bottom: 5px; padding-top: 5px; padding-right: 0;\" align=\"right\">-<span class=\"woocommerce-Price-amount amount\">10,00 <span class=\"woocommerce-Price-currencySymbol\">\$</span></span>
|
||
\t\t\t\t\t</td>
|
||
\t\t\t\t</tr>
|
||
\t\t\t\t<tr class=\"order-totals order-totals-shipping\">
|
||
\t\t\t\t\t<th class=\"td text-align-left\" scope=\"row\" colspan=\"2\" style=\"color: #636363; border: 0; vertical-align: middle; text-align: left; padding: 8px 12px; font-weight: normal; padding-bottom: 5px; padding-top: 5px; padding-left: 0;\" align=\"left\">
|
||
\t\t\t\t\t\t";
|
||
// line 68
|
||
yield $this->extensions['MailPoet\Twig\I18n']->translate("Shipping:", "woocommerce");
|
||
yield " ";
|
||
yield $this->extensions['MailPoet\Twig\I18n']->translate("Flat rate", "woocommerce");
|
||
yield " </th>
|
||
\t\t\t\t\t<td class=\"td text-align-right\" style=\"color: #636363; border: 0; vertical-align: middle; text-align: right; padding: 8px 12px; font-weight: normal; padding-bottom: 5px; padding-top: 5px; padding-right: 0;\" align=\"right\"><span class=\"woocommerce-Price-amount amount\">5,00 <span class=\"woocommerce-Price-currencySymbol\">\$</span></span></td>
|
||
\t\t\t\t</tr>
|
||
\t\t\t\t<tr class=\"order-totals order-totals-total\">
|
||
\t\t\t\t\t<th class=\"td text-align-left\" scope=\"row\" colspan=\"2\" style=\"color: #636363; border: 0; vertical-align: middle; text-align: left; padding: 8px 12px; padding-bottom: 5px; padding-top: 5px; font-weight: bold; padding-left: 0;\" align=\"left\">
|
||
\t\t\t\t\t\t";
|
||
// line 73
|
||
yield $this->extensions['MailPoet\Twig\I18n']->translate("Total:", "woocommerce");
|
||
yield " </th>
|
||
\t\t\t\t\t<td class=\"td text-align-right\" style=\"color: #636363; border: 0; vertical-align: middle; text-align: right; padding: 8px 12px; padding-bottom: 5px; padding-top: 5px; font-weight: bold; font-size: 20px; padding-right: 0;\" align=\"right\"><span class=\"woocommerce-Price-amount amount\">65,00 <span class=\"woocommerce-Price-currencySymbol\">\$</span></span></td>
|
||
\t\t\t\t</tr>
|
||
\t\t\t\t<tr class=\"order-totals order-totals-payment_method order-totals-last\">
|
||
\t\t\t\t\t<th class=\"td text-align-left\" scope=\"row\" colspan=\"2\" style=\"color: #636363; border: 0; vertical-align: middle; text-align: left; padding: 8px 12px; font-weight: normal; padding-top: 5px; border-bottom: 1px solid rgba(0,0,0,.2); padding-bottom: 24px; padding-left: 0;\" align=\"left\">
|
||
\t\t\t\t\t\t";
|
||
// line 78
|
||
yield $this->extensions['MailPoet\Twig\I18n']->translate("Payment method:", "woocommerce");
|
||
yield " </th>
|
||
\t\t\t\t\t<td class=\"td text-align-right\" style=\"color: #636363; border: 0; vertical-align: middle; text-align: right; padding: 8px 12px; font-weight: normal; padding-top: 5px; border-bottom: 1px solid rgba(0,0,0,.2); padding-bottom: 24px; padding-right: 0;\" align=\"right\">";
|
||
// line 79
|
||
yield $this->extensions['MailPoet\Twig\I18n']->translate("Direct bank transfer", "woocommerce");
|
||
yield "</td>
|
||
\t\t\t\t</tr>
|
||
\t\t\t\t<tr class=\"order-customer-note\">
|
||
\t\t\t\t\t<td class=\"td text-align-left\" colspan=\"3\" style=\"color: #636363; border: 0; vertical-align: middle; text-align: left; padding: 8px 12px; border-bottom: 1px solid rgba(0,0,0,.2); padding-bottom: 24px; padding-top: 24px; padding-left: 0; padding-right: 0;\" align=\"left\">
|
||
\t\t\t\t\t\t<b>";
|
||
// line 83
|
||
yield $this->extensions['MailPoet\Twig\I18n']->translate("Customer note", "woocommerce");
|
||
yield "</b><br>
|
||
\t\t\t\t\t\t";
|
||
// line 84
|
||
yield $this->extensions['MailPoet\Twig\I18n']->translate("This is a customer note. Customers can add a note to their order on checkout.", "woocommerce");
|
||
yield "<br>
|
||
\t\t\t\t\t\t<br>
|
||
\t\t\t\t\t\t";
|
||
// line 86
|
||
yield $this->extensions['MailPoet\Twig\I18n']->translate("It can be multiple lines. If there’s no note, this section is hidden.", "woocommerce");
|
||
yield " </td>
|
||
\t\t\t\t</tr>
|
||
\t\t\t</tfoot>
|
||
\t\t</table>
|
||
\t</div>
|
||
\t<table id=\"addresses\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" style=\"width: 100%; vertical-align: top; margin-bottom: 0; padding: 0;\" width=\"100%\">
|
||
\t\t<tr>
|
||
\t\t\t<td class=\"font-family text-align-left\" valign=\"top\" width=\"50%\" style='font-family: \"Helvetica Neue\",Helvetica,Roboto,Arial,sans-serif; text-align: left; border: 0; padding: 0;' align=\"left\">
|
||
\t\t\t\t<b class=\"address-title\" style='color: #3c3c3c; font-family: \"Helvetica Neue\",Helvetica,Roboto,Arial,sans-serif;'>";
|
||
// line 94
|
||
yield $this->extensions['MailPoet\Twig\I18n']->translate("Billing address", "woocommerce");
|
||
yield "</b>
|
||
\t\t\t\t<address class=\"address\" style=\"color: #3c3c3c; font-style: normal; padding: 8px 0;\">
|
||
\t\t\t\t\tJohn Doe<br>Company<br>123 Fake Street<br>Faketown, CA 12345<br>United States (US) <br><a target=\"_blank\" href=\"tel:5555555555\" style=\"color: #7f54b3; font-weight: normal; text-decoration: underline;\">555-555-5555</a> <br>john@company.com </address>
|
||
\t\t\t</td>
|
||
\t\t\t<td class=\"font-family text-align-left\" valign=\"top\" width=\"50%\" style='font-family: \"Helvetica Neue\",Helvetica,Roboto,Arial,sans-serif; text-align: left; padding: 0;' align=\"left\">
|
||
\t\t\t\t<b class=\"address-title\" style='color: #3c3c3c; font-family: \"Helvetica Neue\",Helvetica,Roboto,Arial,sans-serif;'>";
|
||
// line 99
|
||
yield $this->extensions['MailPoet\Twig\I18n']->translate("Shipping address", "woocommerce");
|
||
yield "</b>
|
||
\t\t\t\t<address class=\"address\" style=\"color: #3c3c3c; font-style: normal; padding: 8px 0;\">
|
||
\t\t\t\t\tJohn Doe<br>Company<br>123 Fake Street<br>Faketown, CA 12345<br>United States (US) <br><a target=\"_blank\" href=\"tel:5555555555\" style=\"color: #7f54b3; font-weight: normal; text-decoration: underline;\">555-555-5555</a> </address>
|
||
\t\t\t</td>
|
||
\t\t</tr>
|
||
\t</table>
|
||
\t<br>
|
||
\t<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">
|
||
\t\t<tr>
|
||
\t\t\t<td class=\"email-additional-content\" style='color: #3c3c3c; font-family: \"Helvetica Neue\",Helvetica,Roboto,Arial,sans-serif; padding: 32px 0 0;'>
|
||
\t\t\t\t<p style=\"text-align: center; margin: 0 0 16px;\" align=\"center\">";
|
||
// line 109
|
||
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(MailPoetVendor\Twig\Extension\CoreExtension::sprintf($this->extensions['MailPoet\Twig\I18n']->translate("Thanks for using %s!", "woocommerce"), "{{siteName}}"), "html", null, true);
|
||
yield "</p>
|
||
\t\t\t</td>
|
||
\t\t</tr>
|
||
\t</table>
|
||
\t<!-- WooCommerce email template end -->
|
||
|
||
</div>
|
||
<div class=\"mailpoet_block_highlight\"></div>
|
||
";
|
||
return; yield '';
|
||
}
|
||
|
||
/**
|
||
* @codeCoverageIgnore
|
||
*/
|
||
public function getTemplateName()
|
||
{
|
||
return "newsletter/templates/blocks/woocommerceContentImproved/processing_order.hbs";
|
||
}
|
||
|
||
/**
|
||
* @codeCoverageIgnore
|
||
*/
|
||
public function isTraitable()
|
||
{
|
||
return false;
|
||
}
|
||
|
||
/**
|
||
* @codeCoverageIgnore
|
||
*/
|
||
public function getDebugInfo()
|
||
{
|
||
return array ( 213 => 109, 200 => 99, 192 => 94, 181 => 86, 176 => 84, 172 => 83, 165 => 79, 161 => 78, 153 => 73, 143 => 68, 134 => 62, 126 => 57, 103 => 43, 99 => 42, 80 => 26, 66 => 15, 60 => 12, 56 => 11, 52 => 10, 42 => 3, 38 => 1,);
|
||
}
|
||
|
||
public function getSourceContext()
|
||
{
|
||
return new Source("", "newsletter/templates/blocks/woocommerceContentImproved/processing_order.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/woocommerceContentImproved/processing_order.hbs");
|
||
}
|
||
}
|