Advertisement
valeraplusplus

Untitled

Jun 17th, 2022
1,497
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Smarty 0.95 KB | None | 0 0
  1. shop2.v2-cart-product.tpl   cart-popup-product.tpl
  2. {$k} {$e.kind_id}
  3. [co] [$key]
  4. {$smarty.section.co.index} {$pos}
  5.  
  6.  
  7. {if isset($products[$e.kind_id])}
  8.     {assign var="product" value=$products[$e.kind_id]}
  9. {else}
  10.     {assign var="product" value=$products[$k]}
  11. {/if}
  12.  
  13.     {if $site.reg.shop2.cf_margin_price_enabled && isset($e.position)}
  14.         {assign var=pos value=$e.position[$k]} {*позиция*}
  15.         {assign var=key value=$k} {*уникальный ключ итема*}
  16.     {else}
  17.         {assign var=pos value=$smarty.section.co.index} {*позиция*}
  18.         {assign var=key value=$smarty.section.co.index} {*ключ итема*}
  19.     {/if}
  20. $option.not_mod   $product.cf.$o_name.not_mod
  21.  
  22.  
  23. *******************************************************
  24. shop2.v2-product-options.tpl
  25.  
  26. $option.not_mod   $product.cf.$o_name.not_mod
  27.  
  28. ******************************************************
  29. shop2.2.130-color-ext.tpl
  30.  
  31. $option.not_mod   $product.cf.$o_name.not_mod
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement