Skip to content

Instantly share code, notes, and snippets.

@unlocomqx
Created September 1, 2025 17:52
Show Gist options
  • Save unlocomqx/b4efeb89f0d1f3d88a9b1486df82142a to your computer and use it in GitHub Desktop.
Save unlocomqx/b4efeb89f0d1f3d88a9b1486df82142a to your computer and use it in GitHub Desktop.
Template fix
{*
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