0

I'm trying to write a module which allows users create their own shop in our system (multi-store function).

I'm wondering, is it possible to execute an adminhtml controller's functions in Magento frontend?

At this moment, I've just create folder and edit index.php, .htaccess when click save website in Magento backend. I need more than that, please help.

Any help will be appreciated. Thanks!

asked Feb 5, 2015 at 6:55

1 Answer 1

2

It is not possible to call an adminhtml controller from the frontend, no.

You need to specify the router between <frontend/> nodes of your module's config.xml file.

Magento for Developers: Part 3 - Magento Controller Dispatch

answered Feb 5, 2015 at 7:35
1
  • Thank you, but how people can add category/product from frontend? (Like multi-vendor extension). I think there is some way to add new store from frontend, isn't it? Commented Feb 5, 2015 at 7:45

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.