摘要:
我们其实参照的是后台创建订单的代码位于:app/code/core/Mage/Adminhtml/Model/Sales/Order/Create.php主要代码: if (empty($info['action']) || !empty($info['configured'])) { $item- 阅读全文
摘要:
1、向购物车中添加产品 $params = array(); $product = Mage::getModel('catalog/product')->load($productid); $params['qty'] = 1; $cart = Mage::getSingleton('checkou 阅读全文
摘要:
<?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package i 阅读全文