WP.osC Plugin for WordPress
WP.osC Plugin (Current Version 1.0) has two features:
1. Displays on your WordPress blog's post/page:
2. Adds a dynamic widget in your blog’s sidebar to display:
Demo
Live Demo [⇒]
Usage
You have three options:
- Create a page or post and enter one of the following tags anywhere in the content.
- The plugin adds two widgets to display new products and random products, so you can place these widgets on your sidebar through Design=>Widgets.
- If your theme doesn’t use widgets, you can use one of the following functions in your sidebar:
<?php if (function_exists('display_new_products')) display_new_products(); ?>
<?php if (function_exists('display_random_products')) display_random_products(); ?>
[wposc:new] Displays new products.
[wposc:best] Displays top 10 best sellers.
[wposc:rand] Displays random products.
Installation
Please note : You need to install WP.osC package before using this plugin (works well with the original osCommerce also).
In this installation guide, we will suppose you have installed the WP.osC package in "shop" subdirectory of your wordPress site. So to the viewer, the site is organized into a conceptual hierarchy that looks something like this:
- Download plugin.php file from "here" and unzip.
- Upload the plugin.php file to your store root directory (in our example : put plugin.php file into "shop" subdirectory)
- Download WordPress plugin from WordPress.org site and unzip.
- Upload the plugin to your WordPress plugins directory inside of wp-content : /wp-content/plugins/
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- To modify the plugin settings, go to WP-Admin -> Settings -> WP-osCommerce
Thursday 25 December, 2008
