⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 order_data.tpl

📁 NetGou商城购物系统是一款功能强大完善、操作界面友好、可扩展性好、专门针对个人和企业进行网上销售而开发的一套商城购物系统。 它具有完善的商品管理、订单管理、销售统计、新闻管理、结算系统、税率系统、
💻 TPL
字号:
{* $Id: order_data.tpl,v 1.18.2.1 2004/09/14 06:02:28 max Exp $ *}<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0"><TR><TD align="center"><FONT style="FONT-SIZE: 14px"><B>{$lng.lbl_products_ordered}</B></FONT></TD></TR></TABLE><TABLE cellSpacing="0" cellPadding="3" width="100%" border="1"><TR><TH width="60" bgColor="#cccccc">{$lng.lbl_sku}</TH><TH bgColor="#cccccc">{$lng.lbl_product}</TH>{if $order.extra.tax_info.display_cart_products_tax_rates eq "Y"}<TH nowrap width="100" bgColor="#cccccc">{if $order.extra.tax_info.product_tax_name ne ""}{$order.extra.tax_info.product_tax_name}{else}{$lng.lbl_tax}{/if}</TH>{/if}<TH nowrap width="100" bgColor="#cccccc" align="center">{$lng.lbl_item_price}</TH><TH width="60" bgColor="#cccccc">{$lng.lbl_quantity}</TH><TH width="60" bgColor="#cccccc">{$lng.lbl_total}<BR><IMG height="1" src="{$ImagesDir}/spacer.gif" width="50" border="0"></TH></TR>{foreach from=$products item=product}<TR><TD align="center">{$product.productcode}</TD><TD><FONT style="FONT-SIZE: 11px">{$product.product}</FONT>{if $product.product_options ne ''}<TABLE><TR><TD valign="top"><B>{$lng.lbl_options}:</B></TD> <TD>{include file="modules/Product_Options/display_options.tpl" options=$product.product_options}</TD></TR></TABLE>{/if}</TD>{if $order.extra.tax_info.display_cart_products_tax_rates eq "Y"}<TD align="center">{foreach from=$product.extra_data.taxes key=tax_name item=tax}{if $tax.tax_value gt 0}{if $order.extra.tax_info.product_tax_name eq ""}{$tax.tax_display_name} {/if}{if $tax.rate_type eq "%"}{$tax.rate_value}%{else}{include file="currency.tpl" value=$tax.rate_value}{/if}<BR>{/if}{/foreach}</TD>{/if}<TD align="right">{include file="currency.tpl" value=$product.display_price}&nbsp;&nbsp;</TD><TD align="center">{$product.amount}</TD><TD align="right">{math assign="total" equation="amount*price" amount=$product.amount price=$product.display_price}{include file="currency.tpl" value=$total}&nbsp;&nbsp;</TD></TR>{/foreach}{if $giftcerts ne ''}{foreach from=$giftcerts item=gc}<TR><TD>&nbsp;</TD><TD><NOBR>{$lng.lbl_gift_certificate}:</NOBR> {$gc.gcid}</TD>{if $order.extra.tax_info.display_cart_products_tax_rates eq "Y"}<TD align="center">&nbsp;-&nbsp;</TD>{/if}<TD align="right">{include file="currency.tpl" value=$gc.amount}&nbsp;&nbsp;</TD><TD align="center">1</TD><TD align="right">{include file="currency.tpl" value=$gc.amount}&nbsp;&nbsp;</TD></TR>{/foreach}{/if}</TABLE><TABLE cellSpacing="0" cellPadding="0" width="100%" align="right" border="0"><TR><TD align="right" width="100%" height="20"><B>{$lng.lbl_subtotal}:</B>&nbsp;</TD><TD align="right">{include file="currency.tpl" value=$order.display_subtotal}&nbsp;&nbsp;&nbsp;</TD></TR>{if $order.discount gt 0}<TR><TD align="right" height="20"><B>{$lng.lbl_discount}:</B>&nbsp;</TD><TD align="right">{include file="currency.tpl" value=$order.discount}&nbsp;&nbsp;&nbsp;</TD></TR>{/if}{if $order.coupon and $order.coupon_type ne "free_ship"}<TR><TD align="right" height="20"><B>{$lng.lbl_coupon_saving}:</B>&nbsp;</TD><TD align="right">{include file="currency.tpl" value=$order.coupon_discount}&nbsp;&nbsp;&nbsp;</TD></TR>{/if}{if $order.discounted_subtotal ne $order.subtotal}<TR><TD align="right" width="100%" height="20"><B>{$lng.lbl_discounted_subtotal}:</B>&nbsp;</TD><TD align="right">{include file="currency.tpl" value=$order.display_discounted_subtotal}&nbsp;&nbsp;&nbsp;</TD></TR>{/if}<TR><TD align="right" height="20"><B>{$lng.lbl_shipping_cost}:</B>&nbsp;</TD><TD align="right">{include file="currency.tpl" value=$order.display_shipping_cost}&nbsp;&nbsp;&nbsp;</TD></TR>{if $order.coupon and $order.coupon_type eq "free_ship"}<TR><TD align="right" height="20"><B>{$lng.lbl_coupon_saving}:</B>&nbsp;</TD><TD align="right">{include file="currency.tpl" value=$order.coupon_discount}&nbsp;&nbsp;&nbsp;</TD></TR>{/if}{if $order.applied_taxes and $order.extra.tax_info.display_taxed_order_totals ne "Y"}{foreach key=tax_name item=tax from=$order.applied_taxes}<TR><TD align="right" width="100%" height="20"><B>{$tax.tax_display_name}{if $tax.rate_type eq "%"} {$tax.rate_value}%{/if}:</B>&nbsp;</TD><TD align="right">{include file="currency.tpl" value=$tax.tax_cost}&nbsp;&nbsp;&nbsp;</TD></TR>{/foreach}{/if}{if $order.giftcert_discount gt 0}<TR><TD align="right" height="20"><B>{$lng.lbl_giftcert_discount}:</B>&nbsp;</TD><TD align="right">{include file="currency.tpl" value=$order.giftcert_discount}&nbsp;&nbsp;&nbsp;</TD></TR>{/if}<TR><TD bgColor="#000000"><IMG height="2" src="{$ImagesDir}/spacer_black.gif" width="100%"></TD><TD bgColor="#000000"><IMG height="2" src="{$ImagesDir}/spacer_black.gif" width="70"></TD></TR><TR><TD align="right" bgColor="#cccccc" height="25"><B>{$lng.lbl_total}:</B>&nbsp;</TD><TD align="right" bgColor="#cccccc"><B>{include file="currency.tpl" value=$order.total}</B>&nbsp;&nbsp;&nbsp;</TD></TR>{if $order.applied_taxes and $order.extra.tax_info.display_taxed_order_totals eq "Y"}{foreach key=tax_name item=tax from=$order.applied_taxes}<TR><TD align="right" width="100%" height="20"><B>{$lng.lbl_including_tax|substitute:"tax":$tax.tax_display_name}{if $tax.rate_type eq "%"} {$tax.rate_value}%{/if}:</B>&nbsp;</TD><TD align="right">{include file="currency.tpl" value=$tax.tax_cost}&nbsp;&nbsp;&nbsp;</TD></TR>{/foreach}{/if}</TABLE>{if $order.applied_giftcerts}<BR><TABLE cellSpacing="0" cellPadding="0" width="100%" border="0"><TR><TD align="center"><FONT style="FONT-SIZE: 16px"><B>{$lng.lbl_applied_giftcerts}</B></FONT></TD></TR></TABLE><TABLE cellSpacing="0" cellPadding="0" width="100%" align="right" border="0"><TR><TH width="60" bgColor="#cccccc">{$lng.lbl_giftcert_ID}</TH><TH bgColor="#cccccc">{$lng.lbl_giftcert_cost}</TH></TR>{foreach from=$order.applied_giftcerts item=gc}<TR><TD align="center">{$gc.giftcert_id}</TD><TD align="right">{include file="currency.tpl" value=$gc.giftcert_cost}</TD></TR>{/foreach}</TABLE>{/if}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -