Warning: Undefined array key "night" in /www/wwwroot/dhaomu.com/wp-content/themes/b2/header.php on line 18

EcShop是如何控制产品的价格显示的?

ecshop教程:ecshop是如何控制产品的价格显示的?

ecshop中的几种价格:

ecs_goods这个表是用来控制产品信息的表,里面有market_price,shop_price,promote_price和会员等级价格

market_price 表示市场价格

shop_price 表示本店价格

promote_price 表示产品促销价格

市场价格可以在后台设置,后台->系统设置->商店设置->商品显示设置->可以选择是否显示"市场价格"

打开 themes\default\goods.dwt.你可以看到

{$lang.market_price}{$goods.market_price}//市场价格
{$lang.shop_price}{$goods.shop_price_formated}//本店价格
{$rank_price.rank_name}:{$rank_price.price}//会员价格

商品总价

<dd><strong>{$lang.amount}:</strong><font id="ECS_GOODS_AMOUNT"></font></dd>

在这里显示

<input name="number" type="text" id="number" value="1" size="4" style="border:1px solid #ccc; "/>

ajax来控制修改商品总价格的js,如果要删除商品总价,就可以把这两段都删除.

会员优惠价格列表.

<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#aad6ff">
  <tr>
    <td align="center" bgcolor="#FFFFFF"><strong>{$lang.number_to}</strong></td>
    <td align="center" bgcolor="#FFFFFF"><strong>优惠价格</strong></td>
  </tr>
  <!-- {foreach from=$volume_price_list item=price_list key=price_key} -->
  <tr>
    <td align="center" bgcolor="#FFFFFF">{$price_list.number}</td>
    <td align="center" bgcolor="#FFFFFF">{$price_list.format_price}</td>
  </tr>
  <!-- {/foreach} -->
</table>

在goods.dwt中,这段是用来控制优惠价格的。如

$volume_price_list

不为空,那表面该产品设置了价格等级列表

温馨提示:
1.本站大部分内容均收集于网络!若内容若侵犯到您的权益,请发送邮件至:duhaomu@163.com,我们将第一时间处理!
2.资源所需价格并非资源售卖价格,是收集、整理、编辑详情以及本站运营的适当补贴,并且本站不提供任何免费技术支持。
3.所有资源仅限于参考和学习,版权归原作者所有,更多请阅读网站声明

给TA赞赏
共{{data.count}}人
人已赞赏
编程技巧

WordPress主题美化7B2主题美化之移动端底部菜单栏

2021-12-21 18:45:00

编程技巧

PbootCMS模板网站首页如何调用指定栏目的子栏目

2021-12-29 0:00:00

0 条回复 A文章作者 M管理员

Warning: Trying to access array offset on value of type null in /www/wwwroot/dhaomu.com/wp-content/themes/b2/functions.php on line 3914

Warning: Trying to access array offset on value of type null in /www/wwwroot/dhaomu.com/wp-content/themes/b2/functions.php on line 3914
----《》
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索