knut Posted November 7, 2017 Share Posted November 7, 2017 Hi @all, I'm new with prestahop and need your idea, I've Products with lot of technical details to display and need to creat datasheet-tables. My idea is to use the onboard csv importer and use the Productdescriptionfield to include a custom php-script-command like <?php product([id_of_imported_product]) ?> to calling a function that creates my content (technical Product-tables) dynmacly if a costumer visit the detailpage for this product. But i found out, that i only can use html syntax without any script language. So my question to you is: - is there any module available to get this feature? - Did you know other ways to solve this problem? Personally, i prefer php because i've a seperate database and use my scripts on other pages to generate technical datasheets for more than 10.000 items. Thanks a lot in advance for any helpers and sorry if this topic is in the wrong category. Link to comment Share on other sites More sharing options...
Simonas Invertus Posted November 8, 2017 Share Posted November 8, 2017 You should inspect your theme and check for the hooks. Hook is the place there you can display custom information. All the modules use hooks to display their content. You should do something like this: 1) Create a module that calls command you want. 2) Load the module in to your chosen hook in the product page. And everything should work. Link to comment Share on other sites More sharing options...
knut4shop Posted November 8, 2017 Share Posted November 8, 2017 hi, it sounds like a very good idea. I'll give this a try. Thanks 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