That Software Guy! eCommerce Starts Here!
WordPress Product Display for Prestashop

WordPress Product Display for Prestashop

A WordPress plugin that allows you to easily display products from your Prestashop store on your WordPress blog.

Donate: This is free software. Show your appreciation by supporting my efforts. Donate

Relevance: Prestashop, with WordPress

Current Version: 1.0

Support Thread: Prestashop Product Display Support Thread

Cost: Free, but donation appreciated

Installation Difficulty: Easy

Installation Instructions: click here

Download: Product Display for Prestashop on WordPress Plugins Site

FAQ: click here


Overview:

If you want to try a show off products from your Prestashop store in your WordPress blog, this mod can help. It allows you to use a shortcode like this:
[ps_product_display id="some-product_id"]
and have that appear as an image like the one at the top right of this page.

Installation Instructions:

Note: This is a two-part install; you have make configuration changes on your Prestashop admin, and install files on your WordPress site.
Install the WordPress part of this mod as usual (using the Install button on the mod page on WordPress.org). The follow these steps:
  1. Back up everything! Try this in a test environment prior to installing it on a live shop.
  2. In your Prestashop store, do the following:
    • Get the API file as described in here. Put the file PSWebServiceLibrary.php at the root of your store.
    • In your Prestashop back office, enable the webservice and create an access key as described in the documentation. The key description should be "blog", and the permissions should permit View (GET) on resource products.
  3. In your Wordpress admin, do the following:
    • In Plugins->Installed Plugins, click the "Activate" link under Product Display for Prestashop. WordPress Configuration - Product Display for Prestashop
    • In Settings->Product Display for Prestashop, set your Prestashop URL, Private app API key and Private app Password. WordPress Configuration - Product Display for Prestashop
To show a specific product on your blog, when creating your post, use the shortcode [ps_product_display] with parameter "id". So showing the product with id "24" would be done as follows:
[ps_product_display id="24"]
(The tag is self-closing.)
The id is shown in the URL when you edit a product in your admin.

Just use this shortcode when you create a new blog post. You can put it anywhere in your post where you want the image and information to appear. Then just press "Preview" (or "Publish") to see the shortcode expand to the full block, as shown at the top right of this page.

Major Versions

  • 1.0 08/01/2017 - First Release

FAQ

Q: I use a currency other than dollars - how do I change the price display?
A: Modify product_display_for_prestashop.php and change the function ps_product_display_price.