Advertisement
Guest User

Untitled

a guest
Oct 13th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Smarty 0.70 KB | None | 0 0
  1. {block name='cart_detailed_product'}
  2.   <div class="cart-overview js-cart" data-refresh-url="{url entity='cart' params=['ajax' => true, 'action' => 'refresh']}">
  3.     {if $cart.products}
  4.     <ul class="cart-items">
  5.       {foreach from=$cart.products item=product}
  6.         <li class="cart-item">
  7.           {block name='cart_detailed_product_line'}
  8.             {include file='checkout/_partials/cart-detailed-product-line.tpl' product=$product}
  9.           {/block}
  10.         </li>
  11.         {if $product.customizations|count >1}<hr>{/if}
  12.       {/foreach}
  13.     </ul>
  14.     {else}
  15.       <span class="no-items">{l s='There are no more items in your cart' d='Shop.Theme.Checkout'}</span>
  16.     {/if}
  17.   </div>
  18. {/block}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement