Posts Tagged ‘embed’

Checkout: Shortcodes

« Usage

The WordPress shopping cart plugin uses the WordPress shortcodes API to display shop categories, suppliers, products and other aspects inside WordPress posts/pages.

You can see a full list of WordPress shortcodes for the WordPress Shopping Cart plugin on the Post/Page Embedding instructions here in the documentation in case you want to manually use them.

TinyMCE Button

You can easily insert shop categories and products into any WordPress post/page by using the button placed on the WordPress, TinyMCE WYSIWYG editor.


click to enlarge

Embed a Search Box

« Shortcodes

You can embed a separate FAQs search box into any WordPress post/page using the [wpfaqsearch] shortcode. This search box allows your users to search your FAQs for answers.

[wpfaqsearch menu=1 group_id=X]

Parameters

  • menu
    optional, default = 1
    The search box will show a drop down menu of all your FAQ groups. By making this value 0, the drop down menu will not be shown.
  • group_id
    optional, default = null
    Specify a group by ID which will be search within.

Checkout: Post/Page Embedding

« Usage

Making use of WordPress shortcodes and filtering the content of posts and pages has proven to make the WordPress shopping cart plugin extremely flexible. The plugin supports several different embedding codes of which many are automatically generated throughout the use of the plugin as WordPress posts/pages are created for shop categories, products, suppliers and more. Below is a list of embedding codes you can use in any of your WordPress posts/pages as needed.

All the shortcodes below can be easily accessed through the TinyMCE editor button made available by the plugin. See the TinyMCE editor button instructions. Ensure that you have the TinyMCE button for the Checkout plugin turned on under Checkout > Configuration, the very last setting in the ‘General Configuration’ box.

Shop Categories

Embed a hierarchical list of shop categories in the plugin database as links into a post/page.  When a category link is clicked, the user will be taken to the shop category post/page with its image, description, etc. and the products belonging to it. By default, a bullet list with links will be shown. If you use category images, you may want to display a grid by adding a type=”grid” parameter to the shortcode. That is [wpcocategories type="grid"].

[wpcocategories]

Shop Products

Display all products in the database with paging.

[wpcoproducts]

Shopping Cart

Generates a dynamic shopping cart/basket inside a WordPress post/page. This embedding code will display the current shopping cart contents and allow the customer to manage the shopping cart by entering a coupon code, deleting items in the cart, changing the quantities and much more.

[wpcocart]

Single Product

Display a full product pitch page/overview within a WordPress post/page. Change the “X” to the ID of the product in question. With the product embedding code, you can display the product image, additional images, price, custom fields, content tabs and other attributes inside a WordPress post or page so that users can add the product to their shopping cart.

[wpcoproduct id=X]

Single Category with Products

Show a single category page with the category title/name, its description, keywords, image (if applicable) and also the products which were assigned to the specified category. Replace “X” to the ID of the shop category you wish to display in the WordPress post/page.

[wpcocategory id=X]

Single Supplier with Products

Display the details/information of a product supplier by ID together with a list/grid view of the products belonging to that supplier. Replace “X” with the ID of the specified supplier you wish to display.

{wpco_supplier_X}

WordPress FAQ : Embed all Groups

« Shortcodes

You can embed an unordered list of all your WordPress FAQ plugin groups into a post/page using the following code below.

[wpfaqgroups]

WP WHOIS: Post/Page Embedding

« Usage

WordPress WHOIS plugin post/page embedding

Continue Reading “WP WHOIS: Post/Page Embedding” »