{* * $Revision: 1.39 $ * If you want to customize this file, do not edit it directly since future upgrades * may overwrite it. Instead, copy it into a new directory called "local" and edit that * version. Gallery will look for that file first and use it if it exists. *}

{g->text text="Items Currently in Your Cart"}

{if !empty($ViewCart.items)}
{g->hiddenFormVars}
{/if} {if isset($status.cartModified)}

{g->text text="Cart updated successfully"}

{/if} {if empty($ViewCart.items)}

{g->text text="Your cart is empty."}

{g->text text="To add items, browse the gallery and select 'Add to cart' from the item's action menu."}

{else}
{foreach from=$ViewCart.items item=item} {/foreach}
{g->text text="Quantity"} {g->text text="Item"} {g->text text="Type"} {g->text text="Remove"}
{if isset($ViewCart.thumbnails[$item.id])} {g->image item=$ViewCart.items[$item.id] image=$ViewCart.thumbnails[$item.id] maxSize=90} {else} {g->text text="No thumbnail"} {/if}
  • {g->text text="Title:"} {$item.title|markup}
  • {g->text text="Summary:"} {$item.summary|markup}
{$ViewCart.itemTypeNames[$item.id].0}
{/if}