Access denied for admin users in the custom module magento
如权限用户管理deal模块出现 Access denied
解决方法:
app\code\local\Sm\Deal\controllers\Adminhtml\Deal\DealController.php
add:
protected function _isAllowed(){
return true;
}
jcarousellite滚动轮播+cloud-zoom
jcarousellite 文档:www.kmwzjs.com/site/p-view44.html
一、改动垂直滚动\app\design\frontend\模板\default\template\catalog\product\view\media.phtml
<script type="text/javascript">
function init(){
device = $jsmart.fn.detectDevice();
number_visible = 5 ;
……
Magento (Item (Mage_Catalog_Model_Product) with the same id “nnnnnn” already exist)
a:5:{i:0;s:70:"Item (Mage_Catalog_Model_Product) with the same id "945" already exist";i:1;s:2897:"#0 /www/wwwroot/www/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(265): Varien_Data_Collection->addItem(Object(Mage_Catalog_Model_Product))
#1……
magento 联系方式邮箱的设置
Unable to submit your request. Please, try again later
提交时有上面的提示
Magento默认是用Sendmail发送邮件的
由于没有安装sendmail,所以会提示上面错误
运行下面两行安装命令:
yum install -y sendmail
yum install -y sendmail-cf
配置邮箱:
安装完后没有上面的……