Post by punkmaster » Thu May 14, 2015 2:35 am

I have coded the controller in /catalog/common/store with the class ControllerCommonStore
the model for this was done
and I wrote the view as pickstore.tpl in the theme/default/common/pickstore.tpl
I can get the view when I set the option $this->response->setOutput(....... in the controller and browse for the url
localhost/index.php?route=common/store

but I have to input the view similar to the currency drop down menu in the header file.

I also edited the header.tpl and also controller header.php

I cant add the required view in the header

Basically it has list the stores from where the products can be brought (eg:for a cloth company; it should list from the database <li>Raymond</li> <li>Arrow</li>

Newbie

Posts

Joined
Thu May 14, 2015 2:04 am
Who is online

Users browsing this forum: No registered users and 54 guests