Jump to content

Display module outside Prestashop (on same webserver)


flagger

Recommended Posts

Hello,

 

I'm a beginner with Prestashop and I would like to known if there is a "simple" way to call a Prestashop module outside the Prestashop instance (but on the same web server).

 

I have a shop in one directory : /shop/

and a Wordpress application : /site/

 

The goal is to display a popup in my Wordpress site calling a PrestaShop module.

 

I'm not sure my query is very clear because my English is also not so clear :)

Thanks in advance for advices.

Link to comment
Share on other sites

Thank you for the answer.

 

But in fact it's not a question of database connection. I will display the content in lightbox. The question is : how to get the HTML render of the module in a specified file.

 

Forget the WP application and imagine a simple file called "my-module-render.html" in my root directory, this file is not a part of the Prestashop application. My question is : how can I display the HTML of my module in that file.

 

Thanks !

 

You must create plugin to wordpress. This plugin will be connect to prestashop database.

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...