Jump to content

Help needed adding widget/code to cms page 1.7.8.11


Recommended Posts

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

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 by El Patron (see edit history)
Link to comment
Share on other sites

Posted (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 by spc (see edit history)
  • Like 1
Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...