CodeCanyon
CodeCanyon
Code
Code
Code
Code
Code
Code

WooCommerce Pricing!

WooCommerce Pricing!

The WooCommerce Pricing! plugin (WCTBP) is a powerful tool that allows the shop admin to create price and discount rules that dinamically set products price, cart discounts or adds fees to cart according to time periods, quantity (currently in cart or item stock value left), amounts spent (per items or cart total) and user roles (for automatic role assignment give a look to companion plugin: WooCommerce Role by Amount Spent).

Useful for many purposes like assigning special prices for special users (like wholesale users)!

Note: The plugin, like WordPress, requires a minimum 5.5 PHP version.

LIVE DEMO

http://www.codecanyon.eu/wctbp/wp-admin
role: shop_admin
user: demo
pass: demo

role: customer
user: demo2
pass: demo

role: custom_customer_role
user: demo3
pass: demo

HOW IT WORKS

It’s very straight-forward. Once installed and activated, a new WooCommerce Pricing! bulk editor voice will appear in the main menu, from where the shop admin can access to the bulk price and discounts rules configurator and create the price and discount rules where will be defined item prices or cart discounts according to:
  1. Time periods
  2. User roles
  3. User account
  4. Quantity (in cart or in stock)/ Amount spent (per items or cart total)
Furthermore, the shop admin can also create specific rules individually for any product (or its variants) directly form its admin edit page!

NOTE: price manipualtion is performed before the taxes are applied to the item base price: The plugin computes the new item base price and then taxes are added to it.

PRICING/DISCOUNTING RULES

The shop admin can use the WooCommerce Pricing! bulk editor to assign to a set of products (directly selecting them or a set of categories) multiple price/discount rules or use the rules configurator directly in the product edit page. Each pricing rule has the following options:
  1. Product(s) selection (only in bulk editor)
  2. Category(es) selection (only in bulk editor)
  3. Assignment strategy (only in bulk editor: the rule can be assigned to the selected product/categories or to all products except the ones selected)
  4. “Children” categories (only in bulk editor: if a category was selected, that rule can be assigned also to its children)
  5. Time periods

TIME PERIODS AND USER ROLES

For each pricing rule, the shop admin can create different dates & time periods, select user roles or specific user accounts to which apply the pricing/discount rule and assign them different prices or cart discounts.
Every price strategy can optionally depend on the product quantity present in the customer shopping cart or according to the stock left value.
If the Cart strategy option has been choosen and the quantity is null or 0, the displayed product price will be automatically adjusted according to the strategy. In case of Stock strategy, if the quantity value is left empty or 0 the rule will be ignored.

Note: In case of Stock strategy, the price will be assigned according the current product value stock value. So for examaple the product has a stock value of 20 and the admin creates two rule for stock ranges 10 – 19 and 20 – 30.
The customer buys 5x of that product, the plugin will only appy ther rule configured for 20 – 30 (because current item stock value is 20), It won’t apply for 1x the priced configured for rule 20 – 30 and for the other 4x the price for rule 10 – 19.

In this way the admin can create special prices according to time, quantities and user role or just for user roles! This could be useful to setup special prices for wholesale users or create special limited time offer discounts or special prices!

DYNAMIC PRICE DISPLAY ON PRODUCT PAGE

WCTBP updates product price displayed on its page every time the customers changes the product quantity. This is useful to let your users to know how much the item will cost without adding the item to the cart!

SALE BADGE

By default for each product which applies a pricing rule and its price is less that the original, the default woocommerce “Sale” badge is displayd. This feature can be disable using the WooCommerce Pricing! general options menu. Optionally you can also customize its text!

HIDE PRODUCTS PRICES AND MAKE THEM UNPURCHASABLE

The shop admin, for each pricing rule, can use the special option Hide price for unauthorized users to hide product prices and add to cart buttons for the unauthorized users. Unauthorized users are the ones which do not match with the selected user roles and user accounts.
In case of previously products added to the cart before the rule creation, they will removed from the cart during the checkout process validation display a notice to the user.

