Posted on 3 Comments

Woocommerce Groups Pricing Documentation

INSTALLATION

Backup

Backup your WordPress installation files and database.

Install and activate the Woocommerce Group Pricing plugin

Add the new plugin you have received and activate it:

Go to Plugins > Add New > Upload and click the Browse… button to select the plugin’s zip file, usually woogrouppricing-x.y.z.zip (x, y and z are the plugin’s current version numbers).

After that proceed to activate the plugin.

If you have errors, review the plugin’s page located here: http://www.eggemplo.com/plugins/groups2mailchimp for similar problems and the proposed solutions posted in the comments.

SETUP

Requirements

This plugin requires:

  • Woocommerce > 2.2.x
  • Group > 1.4.x
  • Setup Woocommerce Group Pricing

    If you have not done so already, install and activate the plugin. See Installation section.

    Check the settings on the Woocommerce > Group Pricing submenu and adjust them.

    wrp-view

    Product Discount Method:

    You can select between rate or amount method.

    Apply to:

    You can apply the discount to regular price or to sale price if exists.

    If in several groups:

    If the user is in multiple groups, you can select a criterial to select the discount group.

    Groups discount:

    This discount is applied for each product.

    Leave empty if no group discount should be applied (default setting).

    Example with rate method: Indicate 0.1 for 10% discounts on every product.

    More features:
    If you need to apply custom discounts per categories and/or products, you can do it in the edit category/product page.

    wgp-settings

    UPDATE

    If you have received or downloaded an updated version of the Woocommerce Group Pricing plugin, follow these
    instructions to update it:

    Backup

    Back up your WordPress installation files and database.

    Upgrade to the new release

    Upgrading requires to replace the plugin.

    To update, the plugin must be deactivated, deleted and the new release uploaded and activated. These
    are the steps involved:

    • Go to Plugins > Installed Plugins, click Deactivate on the Woocommerce Group Pricing plugin, then click Delete to remove it.
    • Go to Plugins > Add New > Upload and click the Browse… button to select the new release’s zip file, and click on the Install Now button. After it has been installed, activate the plugin.

    BASIC USAGE

    Once the plugin is installed, enabled and configured, it begins to run.

    According to the group that belongs the visitor will see a store with discount prices or not, so you can set direct discounts to wholesales, Premium users, ….

    An example according to the below settings:

    wrp-product

    DOCUMENTATION

    The documentation and examples for the Woocommerce Group Pricing plugin and the others plugin are
    available on the following pages:

    • Woocommerce Group Pricing: This page
    • Groups : http://wordpress.org/plugins/groups/
    • Woocommerce: http://wordpress.org/plugins/woocommerce/
Posted on 8 Comments

Woocommerce Notify Updated Product

Notify customers when their product are updated

You need:

Setup Woocommerce Notify Updated Product

If you have not done so already, install and activate the plugin. See Installation section.

In Woocommerce->Notify Updated Product section you can enable/disable the functionality also the default subject and content in the emails.

settings

From the products edit page you can configure it ( in tab ‘Notify updated Product’ )

1.- If you select ‘Send notifications’, the emails will be sent when product is updated (the system doesn’t remember this option selected to avoid sending too many emails.
2.- You can customize the subject and the email content.

product

Basic usage

Once the plugin is installed, enabled and configured, it begins to run.

When you update a product and you need to notify the customers about this update, if you select this option, then the customers will receive an email.

email

Download

Posted on Leave a comment

Affiliates Custom Method – if coupon

Custom method to Affiliates plugin : set 20% if coupon is not used, otherwise 10%.
If you need to customize your values, simply you need to change these static vars:

public static $default_rate = 0.20;
public static $if_coupon_rate = 0.10;

Affiliates_Custom_Method_if_coupon-1.1

[php]
/**
* Plugin Name: Affiliates Custom Method – If Coupons
* Description: Custom method: set different rates if a coupon is used.
* Version: 1.1
* Author: eggemplo
* Author URI: http://www.eggemplo.com
*/
class ACM {

public static $default_rate = 0.20;
public static $if_coupon_rate = 0.10;

public static function init() {
if (class_exists ( ‘Affiliates_Referral’ )) {
Affiliates_Referral::register_referral_amount_method ( array ( __CLASS__, ‘if_coupon’ ) );
}
}

/**
* Custom referral amount method implementation.
*
* @param int $affiliate_id
* @param array $parameters
*
*/
public static function if_coupon($affiliate_id = null, $parameters = null) {
require_once( AFFILIATES_CORE_LIB . ‘/class-affiliates-service.php’ );

$result = self::$default_rate;
if ( $custom_rate = Affiliates_Affiliate::get_attribute( Affiliates_Service::get_referrer_id(), ‘referral.rate’ ) ) {
$result = $custom_rate;
}
if (isset ( $parameters [‘post_id’] )) {
$order_id = intval( $parameters[‘post_id’] );

if ( class_exists( ‘WC_Order’ ) ) {
$order = new WC_Order();
} else {
$order = new woocommerce_order();
}
if ( $order->get_order( $order_id ) ) {
if( $order->get_used_coupons() ) {
$result = self::$if_coupon_rate;
}
}
}
$result = bcmul( $result, $parameters[‘base_amount’], 2 );

return $result;
}
}

add_action ( ‘init’, array ( ‘ACM’, ‘init’ ) );
[/php]

Posted on 58 Comments

Woocommerce Role Pricing PRO

According to the role that the visitor has, he will see a store with discount prices or not, so you can set direct discounts to subscribers, editors ….

You need:

Changelog

Version 2.4
  • Compatible with Woocommerce 2.6.3
  • Added the [wrp_show_discount] shortcode
  • Fixed multisite bug.
Verion 2.0
  • Discounts by products (now variables available)
  • Discounts by categories
  • If user has various roles, you can select the criterial (higher discount, lower discount, …)

Screenshots

wrp-product

wrp-view

wgp-settings

wrp-category

Download