Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Version published after converting to the new editor

Das Plugin Min/Max/Staffel-Mengen "xt_quantities" ist kostenpflichtig und kann im xt:Commerce Store bezogen werden.

...

{if $qua_quantity_min > 0 or $qua_quantity_max > 0 or $qua_quantity_scale > 0}
<p class="qua text-small">

{if $qua_quantity_min > 0 && !$qua_quantity_scale}{txt key=TEXT_QUA_QUANTITY_MIN}: {$qua_quantity_min|number_format:0}{$own_vpe}<br />
{elseif $qua_quantity_scale > 0}{txt key=TEXT_QUA_QUANTITY_MIN}: {$qua_quantity_scale|number_format:0}{$own_vpe}<br />
{/if}

{if $qua_quantity_max > 0}{txt key=TEXT_QUA_QUANTITY_MAX}: {$qua_quantity_max|number_format:0}{$own_vpe}<br />{/if}

{if $qua_quantity_scale > 0}{txt key=TEXT_QUA_QUANTITY_SCALE}:

{$scale_array = [1,2]}{* 1ster und 2ter Staffelmengen-Eintrag wird angeziegt, dann ... *}

{foreach from=$scale_array item=scale}

{$qua_quantity_scale*$scale|number_format:0}{$own_vpe},&nbsp;

{/foreach}...
{/if}

</p>
{/if}