Design and Layout

Widgets

WP e-Commerce comes with a ton of Widgets that allow you to customize the look and feel of your site. Here is a list of the available widgets that come with WP e-Commerce.

  • Product Tags Widget (displays a tag cloud of tags)
  • Product Groups Widget (displays links to individual product groups)
  • Shopping Cart Widget (displays shopping cart in your sidebar)
  • Price Range Widget (lets customers narrow down their search for a product based on price)
  • Donations (displays any products that are flagged as being a donation product in the sidebar)
  • Specials (displays any products on sale in the side bar)
  • Latest Products (displays your latest products in your sidebar)

Shortcodes and Template Tags

Shortcodes let you customize your WordPress e-Commerce site. As we add more shortcodes this page will grow.

Display Default Products

The shortcode productspage displays a list of the products from your default group – you set your default Group in shop settings.
Usage:[​productspage​]

Display Shopping Cart

The shortcode nzshpcrt_shopping_basket displays the shopping cart, usually used to add the cart to the sidebar or header.
Usage: < ?php echo nzshpcrt_shopping_basket(); ?>

Display Homepage Products

The shortcode homepage_products displays a list of the products you set if “display on frontpage” is ticked for each individual product. Usually used for your shop homepage.

Usage: Simply use the “Display Products from a specific group on a page or post” shortcode for a Group that you have made called Home Page Products. All products you have associated with that group will display on that page.

List Groups / Categories

Display a group of products on page or post – wpsc_category=1,full
(where 1 is the product category ID and full means you want to display everything)

Usage: Shortcode = [showcategories ]
Usage: PHP Tag = < ?php show_cats_brands(); ?>

Display Products from a specific group on a page or post

You can use category shortcodes to display the all the products within a certain group on any WordPress Page or Post.

Usage: Shortcode = [wpsc_category=1, full ] or;
Usage: Shortcode = [wpsc_category=1 ]

Buy Now Shortcodes

NOTE: Buy Now shortcodes and tags only work with Google checkout or Paypal Express gateways. So please ensure you have set this up in your admin page before using this functionality.

You can add a buy now button to any page by using the shortcode bellow and changing the number (1) with the product id. Or if you are on the products page in the admin section you can click the blue info button to the right of products name to view the specific tag for that product. Then it is as easy as copying the code and adding it to your page.

Usage: Shortcode =[buy_now_button=1 ] or;
Usage: PHP Tag = < ?php echo wpsc_buy_now_button(1); ?>
*where 1 is the product id.

Add To Cart Shortcodes
Add to cart Shortcodes allow you to add an add to cart button to any page, similar to the buy now shortcodes this option is available in the products page in the admin section. Or alternatively you can add the bellow code swapping the (1) with your products id.

Usage: Shortcode =



Usage: PHP Tag = < ?php echo wpsc_add_to_cart_button(1); ?>

SKU Stock Keeping Unit

Usage: PHP Tag = <?php echo wpsc_product_sku(wpsc_the_product_id());  ?>

List Latest Products

Usage: PHP Tag = <?php nzshpcrt_latest_product(); ?>

WP e-Commerce Friendly Themes

We know that there are many and so long as the theme you use follows the official WordPress theme guidelines you should not have any issues.

Here is a list of good themes to get you going:

Thematic Framework
CraftyCart Theme
Classic WordPress Theme
Default WordPress Theme
Ferevens
Fusion
Garland
Gathering
iTheme
Light
CopyBlogger
Kyoto Green
Venice
Tokyo Tech
Textback

  •