PluginProbe
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler / 1.7.1
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler v1.7.1
1.7.1 1.7.0 1.6.6 1.6.5 1.6.4 1.6.3 1.6.2 1.6.1 1.6.0 1.5.4 1.5.5 1.5.3 1.5.2 1.5.1 1.5.0 1.4.2 1.4.1 1.4.0 1.3.28 1.3.27 1.3.26 1.3.25 1.3.23 1.3.22 1.3.21 All 51 releases
← All changes | app/Views/emails/parts/items_table.php +7 -1 1.5.3 → 1.7.1 View file →
@@ -76,9 +76,9 @@
76 76 <?php
77 77 $otherInfo = is_array($item['other_info'] ?? null) ? $item['other_info'] : [];
78 78 $packageInfo = Arr::get($item, 'package_info', '');
79 79 if (!$packageInfo && Arr::get($otherInfo, 'package_name')) {
80 - $packageInfo = \FluentCart\App\Services\Renderer\ProductCardRender::buildPackageInfoFromOtherInfo($otherInfo);
80 + $packageInfo = \FluentCart\App\Services\Renderer\PackageDescriptionRenderer::buildPackageInfoFromOtherInfo($otherInfo);
81 81 }
82 82 if ($packageInfo):
83 83 ?>
84 84 <p style="font-size:12px;color:rgb(107,114,128);line-height:18px;margin: 5px 0 0 0;">
@@ -306,8 +306,9 @@
306 306 $emailRcShippingAdj = (int) \FluentCart\Framework\Support\Arr::get($emailTaxSummaryEarly, 'rcShippingAdjustment', 0);
307 307 ?>
308 308 <?php if ($order->shipping_total > 0):
309 309 $emailDisplayShipping = max(0, (int) $order->shipping_total - $emailRcShippingAdj);
310 + $emailShippingMethodTitle = (string) \FluentCart\Framework\Support\Arr::get($order->config, 'shipping_method_title', '');
310 311 ?>
311 312 <tr style="width:100%">
312 313 <td style="width:70%">
313 314 <p style="font-size:14px;color:rgb(55,65,81);line-height:24px;margin: 0;">
@@ -312,8 +313,13 @@
312 313 <td style="width:70%">
313 314 <p style="font-size:14px;color:rgb(55,65,81);line-height:24px;margin: 0;">
314 315 <?php echo esc_html__('Shipping', 'fluent-cart'); ?>
315 316 </p>
317 + <?php if ($emailShippingMethodTitle): ?>
318 + <p style="font-size:12px;color:rgb(107,114,128);line-height:18px;margin:0;">
319 + <?php echo esc_html($emailShippingMethodTitle); ?>
320 + </p>
321 + <?php endif; ?>
316 322 </td>
317 323 <td style="width:30%;text-align:right">
318 324 <p style="font-size:14px;color:rgb(55,65,81);margin:0;line-height:24px;">
319 325 <?php echo esc_html(\FluentCart\App\Helpers\Helper::toDecimal($emailDisplayShipping)); ?>