Melinda Posted September 28, 2009 Share Posted September 28, 2009 Hi,I noticed in the admin -> carrier section a new listing that you can link each carrier to a module."Mark this carrier as linked to a module"What is the purpose of this?Thanks! Link to comment Share on other sites More sharing options...
Patric Posted September 29, 2009 Share Posted September 29, 2009 Which PS version ? Have you got a screenshot ? Hasn't it been added by a module ? Link to comment Share on other sites More sharing options...
Melinda Posted September 29, 2009 Author Share Posted September 29, 2009 I don't understand it at all but if you set it to true all the carriers disappear so I don't see what the purpose of it is. Neither do I see a carrier module in the module section.Screenshot of shipping -> carriers -> edit a carrier and see at the bottom of the page.svn1372 version on a new install. Link to comment Share on other sites More sharing options...
Melinda Posted October 10, 2009 Author Share Posted October 10, 2009 Does anyone know what this new field is for? Link to comment Share on other sites More sharing options...
rocky Posted October 11, 2009 Share Posted October 11, 2009 I would be interested in knowing what this is for too. In Prestashop v1.2, they added a Module field under Tools > Tabs. I think I read somewhere that it lets modules add new tabs to the Back Office of Prestashop, but I haven't actually seen any modules using it or tried doing it myself. The next chance I get, I'll try creating a module with its own AdminXXX.php file and see if I can get it to display in the Back Office by specifying the module's folder name.Perhaps the new Module option under Carriers allows a module to override the default carrier calculations to specify its own ones? It is hard to know for sure though without documentation from Prestashop. Link to comment Share on other sites More sharing options...
Melinda Posted January 17, 2010 Author Share Posted January 17, 2010 Hi,Has anyone figured out what this “Mark this carrier as linked to a module” in the admin section does?I would like to add this info to the docs. Link to comment Share on other sites More sharing options...
uddhava Posted April 7, 2010 Share Posted April 7, 2010 Somebody out there made this, so what is it for ?????? Link to comment Share on other sites More sharing options...
SpyrosT Posted May 25, 2010 Share Posted May 25, 2010 I guess this has to do with some carriers that work on a module.i.e. if you have the ups module installed then you link your ups carrier with the module.Only the developers can give the right answer. Link to comment Share on other sites More sharing options...
uddhava Posted May 26, 2010 Share Posted May 26, 2010 I hope it can be used in a way that depending on the choice of shipping module, different payment options will be selected. Link to comment Share on other sites More sharing options...
phrasespot Posted August 7, 2010 Share Posted August 7, 2010 Does anyone have an answer yet, what this setting is for? Thanks Link to comment Share on other sites More sharing options...
presta-dyr Posted August 7, 2010 Share Posted August 7, 2010 It looks like you can find the answer in AdminOrders.php (line 531 in 1.3.1.1). If the option is set the function displayInfoByCart is called. You can see an example of this in the dejala module.To rocky: Yes, you can create modules that adds tabs to the back office. I have an example of this in the module I posted as an improvement of sendnewsletter. I have had some problems when it comes to translating the texts in an AdminXXX.php module. The solution I have come up with is to only put $this->l() statements in the module files and let the AdminXXX.php call methods in the module when they are language dependent./Kjeld Link to comment Share on other sites More sharing options...
Recommended Posts