描述
Product Display for Prestashop takes a product sku, and pulls in the product name, price, image, description and link, and displays it in a post.
螢幕截圖
安裝
Note: This is a two-part install; you have to do some configuration on your Prestashop installation, then you must install code on your WordPress installation.
In your Prestashop admin, do the following:
-
Get the API file as described in http://doc.prestashop.com/display/PS16/Using+the+PrestaShop+Web+Service
-
In your Prestashop back office, enable the webservice and create an access key as described in http://doc.prestashop.com/display/PS16/Web+service+one-page+documentation The key description should be blog, and the permissions should permit View (GET) on resource products. Note your Webservice key.
Install the WordPress part of this mod as usual (using the Install button
on the mod page on WordPress.org). The follow these steps:
- In your WordPress admin, do the following:
– In Plugins->Installed Plugins, click the “Activate” link under Product Display for Prestashop.
– In Settings->Product Display for Prestashop, set your Prestashop URL and Webservice key.
To show a specific product on your blog, use the shortcode
[ps_product_display] with parameter “id” as a self closing tag.
So showing product 41 would be done as follows:
[ps_product_display id=”41″]
The id is shown in the URL when you edit a product in your admin.
常見問題
- Installation Instructions
-
Note: This is a two-part install; you have to do some configuration on your Prestashop installation, then you must install code on your WordPress installation.
In your Prestashop admin, do the following:
-
Get the API file as described in http://doc.prestashop.com/display/PS16/Using+the+PrestaShop+Web+Service
-
In your Prestashop back office, enable the webservice and create an access key as described in http://doc.prestashop.com/display/PS16/Web+service+one-page+documentation The key description should be blog, and the permissions should permit View (GET) on resource products. Note your Webservice key.
Install the WordPress part of this mod as usual (using the Install button
on the mod page on WordPress.org). The follow these steps:- In your WordPress admin, do the following:
– In Plugins->Installed Plugins, click the “Activate” link under Product Display for Prestashop.
– In Settings->Product Display for Prestashop, set your Prestashop URL and Webservice key.To show a specific product on your blog, use the shortcode
[ps_product_display] with parameter “id” as a self closing tag.
So showing product 41 would be done as follows:[ps_product_display id=”41″]
The id is shown in the URL when you edit a product in your admin.
-
- I use a currency other than dollars – how do I change the price display?
-
Modify
product_display_for_prestashop.php
and change the functionps_product_display_price
.
評價
There are no reviews for this plugin.
貢獻者及開發者
修改日誌
First version