更新时间:2023-02-18 12:34:14
使用以下代码.
Mage::app()->getRequest()->getControllerName();
它将为模块指定控制器名称.输入名称的条件,然后编写代码.它肯定会工作.
It will give controller name to your module. Put consition for this name and write your code. It will work for sure.
如何在 Magento 中创建特定产品的优惠券?
如何在Magento中为特定产品创建优惠券?
如何在NIFI中对JSON响应应用条件
如何在mongodb中的条件下应用$ lookup?
如何在magento中对特定页面应用条件?
如何在 NIFI 中对 json 响应应用条件
如何在iPhone应用程序中仅缩放图像的特定部分?
如何在grails应用程序中基于m.mysite.com重定向到移动页面
如何在Chrome扩展程序/应用程序中绘制到另一个.html页面?
IBM Worklight - 如何在多页面应用程序中重用函数