spc Posted June 24 Share Posted June 24 Hello, im trying to add a widget code to a cms page. I have download the module, configurate the module with everything. I have tryed to put the windget code in a html block. I have tryed to add the code strait in to the page under cms. The code: {widget name="store"} But nothing works, i only see the code on the page. Any idee. Link to comment Share on other sites More sharing options...
El Patron Posted June 24 Share Posted June 24 (edited) Howdy, How to actually display a widget in a CMS page Edit the CMS template file Find the CMS page template file: Usually located at /themes/your-theme/templates/cms/page.tpl. Insert your widget code ({widget name="store"}) directly in the template where you want it to appear. {widget name="store"} Tip: Always make a backup before editing any templates! Clear your PrestaShop cache after making changes (Back Office: Advanced Parameters > Performance > Clear Cache). Hope this helps Edited June 24 by El Patron (see edit history) Link to comment Share on other sites More sharing options...
spc Posted June 24 Author Share Posted June 24 (edited) hello thanks for your reply, but the only problem is that i only whant to show it on one cms page, not the rest. but I am searching online for a solution. UPPDATE: I create a new custom page and the code in that one. So now i have it only one page. Thanks for the help. Edited June 24 by spc (see edit history) 1 Link to comment Share on other sites More sharing options...
El Patron Posted June 24 Share Posted June 24 2 hours ago, spc said: hello thanks for your reply, but the only problem is that i only whant to show it on one cms page, not the rest. but I am searching online for a solution. UPPDATE: I create a new custom page and the code in that one. So now i have it only one page. Thanks for the help. Good idea, good job! 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