NOTE: Make sure that the theme you are using is properly using the woocommerce_loop_add_to_cart_link,woocommerce_after_single_product, woocommerce_after_single_product, woocommerce_single_product_summary actions to render the add to cart buttons. If not, the plugin cannot remove them from product and shop pages.

ADVANCED QUANTITY/AMOUNT SPENT STRATEGIES

Would you like to apply a bulk discount to products of the same category if a customer adds more than X item of that category to the cart (or spend more thant a certain amount for those items)?
Would you like to apply a bulk discount the selected products if the sum of their quantities/spent amount is more than X ?
Would you like to add cart fees accoding to the purchased product/categories ?
You can!

WooCommerce Pricing! allows you to select advanced quantity strategies that lets you to specify which quantity the plugin has to consider (single product, sum of product quantities/amount spent belonging to the same category or sum of all the selected products quantities).

BUY X ITEM AND GET Y FREE!

WCTBP plugin will let you to configure discout rules for which you customer customer can buy X quantity of a product and have and get y quantity of that items for free!
To do that, the shop admin during the rule configuration has just to:
  1. select the new [CART]The selected number of items will be free option in the Price / Discount strategy
  2. select the By cart quantity range option on the Give away strategy section
  3. configure a min and max quantity range
  4. select the number of free items
So For example, the shop admin creates a discount rule where the quantity range is 8 – 15 and 3 as number of free items, If a customer adds at least of 8 items will be applied a discount to the cart equal to the item price * 3.

GIVE X items for free every Y items

Selecting the [CART]The selected number of items will be free strategy, you can also give X items for free every Y. It is useful to configure promotion like “You will get 1 item for free every 5 purchased items!”. To do that you have just to:
  1. select the new [CART]The selected number of items will be free option in the Price / Discount strategy
  2. select the Y items quantity that have to be given for free on the Number of free items section
  3. select the Every X items option on the Give away strategy section
  4. select the items X step value after which Y items are given for free

Examples

Example 1

The shop admin would like to make a special discount of the 20% for all “Category 1” products between 09:00 to 18:00 in evey day and for the whole 25th December day.
To configure this he only has to:
  1. Create a new rule and assign a name/id
  2. Select “Category 1” under categories
  3. Create a new time rule where:
    1. User roles: unselected all
    2. Day date type: Day of the week
    3. Days of the week: Select all
    4. Months: Select all
    5. Hour: 9
    6. Minute: 0
    7. End hour: 17
    8. End minute: 59
  4. Create a new date price rule where
    1. Price strategy: percentage
    2. Price value: 80% (in this case the final price will be 20% less than the original)
    3. Min and Max quantity/amount can be left empty (but if the offer has to depend on the purchased quantity/amount spent, this value can be filled as desidered)
  5. Create a time rule where:
    1. User roles: unselected all
    2. Day date type: Day of the month
    3. Days of the month: Select 25
    4. Months: Select “December”
    5. Hour: 0
    6. Minute: 0
    7. End hour: 23
    8. End minute: 59
    9. Create a new date price rule where
      1. Price strategy: percentage
      2. Price value: 80% (in this case the final price will be 20% less than the original)
      3. Min and Max quantity can be left empty (but if the offer has to depend on the purchased quantity, this value can be filled as desidered)

Example 2

Special price for all the “Category 1” products based on quantity. From 2 to 5 purchases, 20% discount and for more than 6 items 30% discount. This offer has to be active only during December.
  1. Create a new rule and assign a name/id
  2. Select “Category 1” under categories
  3. Create a new time period rule where:
    1. Day date type: Day of the week
    2. Days of the week: Select all
    3. Months: Select December
    4. Hour: 9
    5. Minute: 0
    6. End hour: 23
    7. End minute: 59
  4. Create a new pricing rule where
    1. Price strategy: percentage
    2. Price value: 80% (in this case the final price will be 20% less than the original)
    3. Min quantity: 2
    4. Max quantity: 5
  5. Create a new pricing rule where
    1. Price strategy: percentage
    2. Price value: 70% (in this case the final price will be 30% less than the original)
    3. Min quantity: 3
    4. Max quantity: can be left empty

