{"id":72215,"date":"2017-07-25T10:00:30","date_gmt":"2017-07-25T10:00:30","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/product-display-for-prestashop\/"},"modified":"2018-04-09T11:01:54","modified_gmt":"2018-04-09T11:01:54","slug":"product-display-for-prestashop","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/product-display-for-prestashop\/","author":15544614,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0","stable_tag":"trunk","tested":"4.8.28","requires":"4.3","requires_php":"","requires_plugins":"","header_name":"Product Display for Prestashop","header_author":"That Software Guy","header_description":"Shows off a product from your Prestashop based store on your blog.","assets_banners_color":"","last_updated":"2018-04-09 11:01:54","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/donate.thatsoftwareguy.com\/","header_plugin_uri":"https:\/\/www.thatsoftwareguy.com\/wp_product_display_for_prestashop.html","header_author_uri":"https:\/\/www.thatsoftwareguy.com","rating":0,"author_block_rating":0,"active_installs":30,"downloads":2157,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<p>First version<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1702274","resolution":"1","location":"assets"}},"screenshots":{"1":"What the product information in your post will look like."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[16108],"plugin_category":[],"plugin_contributors":[143782],"plugin_business_model":[],"class_list":["post-72215","plugin","type-plugin","status-publish","hentry","plugin_tags-prestashop","plugin_contributors-scottcwilson","plugin_committers-scottcwilson"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/product-display-for-prestashop.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/product-display-for-prestashop\/assets\/screenshot-1.png?rev=1702274","caption":"What the product information in your post will look like."}],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<!--section=installation-->\n<p>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.<\/p>\n\n<p>In your Prestashop admin, do the following:<\/p>\n\n<ol>\n<li><p>Get the API file as described in http:\/\/doc.prestashop.com\/display\/PS16\/Using+the+PrestaShop+Web+Service<\/p><\/li>\n<li><p>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.<\/p><\/li>\n<\/ol>\n\n<p>Install the WordPress part of this mod as usual (using the Install button \non the mod page on WordPress.org).  The follow these steps:<\/p>\n\n<ol>\n<li>In your WordPress admin, do the following: <\/li>\n<\/ol>\n\n<p>- In Plugins-&gt;Installed Plugins, click the \"Activate\" link under Product Display for Prestashop.\n- In Settings-&gt;Product Display for Prestashop, set your Prestashop URL and Webservice key.<\/p>\n\n<p>To show a specific product on your blog, use the shortcode \n[ps_product_display] with parameter \"id\" as a self closing tag.<br \/>\nSo showing product 41 would be done as follows:<\/p>\n\n<p>[ps_product_display\u00a0id=\"41\"]<\/p>\n\n<p>The id is shown in the URL when you edit a product in your admin.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><p>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.<\/p>\n\n<p>In your Prestashop admin, do the following:<\/p>\n\n<ol>\n<li><p>Get the API file as described in http:\/\/doc.prestashop.com\/display\/PS16\/Using+the+PrestaShop+Web+Service<\/p><\/li>\n<li><p>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.<\/p><\/li>\n<\/ol>\n\n<p>Install the WordPress part of this mod as usual (using the Install button \non the mod page on WordPress.org).  The follow these steps:<\/p>\n\n<ol>\n<li>In your WordPress admin, do the following: <\/li>\n<\/ol>\n\n<p>- In Plugins-&gt;Installed Plugins, click the \"Activate\" link under Product Display for Prestashop.\n- In Settings-&gt;Product Display for Prestashop, set your Prestashop URL and Webservice key.<\/p>\n\n<p>To show a specific product on your blog, use the shortcode \n[ps_product_display] with parameter \"id\" as a self closing tag.<br \/>\nSo showing product 41 would be done as follows:<\/p>\n\n<p>[ps_product_display\u00a0id=\"41\"]<\/p>\n\n<p>The id is shown in the URL when you edit a product in your admin.<\/p><\/dd>\n<dt>I use a currency other than dollars - how do I change the price display?<\/dt>\n<dd><p>Modify <code>product_display_for_prestashop.php<\/code> and change the function <code>ps_product_display_price<\/code>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p>First version<\/p>","raw_excerpt":"Allows you to easily display products from your Prestashop installation on your WordPress blog using a shortcode.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/72215","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=72215"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/scottcwilson"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=72215"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=72215"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=72215"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=72215"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=72215"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=72215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}