Skip to content

Commit d01fe92

Browse files
committed
Add code snippets to readme
1 parent 7db0ecb commit d01fe92

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

README.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,21 @@ This plugin provides a shortcode to embed products from another store on your si
1111

1212
### A few notes about this plugin:
1313

14-
* It requires an admin account for the website running WooCommerce
15-
* It must make an authorized connection to the external site
16-
* This plugin stores transients in the wp-options table of your database
14+
* It requires an admin account for the website running WooCommerce.
15+
* It must make an authorized connection to the external site.
16+
* This plugin stores transients in the wp-options table of your database.
17+
18+
## Code Snippets
19+
20+
* Manipulate the product data: https://gist.github.com/WPprodigy/afd0db56bf3f67379237
21+
* Add custom settings: https://gist.github.com/WPprodigy/96dbaeab8820cc85af42
1722

1823
## Frequently Asked Questions
1924

2025
#### What are the shortcodes for this plugin?
2126

22-
`[external_product id=“99”]`
23-
`[recent_external_products number=“10”]`
27+
* `[external_product id=“99”]`
28+
* `[recent_external_products number=“10”]`
2429

2530
#### Where can I find the Product “ID” field?
2631

@@ -57,9 +62,10 @@ You can copy the file in this plugin located at `templates/shortcodes/external-p
5762
* Tweak - Updated to the new WooCommerce API.
5863

5964
= 1.0 =
60-
Initial Release!
65+
* Initial Release!
6166

6267
## Upgrade Notice
6368

6469
= 2.0 =
70+
6571
2.0 is a major rewrite. More efficient, faster, and comes with a new shortcode! The previous shortcodes will still work, but the admin settings will be lost. So when updating, be sure to head over to the settings in order to re-enter the API details.

0 commit comments

Comments
 (0)