Minishop2 + msOptionsPrice: strange outpt
Hi all!
I use Minishop2 (2.4.12) and msOptionPrice (2.5.8-beta).
With
How can I fix this?
Best regards
Fabian
I use Minishop2 (2.4.12) and msOptionPrice (2.5.8-beta).
With
[[!msCart? &tpl=`pix.msCart`]]
and pix.msCart chunk...
{if $product.options?}
<div class="small">
{$product.options | join : '; '}
</div>
{/if}
...
product options output is as shown in the image.How can I fix this?
Best regards
Fabian
Комментарии: 3
Hello.
Replace it with
Replace it with
{if $product.options?}
{foreach $product.options as $key => $option}
{* exclude the option key *}
{if $key in ['modification','modifications','msal']}{continue}{/if}
{set $caption = ('ms2_product_' ~ $key)|lexicon}
{if $option is array}
{$caption} - {$option | join : '; '}
{else}
{$caption} - {$option}
{/if}
{/foreach}
{/if}
Works perfect!
Thank you very much!
Thank you very much!
Not at all.
Авторизуйтесь или зарегистрируйтесь, чтобы оставлять комментарии.