[ Index ] |
|
Code source de eZ Publish 3.9.0 |
1 {* DO NOT EDIT THIS FILE! Use an override template instead. *} 2 <div class="toolbar-item {$placement}"> 3 <div class="toolbox"> 4 <div class="toolbox-design"> 5 {let basket=fetch( shop, basket ) 6 use_urlalias=ezini( 'URLTranslator', 'Translation' )|eq( 'enabled' ) 7 basket_items=$basket.items 8 currency=false() 9 $locale = false() 10 $symbol = false()} 11 12 <h2>{"Shopping basket"|i18n("design/standard/toolbar")}</h2> 13 <div class="toolbox-content"> 14 {section show=$basket_items} 15 {set currency = fetch( 'shop', 'currency', hash( 'code', $basket.productcollection.currency_code ) )} 16 {section show=$currency} 17 {set locale = $currency.locale 18 symbol = $currency.symbol} 19 {/section} 20 <ul> 21 {section var=product loop=$basket_items sequence=array( odd, even )} 22 <li> 23 {$product.item.item_count} x <a href={cond( $use_urlalias, $product.item.item_object.contentobject.main_node.url_alias, 24 concat( "content/view/full/", $product.item.node_id ) )|ezurl}>{$product.item.object_name}</a> 25 </li> 26 {/section} 27 </ul> 28 <div class="price"><p>{$basket.total_inc_vat|l10n( 'currency', $locale, $symbol )}</p></div> 29 <p><a href={"/shop/basket"|ezurl}>{"View all details"|i18n("design/standard/toolbar")}</a></p> 30 {section-else} 31 <p>{"Your basket is empty"|i18n("design/standard/toolbar")}</p> 32 {/section} 33 {/let} 34 </div> 35 </div> 36 </div> 37 </div>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sat Feb 24 10:30:04 2007 | par Balluche grâce à PHPXref 0.7 |