Day: November 9, 2015

bootstrap 3 多选框 awesome bootstrap checkbox

Awesome Bootstrap Checkbox Font Awesome Bootstrap Checkboxes & Radios plugin. Pure CSS way to make inputs look prettier. No Javascript! Demo Use First just include awesome-bootstrap-checkbox.css somewhere in your HTML, or add the equivalent files to your Sass / Less configuration. Next, everything is based on code convention. Here is checkbox ma… Read More

Magento 创建用户代码 Creating a new customer in Magento(RESTful,PHP)

$customer = Mage::getModel('customer/customer'); //$customer = new Mage_Customer_Model_Customer(); $password = 'iks123456'; $email = 'gotodiscuss@ikeepstudying.com'; $customer->setWebsiteId(Mage::app()->getWebsite()->getId()); $customer->loadByEmail($email); //Zend_Debug::dump($customer->debug()); ex… Read More

magento 1.9 用户无法登录 magento 1.9 customer can not login

Looks like an issue with form-key Go to app/design/frontend/[Your-package]/[Your-theme]/template/customer/form/login.phtml and template/persistent/customer/form/login.phtml and under Find: <ul class=”form-list”> And paste this right after the code above the following: <input name="form_key" type="hidden" value="<?ph… Read More