Apraksts
Product Display for Shopify takes a product sku, and pulls in the product name, price, image, description and link, and displays it in a post.
Ekrānuzņēmumi
Uzstādīšana
Note: This is a two-part install; you have to do some configuration on your Shopify store admin, then you must install code on your WordPress site.
In your Shopify admin, do the following:
- Login to the Shopify 2 Admin Panel.
- Go to Apps, then click the “Manage private apps” link at the bottom of the page.
- Click the “Generate API credentials” button.
- Set the Private app name to “Product Display” and be sure you have Read access to Products, variants and collections.
- Click the save button, and note your Private app API key and Password.
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 Shopify.
– In Settings->Product Display for Shopify, set your Shopify URL, API Key and password.
To show a specific product on your blog, use the shortcode
[shop_product_display] with parameter “id” as a self closing tag.
So showing product 417935405 would be done as follows:
[shop_product_display id=”417935405″]
The id is shown in the URL when you edit a product in your admin.
BUJ
- Installation Instructions
-
Note: This is a two-part install; you have to do some configuration on your Shopify store admin, then you must install code on your WordPress site.
In your Shopify admin, do the following:
- Login to the Shopify 2 Admin Panel.
- Go to Apps, then click the “Manage private apps” link at the bottom of the page.
- Click the “Generate API credentials” button.
- Set the Private app name to “Product Display” and be sure you have Read access to Products, variants and collections.
- Click the save button, and note your Private app API key and Password.
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 Shopify.
– In Settings->Product Display for Shopify, set your Shopify URL, API Key and password.To show a specific product on your blog, use the shortcode
[shop_product_display] with parameter “id” as a self closing tag.
So showing product 417935405 would be done as follows:[shop_product_display id=”417935405″]
The id is shown in the URL when you edit a product in your admin.
- Are there any requirements for products I’d like to display?
-
The product should be visible in the Online Store (set in the Sales Channels box on the Product Editing screen).
- I use a currency other than dollars – how do I change the price display?
-
Modify
product_display_for_shopify.php
and change the functionshop_product_display_price
.
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“Product Display for Shopify” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “Product Display for Shopify” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
First version