Search Documentation
  • Usage

    How do I add the show/hide visibility template tag to my template files? This tutorial assumes you have WP e-Commerce 3.8.8 or above installed and ac...


Wholesale Pricing works with the following WordPress e-Commerce plugins:

  • WP e-Commerce

Usage

View the Wholesale Pricing Usage documentation of how to take full advantage of the Plugin.

Support

Wholesale Pricing comes with a Quick Start document (readme.txt) to help with installing the Plugin. Additional support can be found in the Wholesale Pricing forum, or the Contact page.

Urgent Support

If you find yourself needing immediate support for your purchase, please use the Premium Support page.

Wholesale Pricing Forum

If you have any problems, questions or suggestions please join the members discussion on our Wholesale Pricing forum.

Readme

View the quick start document (readme.txt) that accompanies Wholesale Pricing.

View the Readme

=== WP e-Commerce - Wholesale Pricing ===

Contributors: Visser Labs
Tags: e-commerce, shop, cart, ecommerce, wholesale pricing
Requires at least: 2.9.2
Tested up to: 4.7.5
Stable tag: 1.8

== Description ==

Add wholesale pricing controls to your WP e-Commerce store.

For more information visit: http://www.visser.com.au/wp-ecommerce/

== Installation ==

1. Upload the folder 'wp-e-commerce-wholesale-pricing' to the '/wp-content/plugins/' directory

2. Activate the plugin through the 'Plugins' menu in WordPress

== Usage ==

Wholesale Pricing for WP e-Commerce integrates with custom User Roles in WordPress, what this means is you can create custom User Roles with specific access outside the traditional WordPress User Roles (e.g. Subscriber, Author, Moderator, etc.).

I've had alot of success integrating custom User Role pricing within WP e-Commerce using the User Role Editor Plugin (http://wordpress.org/extend/plugins/user-role-editor/) from shinephp, available for download from WordPress.org. Hope this helps!

To configure default pricing rules:

==== In WP e-Commerce 3.7 ====

1. Open Store > Wholesale Pricing

==== In WP e-Commerce 3.8 ====

1. Open Settings > Wholesale Pricing

====

2. Set default pricing levels for Products which do not have their own per-Product pricing rules. If you do want to add default pricing levels leave this as default.

==== In WP e-Commerce 3.7 ====

3. Open Store > Products

==== In WP e-Commerce 3.7 ====

3. Open Products > Add/Edit Products

====

4. Open an individual Product and under the Wholesale Pricing widget select the individual Product's pricing levels. Do note that the fixed price rule will always override the %/$-based pricing rules so set one of the other, not both.

5. Click Update to save changes

6. Have fun!

== Sidenotes ==

==== Product visibility base on User Role ====

To add the show/hide Product visibility based on User Role you can use the built-in filtering we employ on the Products Page and Single Product screen, if you require further customisation of element visibility see the following.

1. Open your root web directory with your favourite file explorer or FTP manager (e.g. FileZilla)

====== In WP e-Commerce 3.7 ======

Depending on whether you are using the default WP e-Commerce template files (e.g. /wp-content/plugins/wp-e-commerce/themes/%current_theme%/...) or have copied them to the 'safe' WP e-Commerce directory within Uploads (e.g. /wp-content/uploads/themes/%current_theme%/...) do as follow.

2. Open 'products_page.php' and paste '<?php if( wpsc_wp_is_product_visible() ) : ?>' on line #82

3. Open 'single_product.php' and paste '<?php if( wpsc_wp_is_product_visible() ) : ?>' on line #26

====== In WP e-Commerce 3.8 ======

Depending on whether you are using the default WP e-Commerce template files (e.g. /wp-content/plugins/wp-e-commerce/wpsc-theme/...) or have copied them to your current WordPres Theme directory (e.g. /wp-content/themes/%current_theme%/...) do as follow.

2. Open 'wpsc-products_page.php'