PRODUCTS LIST PAGE

Another useful feature added by the WCTBP plugin is a new column named “Pricing rule(s)” On the Products list page. In this way the shop admin can always know if a pricing rule has been assigned to one (or more) post(s)/product(s)

SCREENSHOTS

Frontend price change will be applied to shop page, product page, cart page,... WCTBP

WCTBP

WCTBP

Dynamic price display on quantity change (product page only) WCTBP

WCTBP

Configurator WCTBP

Scheduling date: day selection (days of the month option selected) WCTBP

Keep an eye to which scheduling rule(s) you have assigned to products directly on products list page WCTBP

Server time sincronization WCTBP
WCTBP

CHANGE LOG


= 8.1 - 24.08.17 =
* Fixed an issue due to quantity was not properly computed for single variation

= 8.0 - 26.07.17 =
* Added new option to display total price on product page when selecting quantity greater than 1

= 7.9 - 12.06.17 =
* Fixed an issue that prevented in some cases to properly apply the pricing rules to variable products

= 7.8 - 09.06.17 =
* .po files updated

= 7.7 - 22.05.17 =
* Minor bugfix

= 7.6 - 04.05.17 =
* Fixed a warning message due to the usage of the deprecated function get_product instead of wc_get_product

= 7.5 - 30.04.17 =
* Improved hide price feature 
* Added new option to completely disable the "hide price" feature. This can be useful if using themes that 
  are rendering the "add to cart" buttons without properly using the WooCommerce actions (and then causing duplication or positioning issues)

= 7.4 - 14.04.17 =
* Minor UX improvement

= 7.3 - 11.04.17 =
* Fixed an issue that prevented pricing rules to be applied to variable product on WooCommerce 3.0.1

= 7.2 - 06.04.17 =
* Fixed an issue with variable products and WooCommerce 3.0

= 7.1 - 31.03.17 =
* *beta*Added support to [sale_products] shortocde. Item with any pricing rules and price lower than the regular price will
  showed only if the "show sale badge" option has been enabled.

= 7.0 - 31.03.17 =
* Grant support for the YITH WooCommerce Quick View plugin

= 6.9 - 27.03.17 =
* Minor bugfix

= 6.8 - 22.02.17 =
* Added support to upcoming WooCommerce 2.7

= 6.7 - 25.01.17 =
* Fixed an issue with the "Give free items" option

= 6.6 - 11.01.17 =
* Added option to give free X items every Y items on cart

= 6.5 - 06.01.17 =
* During prodcut selection, variation name are displayed showing their attributes

= 6.4 - 29.12.16 =
* Added new text option to append text after the product price (on product page only)

= 6.3 - 22.12.16 =
* Bugfix

= 6.2 - 14.12.16 =
* Fixed a bug that prevent old price display for simple products on shop and product page

= 6.1 - 08.12.16 =
* Minor bugfix

= 6.0 - 04.11.16 =
* Bugfix for variation and cart strategy

= 5.9 - 15.10.16 =
* Fixed an issue that prevent tax proper display

= 5.8 - 14.10.16 =
* Fixed an issue that prevent the sale price to be diplayed on sale products for which there was no pricing rule associated

= 5.7 - 27.09.16 =
* Fixed an issue that makes old price to be displayed even if the relative option was disabled

= 5.6 - 27.09.16 =
* Added portuguese language .po

= 5.5 - 23.09.16 =
* Added new feature to set prices according to amounts spent

= 5.4 - 22.09.16 =
* Fixed display price display with tax issue. The plugin was ignoring the WooCommerce -> Display Prices in the Shop/Display Prices During Cart and Checkout settings

= 5.3 - 19.09.16 =
* Added option to customize sale badge text

= 5.2 - 02.09.16 =
* Added new Unit and Total prices display according to selected quantities (Function provided by variousfire)
* Bugfix

