Shortcodes Explained

Shortcodes are extremely useful if you do not have programming knowledge. By default, you are setup with a way to view your product as you create it, but displaying other aspects of your store such as search forms, tracking information forms, and category listings, need to be set on a page with a shortcode. These should help you get started.

Category Page Shortcode w/Add to Cart

[foxypress categoryid=’4′ mode=’list’ ]FoxyPress[/foxypress] This shortcode will display a list of items on a page based on category. The add to cart button will be visible on these listing pages but with the purpose of having no detail page. Optional Parameters

  • detailurl – this is used to display a custom detail page – should not need to set this if you’re using the latest version of FoxyPress
  • addtocart – setting to 1(true/yes) will display an add to cart button for the category listing. setting to 0 (false/no) will hide this add to cart and leave it up to the user to click into the product to add to cart
  • cols – The number of items per row.
  • mode – we will want to use ‘list’ for the category view.
  • items – the number of items per page before we display pagination.
  • categoryid – items will be shown from the category id specified (click on manage categories to get your category id)
  • show_qty – setting to 1 or 0 will toggle whether a box to enter quantity desired will show up

Single Product Shortcode

[foxypress id=’3′ mode=’single’]FoxyPress[/foxypress] This shortcode will display a single item’s details, including an add to cart button based on the id provided.

Tracking Page Shortcode

[foxypress mode=’tracking’]FoxyPress[/foxypress] This shortcode will display an order information module. The module will allow a visitor to enter an order number and last name to display information about their order, including the tracking number if provided in the FoxyPress management area.

Search Form Shortcode

[foxypress mode=’search’]FoxyPress[/foxypress] This shortcode will display a form that will let your users search for products in your store.

Detail Page Shortcode (Deprecated)

[foxypress mode=’detail’]FoxyPress[/foxypress] This is a placeholder to put on the item detail page. Item information will automatically be displayed on this page for the specific product and an add to cart button will be visible. This product is based off of the query string value (id). Upon installing FoxyPress, this page and shortcode should be created for you.


Download FoxyPress Today!

Topics/Guide



Donate

This plugin is free and is continually updated/improved as we receive donations and project requests from our FoxyPress community. Please consider funding a project or donating to a tool you can customize....or at least buy us some coffee to keep us up late developing!