📄 subscription_priceincart.tpl
字号:
<TABLE border="0" cellpadding="0" cellspacing="0"><TR><TD>{$lng.lbl_subscription_plan}:</TD><TD> </TD><TD>{$products[product].sub_plan}{if $products[product].sub_plan eq "By Period"} ({$products[product].sub_days_remain} {$lng.lbl_days}){/if}</TD></TR>{if $products[product].sub_onedayprice > 0}<TR><TD>{$lng.lbl_day_cost_by_subscr_plan}:</TD><TD> </TD><TD>{include file="currency.tpl" value=$products[product].sub_onedayprice}</TD></TR>{/if}{if $products[product].sub_days_remain > 0}<TR><TD>{$lng.lbl_days_remain}:</TD><TD> </TD><TD>{$products[product].sub_days_remain}</TD></TR>{/if}</TABLE><BR>{if $products[product].sub_onedayprice > 0 and $products[product].sub_days_remain > 0}<FONT class="ProductPriceConverting">({include file="currency.tpl" value=$products[product].catalogprice} + {include file="currency.tpl" value=$products[product].sub_onedayprice} x {$products[product].sub_days_remain}) x {$products[product].amount} = </FONT><FONT class="ProductPrice">{math equation="(price+days*day_cost)*amount" price=$price amount=$products[product].amount days=$products[product].sub_days_remain day_cost=$products[product].sub_onedayprice format="%.2f" assign=unformatted}{include file="currency.tpl" value=$unformatted}</FONT><FONT class="MarketPrice"> {include file="customer/main/alter_currency_value.tpl" alter_currency_value=$unformatted}</FONT> {else}<FONT class="ProductPriceConverting">{include file="currency.tpl" value=$products[product].catalogprice} x {$products[product].amount} = </FONT><FONT class="ProductPrice">{math equation="price*amount" price=$price amount=$products[product].amount format="%.2f" assign=unformatted}{include file="currency.tpl" value=$unformatted}</FONT><FONT class="MarketPrice"> {include file="customer/main/alter_currency_value.tpl" alter_currency_value=$unformatted}</FONT> {/if}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -