magento目录下的文章
change Shipping Information Carrier
You can add addition carrier option in below file
app/code/core/Mage/Adminhtml/Block/Sales/Order/Shipment/Create/Tracking.php
Go to Line 70 , Add below line before return $carriers; in getCarriers() Function
$carriers['My Custom Carrier'] = Mage::helper('s……
订单号改为四位数
一、eav_entity_type 表
找到entity_type_code = order. 对应的 entity_type_id
increment_pad_length字段改3
二、eav_entity_store表 找到对应entity_type_id
找到increment_last_id字段改为4位数(1000)
Integrity constraint violation: 1062 Duplicate entry ‘210’ for key ‘PRIMARY’, query was: INSERT INTO `catalog_eav_attribute` (`attribute_id`, `is_global`) VALUES (?, ?)
换服务器用原文件和新建的数据库安装magento 出现标题显视的误,换原文件和原数据库安装解决问题。。。。
订单处理邮件发送问题
1、go to System -> Configuration -> ASCHRODER EXTENSIONS -> SMTP -> Queue Configuration -> Queue Usage -> Never
2、System ->Transactional Emails
magento系统中,默认是在支付成功后发送确认订单邮件的
magento产品详情页面添加立即购买按钮
1,在addtoCart.phtml里添加html
<input type="hidden" value="<?php echo Mage::getUrl('checkout/onepage')?>" name="return_url" />
<button type="button"
title="<?php echo __('Buynow') ?>"
class="button btn-cart buynow"
onclick="productBuyNo……
How can i remove the sku column from Magento invoice PDF?
1) Copy
app/code/core/Mage/Sales/Model/Order/Pdf/Invoice.php
To
app/code/local/Mage/Sales/Model/Order/Pdf/Invoice.php
And in Invoice.php (of local directory) remove following code
$lines[0][] = array(
'text' => Mage::helper('sales')->__('……
How to Display Products that are Out of Stock in Magento 1.9
System > Configuration>Catalog > Inventory
Display Out of Stock Products
yes
如何给Magento网站更换域名
不换空间只换域名:
第一步 编辑Magento网站的数据库:
登录 phpMyAdmin,找到core_config_data
找到web/unsecure/base_url 和 web/secure/base_url 这两行
core_config_data表中的path为web/unsecure/base_url和web/secure/base_url的内容,为你网站的新域名,注意域名后面的“/……