且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Magento的:增加产品两次车,具有不同的属性!

更新时间:2023-11-30 11:50:28

进入课堂 Mage_Sales_Model_Quote
并搜索方法 getItemByProduct($产品)并使其返回false; 所有的时间。
请注意,这可能与最小&放大器干扰; 最高获准在车产品。

Go to class Mage_Sales_Model_Quote and search for the method getItemByProduct($product) and make it return false; all the time. Be careful, this might interfere with the minimum & maximum allowed in cart for products.