简体   繁体   中英

I developed a controller in magento. how to access it from frontend?

I am developing a module, and I developed a controller in magento. how to access it from frontend? please provide me config settings

在您的配置中尝试以下代码: <frontend> <routers> <productextension> <use>standard</use> <args> <module>GreenOrigin_ProductExtension</module> <frontName>productextension</frontName> </args> </productextension> </routers> <layout> <updates> <productextension> <file>productextension.xml</file> </productextension> </updates> </layout> </frontend>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM