通过规定秒杀到期时间,秒杀总数的促销方式,用户可以销售到优惠。
Fecyo 秒杀功能文档:http://www.fecmall.com/doc/fecmall-guide/fecyo/cn-1.0/guide-fecmall-fecyo-walletyo-seckill.html
目前只支持pc和h5
演示地址:
pc: http://fecyo.fecshop.com/cn/catalog/seckill/index
h5: http://fecyoh5.fecshop.com/cn/catalog/seckill/index
点击列表中的产品,即可进入秒杀详细地址
请教一下,我想在 秒杀产品详情页 显示 已售数量 字段 (秒杀分类主页(catalog/seckill/index ) 里已有显示) 时, 我在 addons\fecmall\walletyo\app\appfront\theme\catalog\product\index.php 第 27行 增加 <?php var_dump($price_info); ?>
array (size=2) 'price' =>
array (size=3) 'symbol' => string '¥' (length=3) 'value' => string '0.01' (length=4) 'code' => string 'CNY' (length=3)
'special_price' =>
array (size=3) 'symbol' => string '¥' (length=3) 'value' => string '10.00' (length=5) 'code' => string 'CNY' (length=3)
protected function getProductPriceInfo() { $price = $this->_product['price']; $special_price = $this->_product['special_price']; $special_from = $this->_product['special_from']; $special_to = $this->_product['special_to']; $special_price_count = $this->_product['special_price_count']; $special_price_sale_count = $this->_product['special_price_sale_count']; return Yii::$service->product->price->getCurrentCurrencyProductPriceInfo2($price, $special_price, $special_from, $special_to, $special_price_count , $special_price_sale_count); //return Yii::$service->product->price->getCurrentCurrencyProductPriceInfo($price, $special_price, $special_from, $special_to); }
我看 这个函数已经 把 它放到 array里了,为啥没显示该字段呢,special_from 也没显示,这些字段我在后台都设置了,有值
这个问题,自己去推敲代码啊。
顺藤摸瓜的理