Created
September 1, 2025 17:52
-
-
Save unlocomqx/b4efeb89f0d1f3d88a9b1486df82142a to your computer and use it in GitHub Desktop.
Template fix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{* | |
open themes/[your theme]/templates/checkout/_partials/order-confirmation-table.tpl | |
look for {foreach from=$product.customizations item="customization"} | |
replace that block with the following block | |
*} | |
{foreach from=$product.customizations item="customization"} | |
{foreach from=$customization.fields item="field"} | |
<div class="product-customization-line"> | |
<div class="label" style="text-align: left"> | |
{$field.label} | |
</div> | |
<div class="value"> | |
{if $field.type == 'text'} | |
{if (int)$field.id_module} | |
{$field.text nofilter} {*·html·constructed·by·the·module·*} | |
{else} | |
{$field.text} | |
{/if} | |
{elseif $field.type == 'image'} | |
<img src="{$field.image.small.url}" loading="lazy"> | |
{/if} | |
</div> | |
</div> | |
{/foreach} | |
{/foreach} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment