看起來還是要要用買的才比較好

包含這個

22 USD

https://www.opencart.com/index.php?route=extension/extension/info&extension_id=22063&filter_search=options&filter_license=1&filter_download_id=47

Improved Options 2 [vqmod]

 

60 USD

https://www.opencart.com/index.php?route=extension/extension/info&extension_id=14468&filter_search=product%20option&filter_license=1&filter_download_id=47

Option To Product

更進階版的

 

再來就是打折處理 跟 目錄處理的部份

加速方法

https://forum.opencart.com/viewtopic.php?t=131313

For Opencart 2+ customer_group_id is not defined in that model and total may be false but not null.
Accounting for the above your code could go like this:

$cacheid='product.gettotalproducts.'.md5($sql); //.(int)$customer_group_id;
$total=$this->cache->get($cacheid);
if ($total === false ) {
       $query = $this->db->query($sql);
       $total = $query->row['total'];
       $this->cache->set($cacheid,$total);
}
return $total;

 

PART 1 是不顯示目錄的產品數量

SQL 加入 INDEX 加速表格

 

有改有差。

參考 :https://github.com/budgetneon/v2pagecache

做 pagecache 試看看

 

隱藏

http://shopencart.com/hide-out-of-stock-products-in-opencart

如果 數量為0的時候。不在前台顯示

 

點閱: 3