Skip to content
This repository has been archived by the owner on Oct 23, 2020. It is now read-only.

Commit

Permalink
Prepare starter theme for PrestaShop/PrestaShop#8904
Browse files Browse the repository at this point in the history
  • Loading branch information
jocel1 committed Jun 27, 2018
1 parent f047f6c commit 7e3f869
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
{/foreach}

{block name='cart_detailed_product_line_customization'}
{if $product.customizations|count}
{if is_array($product.customizations) && $product.customizations|count}
{foreach from=$product.customizations item="customization"}
{foreach from=$customization.fields item="field"}
<span class="product-line-info">
Expand Down
4 changes: 2 additions & 2 deletions templates/checkout/_partials/order-confirmation-table.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
{foreach from=$product.attributes key="attribute" item="value"}
- <span class="value">{$value}</span>
{/foreach}
{if $product.customizations|count}
{if is_array($product.customizations) && $product.customizations|count}
<div class="customizations">
<ul>
{foreach from=$product.customizations item="customization"}
Expand Down Expand Up @@ -88,7 +88,7 @@

<table>
{foreach $subtotals as $subtotal}
{if $subtotal.type !== 'tax'}
{if $subtotal.type !== 'tax' && $subtotal.label !== null}
<tr>
<td>{$subtotal.label}</td>
<td>{$subtotal.value}</td>
Expand Down

0 comments on commit 7e3f869

Please sign in to comment.