You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-5Lines changed: 7 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
1
# WooCommerce External Product Embed
2
2
This plugin provides a shortcode to embed products from a separate store on your site. It connects to another website running WooCommerce, and displays products from that site through the use of a shortcode.
3
3
4
+
Here is a screenshot of the products being displayed on the [frontend](http://cld.wthms.co/4TlMMw) and the settings in the [backend](http://cld.wthms.co/CeLShM).
5
+
4
6
## Installation
5
7
1. Go to the [releases tab](https://github.com/WPprodigy/woocommerce-external-product-embed/releases) in this repo.
6
8
2. Find the "Latest release" and click to download `woocommerce-external-product-embed.zip`.
@@ -15,7 +17,7 @@ This plugin provides a shortcode to embed products from a separate store on your
15
17
16
18
## Usage
17
19
18
-
The shortcode you can use to embed products onto your WordPress pages/posts is `[wcepe_products]`. Just using this shortcode on a page won't do anything though by default, you need add shortcode attributes to tell it what products you want to show.
20
+
The shortcode you can use to embed products onto your WordPress pages/posts is `[wcepe_products]`. Just using this shortcode on a page won't do anything though by default, you will need to add attributes to tell the shortcode what products you want to show.
19
21
20
22
You can show specific products by listing the IDs or SKUs like this:
21
23
-`[wcepe_products ids='96,99']`
@@ -41,7 +43,7 @@ There are some additional attributes that can also effect what is displayed.
41
43
-`hide` - List certain parts of the product display you would like to hide. Can be set to image, title, rating, onsale, price, and/or button.
42
44
43
45
An example shortcode using the above attributes would look like this:
Note that some attributes can contradict each other. For example, using a list of `ids` and `skus` in the same shortcode will result in products only showing if both an ID and a SKU match for it.
0 commit comments