How Can We Help?
隱藏 Bundle Products(產品組合)主產品下方的數量框
剛設定完『產品組合』後,主要產品下方出現可填寫的數量,影響使用者的使用經驗
只需要編輯 /usr/share/nginx/html/app/design/frontend/base/default/template/bundle/catalog/product/view/type/bundle/option/select.phtml
vim /usr/share/nginx/html/app/design/frontend/base/default/template/bundle/catalog/product/view/type/bundle/option/select.phtml
第 61 行
<span class=”qty-holder”>
修改為
<span class=”qty-holder” style=”display:none”>
重新清除 OPCache 之後,前台就可以看到改變了
也可以一併修改 Ultimo 的樣版
vim /usr/share/nginx/html/app/design/frontend/ultimo/default/template/bundle/catalog/product/view/type/bundle.phtml
從第 47 行
<?php echo $this->getPriceHtml($_product) ?> <div class="price-box-bundle"> <?php //echo $this->getChildHtml('bundle_prices') ?> </div>
修改為
<?php //echo $this->getPriceHtml($_product) ?> <!--<div class="price-box-bundle"> <?php //echo $this->getChildHtml('bundle_prices') ?> </div>-->
重新清除 OPCache 之後,前台就可以看到改變了