oont-contents/plugins/mailpoet/generated/twig/14/14f9ff5904d214d6466ce18bbe7beb06e81b4364800903881fb49bfb21726214.php
2025-04-06 08:34:48 +02:00

263 lines
17 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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/completed_order.hbs */
class __TwigTemplate_6f7e1148a5f3a65b46aa154c34acfe8dd18c1a70f49ceeef161b58952045721f 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\">
<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\">
\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("Weve successfully processed your order, and its 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("Heres a reminder of what youve 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\t";
// line 15
yield $this->extensions['MailPoet\Twig\I18n']->translate("Order summary", "woocommerce");
yield "<br><span style=\"color: #3c3c3c; display: block; font-size: 14px; font-weight: normal;\">";
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;\">
\t\t\t\t\t\t\t\t\t<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\">
\t\t\t\t\t\t\t\t\t</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 28
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;\">
\t\t\t\t\t\t\t\t\t<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\">
\t\t\t\t\t\t\t\t\t</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 46
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 47
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 61
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 66
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 72
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 77
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 82
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 83
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 87
yield $this->extensions['MailPoet\Twig\I18n']->translate("Customer note", "woocommerce");
yield "</b><br>
\t\t\t\t\t\t";
// line 88
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 90
yield $this->extensions['MailPoet\Twig\I18n']->translate("It can be multiple lines. If theres 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 98
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 103
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 113
yield $this->extensions['MailPoet\Twig\I18n']->translate("Thanks for shopping with us.", "woocommerce");
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/completed_order.hbs";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 219 => 113, 206 => 103, 198 => 98, 187 => 90, 182 => 88, 178 => 87, 171 => 83, 167 => 82, 159 => 77, 149 => 72, 140 => 66, 132 => 61, 109 => 47, 105 => 46, 84 => 28, 66 => 15, 60 => 12, 56 => 11, 52 => 10, 42 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/templates/blocks/woocommerceContentImproved/completed_order.hbs", "/home/circleci/mailpoet/mailpoet/views/newsletter/templates/blocks/woocommerceContentImproved/completed_order.hbs");
}
}