2.1 Copy the following snippet and paste it below "<?php while (wpsc_have_products()) : wpsc_the_product(); ?>" on line #66

<?php if( wpsc_wp_is_product_visible() ) : ?>

2.2 Paste the following snippet and paste it above "<?php endwhile; ?>" on line #227

<?php endif; ?>

3. Open 'wpsc-single_product.php'

3.1 Copy the following snippet and paste it below "<?php while (wpsc_have_products()) : wpsc_the_product(); ?>" on line #30

<?php if( wpsc_wp_is_product_visible() ) : ?>

3.2 Copy the following snippet on paste it above "<?php endwhile; ?>" on line #214

<?php endif; ?>

======

4. Save changes and upload modified files

==== Original Price ====

Display the original Price before markup/markdown within your store with the following template tag (e.g. Original Price: $20.00).

Drop the following template tag into your Products Page and/or Single Product template, then save changes and upload modified files.

Original Price: <?php echo wpsc_wp_original_price(); ?>

==== You Save ====

Display the saving between standard Product price and the current User Role's markup/markdown (e.g. You Save: $5.00 (25.00%))

Drop the following template tag into your Products Page and/or Single Product template, then save changes and upload modified files.

You Save: <?php wpsc_wp_you_save( array( 'type' => 'amount' ) ); ?> (<?php wpsc_wp_you_save(); ?>)

=== User Role Price ===

Display the Price for a given User Role using the following template tag (e.g. Member's Price: $5.95).

Drop the following template tag into your Products Page and/or Single Product template, then save changes and upload modified files.

Member's Price: <?php wpsc_wp_role_price( 'subscriber' ); ?>

Replace 'subscriber' with the User Role 'slug', here's the default User Role slugs in WordPress.

- administrator
- editor
- author
- contributor
- subscriber
- guest

== Support ==

If you have any problems, questions or suggestions please join the members discussion on my WP e-Commerce dedicated forum.

http://www.visser.com.au/wp-ecommerce/forums/

== Disclaimer ==

This Plugin does not claim to be a PCI-compliant solution. It is not responsible for any harm or wrong doing this Plugin may cause. Users are fully responsible for their own use. This Plugin is to be used WITHOUT warranty.

Version History

See what’s changed in each release of the Plugin.

View the Changelog

== Changelog ==

= 1.8 =
* Changed: Removed $wpsc_wp global
* Added: WPSC_WP prefixed Plugin constants
* Fixed: Placement of dropdown menus within the Wholesale Pricing widget on the Add/Edit Product screen
* Added: Hide individual variations based on User Role rules

= 1.7.9 =
* Changed: Removed deprecated function

= 1.7.8 =
* Fixed: Manual Ordering integration

= 1.7.7 =
* Fixed: Import support

= 1.7.6 =
* Added: Switch visibility default option
* Added: Settings link to Plugins page
* Changed: WordPress compatibility version
* Fixed: Various Undefined Property notices
* Added: Variation support
* Added: Default Wholesaler User Role

= 1.7.5 =
* Fixed: Wholesale Pricing meta box not showing on New Product
* Added: Product Importer Deluxe integration

= 1.7.4 =
* Fixed: Unneccesary WP_DEBUG errors within WordPress Administration
* Added: wpsc_wp_user_role_price() for displaying Price for that User Role
* Fixed: Checkbox not displaying in Add/Edit Products
* Fixed: Special price wrong under WP e-Commerce 3.7
* Fixed: Settings not saving under Settings

= 1.7.3 =
* Changed: Using checked() and selected()
* Fixed: $0.00 price caused template error

= 1.7.2 =
* Added: Original Price and You Save template tags

= 1.7.1 =
* Fixed: WP e-Commerce Plugins widget markup

= 1.7 =
* Fixed: Styling issue within Plugins Dashboard widget

= 1.6.9 =

Wishlist

Visit the Wholesale Pricing Ideas forum to see what’s in the works for future Plugin releases.

Plugin Updates

The latest release can be downloaded from your My Account page.