nspinheiro Posted December 7, 2012 Share Posted December 7, 2012 Hi I would like to add an Module that allowed me to have an option in each product that links to the Product Page in the Manufacturer Webpage I was unable to find it, maybe i am not looking with the right keywords, does anyone know anything like this? Thanks Link to comment Share on other sites More sharing options...
bellini13 Posted December 8, 2012 Share Posted December 8, 2012 i'm having trouble understanding what this means Product Page in the Manufacturer Webpage Link to comment Share on other sites More sharing options...
nspinheiro Posted December 8, 2012 Author Share Posted December 8, 2012 So, i have a product, for example, a Sony TV. I want to have a field where the client can click and go to the product page in the sony website. Link to comment Share on other sites More sharing options...
bellini13 Posted December 9, 2012 Share Posted December 9, 2012 can't you just put the link in the description? If not, can you better explain what you would expect on your product page? Link to comment Share on other sites More sharing options...
mohsart Posted December 9, 2012 Share Posted December 9, 2012 If your manufacturer has structured webpages, e.g. www.manu.com/P01, www.manu.com/P02 etc you can code it to be automatic. Is that what you want? /Mats Link to comment Share on other sites More sharing options...
nspinheiro Posted December 9, 2012 Author Share Posted December 9, 2012 can't you just put the link in the description? If not, can you better explain what you would expect on your product page? I can, but it's a bit messy. I do not like it If your manufacturer has structured webpages, e.g. www.manu.com/P01, www.manu.com/P02 etc you can code it to be automatic. Is that what you want? /Mats No, that's not an issue. What i would link is something in the place where is the red square. In the same "line of though" than the 3 options above (Facebook, E--mail to Friend or Print). just another option saying "Brand Website" or something like this. I would put the link in the back office and each product would have it's link Link to comment Share on other sites More sharing options...
mohsart Posted December 10, 2012 Share Posted December 10, 2012 Kind of the same but easier, you need to find where to add the code, then insert e.g. <a href="{$variable}">Link to Manufacturers site</a> /Mats Link to comment Share on other sites More sharing options...
bellini13 Posted December 10, 2012 Share Posted December 10, 2012 so to summarize the type of changes you would require. Depending on your version of Prestashop, you might not be able to do this on in a standard module. It will require the customization/override of core Prestashop files. You need to edit the back office admin product page, to create a new "Supplier URL" field. This would then be saved to the product database table. You would need to override the Product object to make this new URL field available You would then create a new module that would hook one of the Product Page hooks, that would then inject the new Supplier URL. I'm pretty sure those 3 links are being hooked by a theme module, however it may just be hard coded into the themes product.tpl. If that is the case, then instead of a module, you would need to override the ProductController and product.tpl as implied by Mohsart above Link to comment Share on other sites More sharing options...
nspinheiro Posted December 10, 2012 Author Share Posted December 10, 2012 so to summarize the type of changes you would require. Depending on your version of Prestashop, you might not be able to do this on in a standard module. It will require the customization/override of core Prestashop files. You need to edit the back office admin product page, to create a new "Supplier URL" field. This would then be saved to the product database table. You would need to override the Product object to make this new URL field available You would then create a new module that would hook one of the Product Page hooks, that would then inject the new Supplier URL. I'm pretty sure those 3 links are being hooked by a theme module, however it may just be hard coded into the themes product.tpl. If that is the case, then instead of a module, you would need to override the ProductController and product.tpl as implied by Mohsart above Hi For the little that i understand of this, it seams pretty right. But i am not any good at this and i would not risk to make some mistake and mess my store. THat is why i asked if there was any module able to do this. Thanks Link to comment Share on other sites More sharing options...
sharif854 Posted December 11, 2012 Share Posted December 11, 2012 i say what i know about this module maybe is right or wrong if it's wrong you tell me. you want module that 1.in each product page exists that link to the Manufactorer 2.you can disable or enable for each product 3.you can set link from back office 4.this is automatically 5.it's standard module if 5 lines that you need we can create this module but it's have time if this line you need or you need more options please write here but you know in web we can create everything automatically Link to comment Share on other sites More sharing options...
nspinheiro Posted December 15, 2012 Author Share Posted December 15, 2012 Sorry for the late reply, having somo thought days Yes, it is that, just few notes: 3. --> It would be great to be a field that prestashop manager recognizes in it's "additional fields" 4. 5. --> I do not understand what you mean with automatically or standard Link to comment Share on other sites More sharing options...
sharif854 Posted December 15, 2012 Share Posted December 15, 2012 standard and automatic module that you just install it and in for example another tab you manage this products fields un standard is that the developer chanage your tpl and php files and mysql that ralated product that build what do you need in the second way your product adminTab is change got that? Link to comment Share on other sites More sharing options...
nspinheiro Posted December 18, 2012 Author Share Posted December 18, 2012 yeah, i think so, but if i understood correctly both options are valid, right? Link to comment Share on other sites More sharing options...
sharif854 Posted December 19, 2012 Share Posted December 19, 2012 yes both of options is good you can tell to developer to build this in option 1 just for you or create module that another guy in future buy and use this Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now