= 5.1 - 31.08.16 =
* Fixed an issue due to if logged as admin discount prices where not properly displayed in frontend

= 5.0 - 18.08.16 =
* Minor bugfix 

= 4.9 - 16.08.16 =
* Minor bugfix 

= 4.8 - 10.08.16 =
* Minor bugfix 

= 4.7 - 08.08.16 =
* Added option for variable product to show price using the "From:..." style

= 4.6 - 28.07.16 =
* Added feature to sho "Sale" badge
* Fixed an issue with the cart fees

= 4.5 - 26.07.16 =
* Fixed an issue: changing product type to variable to simple could cause the pricing rule to not be properly applied in case it was created a rule for a variant

= 4.4 - 25.07.16 =
* Added new feature: now on product page the price is dinamically updated according to the selected quantity

= 4.3 - 21.07.16 =
* Fixed an issue that prevent prices to be properly computed on cart and checkout pages 

= 4.2 - 18.07.16 =
* Added option to hide product prices and "add to cart" buttons for non authorized used

= 4.1 - 18.07.16 =
* Fixed general options menu

= 4.0 - 05.07.16 =
* Added new option to add a fixed amount to the item original price and to add fee to the cart

= 3.9 - 28.06.16 =
* Minor bugfix

= 3.8 - 25.06.16 =
* Minor bugfix

= 3.7 - 24.06.16 =
* Minor bugfix

= 3.6 - 15.06.16 =
* Is now possible assign prices/discounts to specific users

= 3.5 - 31.05.16 =
* Minor bugfix

= 3.4 - 18.05.16 =
* Minor bugfix

= 3.3 - 13.05.16 =
* Added new feature: is now possible to configure free item (discount to the cart) after the user has added certain number of items 

= 3.2 - 05.05.16 =
* Bugfix: Discount/price change was not applied on cart/checkout

= 3.1 - 04.05.16 =
* Fixed number rounding issue 

= 3.0 - 30.04.16 =
* Fixed an issue with WPML 

= 2.9 - 29.04.16 =
* Bugfix 

= 2.8.1 - 29.04.16 =
* Bugfixes
* Added new option to select which "Quantity" strategy the plugin has to apply

= 2.8 - 28.04.16 =
* Added line-throught for in cart item table

= 2.7 - 23.04.16 =
* Bugfix

= 2.6 - 23.04.16 =
* Bugfix
* Added cart discount feature: is now possible to configure a fixed discount or discount by percentage according to the selected products,
  quantities and time periods.

= 2.5 - 18.04.16 =
* Bugfix
* Added new option to display product prices without tax

= 2.4 - 16.04.16 =
* Bugfix on percentage price calculation method
* Added new option to substract fixed value to item price

= 2.3 - 14.04.16 =
* Minor bugfix 

= 2.2 - 13/04/16 =
* Bugfix that prevent product edit page to be properly loaded

= 2.1 - 08/04/16 =
* Minor bugfix 

= 2.0 - 05/04/16 =
* Added the new "Use item quantity per category instead of single product quantity" option to apply price change according
the sum of quantities of products belonging to same categories

= 1.9 - 17/03/16 =
* Fixed an issue with the original price display when a discount/dynamic price is active for that product 

= 1.8 - 17/03/16 =
* Added option to not display original price on shop and product page

= 1.7 - 14/03/16 =
* Added new option to restore ajax "add to cart" button on shop page.

= 1.6 - 10/03/16 =
* Feature added: is now possible individually assign a rule directly from product edit page

= 1.5 - 20/02/16 =
* Fixed an issue that could cause some Warnings messages

= 1.4 - 18/02/16 =
* Is now possible assign price also according to iem stock quantity left

= 1.3 - 16/02/16 =
* small bugfix

= 1.2 - 13/02/16 =
* Plugin named to "WooCommerce Pricing!" 

= 1.1 - 12/02/16 =
* Added user roles filter

= 1.0 - 05/02/16 =
* Release

by
by
by
by
by
by