Plugin info

Total downloads: 1,416
Active installs: 10
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 4
Last updated: 12/19/2018 (2617 days ago)
Added to WordPress: 1/31/2017 (9 years old)
Minimum WordPress version: f
Tested up to WordPress version: 5.0.23
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 2617 days ago

20/100

Is WooCommerce – Restrict Content Pro Level Pricing abandoned?

Possibly abandoned (last update 2617 days ago).

Compatibility

Requires WordPress: f
Tested up to: 5.0.23
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

No similar plugins found yet.

Description

Integrate your Restrict Content Pro subscription levels with WooCommerce products and variations. This plugin enables the ability to set product and variation pricing per subscription level.

This is useful for sites that do not necessarily want to give a fixed discount to subscribers but would rather give discounts at the product level, for example.

Installation

  1. Upload wc-rcp-level-pricing to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Frequently Asked Questions

How can I manually display a non-subscriber price?

You can filter the display price of a product manually by filtering the output.

global $product;

$price = $product->get_price();

/**
 * @param string $price  Current price to filter
 * @param object $product  Instance of WC_Product or WC_Product_Variation
 */
$original_price = apply_filters( 'rcp_woocommerce_original_price',  $product->get_price(), $product );

How can I get the price of specific subscription level manually?

/**
* @param string $price Current price to filter
* @param object $product Instance of WC_Product or WC_Product_Variation
* @param integer $level Subscription level price to return
*/
$level_price = apply_filters( ‘rcp_woocommerce_level_price’, $price, $product, 1 );

How can I enable discounts for trial users?

By default trial users are not permitted subscription level pricing. You can modify this before with the filter below:

add_filter( 'wc_rcp_level_pricing_disallow_trial', '__return_false', 10, 4 );

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

1.0.4

  • Compatibility with PHP 7.3

1.0.3

  • Improved WooCommerce 3.0+ compatibility

1.0.2

  • WooCommerce 3.0+ compatibility

1.0.1

  • Check if subscription level exists before retrieving level pricing
  • Check members status before retreiving level pricing
  • Restrict trial users from receiving level pricing, add wc_rcp_level_pricing_disallow_trial filter

1.0.0

  • Initial plugin release