Sale!

Custom Price Labels for WooCommerce

Rated 5.00 out of 5 based on 1 customer rating
(1 customer review)

Create any custom price label for any WooCommerce product.

Clear
Author: WP Wham SKU: N/A Category: Tags: , Version: 2.4.3; Last updated: 2 months ago; Requires WordPress version: 4.1; Tested up to: 4.9

Description

This plugin is a premium version of free "Custom Price Labels for WooCommerce" plugin.

Custom Price Labels for WooCommerce plugin lets you add any price label to any WooCommerce product. Labels can be set globally for all products, or locally on per product basis.

Custom Price Labels Options

Plugin options are located in “WooCommerce > Settings > Custom Price Labels”

Override global price labels with per product labels
If enabled, this will override global price labels with per product labels (if set). Otherwise labels will be combined (global first).
Default: no
Search bots
Here you can disable custom price labels for search bots.
Default: no

Per Product Custom Price Labels Options

When enabled, this will add “Custom Price Labels” metabox to each product’s edit page.

Per Product Custom Price Labels
To set labels on per product basis, start editing product, then fill in “Custom Price Labels” metabox.
Default: yes
Disable options
Possible values: Visibility: Hide on; Visibility: Show only on; User Roles: Hide for; User Roles: Show only for.
Default: None

Wrap Per Product Custom Price Labels

Enable/Disable
Enables/disables “per product” custom price labels wrapping.
Default: no
Instead of the price: Prepend
Default: <span class="alg-price-label-instead">
Instead of the price: Append
Default: </span>
Before the price: Prepend
Default: <span class="alg-price-label-before">
Before the price: Append
Default: </span>
Between regular and sale prices: Prepend
Default: <span class="alg-price-label-between">
Between regular and sale prices: Append
Default: </span>
After the price: Prepend
Default: <span class="alg-price-label-after">
After the price: Append
Default: </span>

To set labels on per product basis (that is – different label for each product) you need to open product edit window, and fill in custom price labels metabox.

WooCommerce Custom Price Label Plugin - per Product Settings

If you want to bulk edit per product labels, you can use Custom Price Label Bulk Editor Tool accessible via WooCommerce > Custom Price Label Bulk Editor Tool.

Custom Price Labels for WooCommerce Plugin - Price Label Bulk Editor Tool

Global (All Products) Custom Price Labels Options

This section lets you set price labels for all products globally. You can use HTML here.

To set same labels for all products, you will need to fill in setting in WooCommerce > Settings > Custom Price Labels.

You can set user roles to hide/show and site visibility for global price labels.

WooCommerce Custom Price Label Plugin - General Settings

Global Custom Price Labels
Default: yes
Add before the price
Enter text to add before all products prices. Leave blank to disable.
Default: None
Add after the price
Enter text to add after all products prices. Leave blank to disable.
Default: None
Add between regular and sale prices
Enter text to add between regular and sale prices. Leave blank to disable.
Default: None
Remove from price
Enter text to remove from all products prices. Leave blank to disable.
Default: None
Replace in price (search)
Enter text to replace in all products prices. Leave blank to disable.
Default: None
Replace in price (replace)
Enter text to replace with. Leave blank to disable.
Default: None

Visibility Options

Hide on
If set – will hide global price labels for selected options. Leave empty to show on all site. Possible values: Homepage; Archives (e.g. categories); Single product page; Single product page (e.g. related); All pages (except homepage); Cart page; Variable: main price; Variable: all variations.
Default: None
Show on
If set – will show global price labels only for selected options. Leave empty to show on all site. Possible values: Homepage; Archives (e.g. categories); Single product page; Single product page (e.g. related); All pages (except homepage); Cart page; Variable: main price; Variable: all variations.
Default: None
User roles to hide
If set – will hide global price labels for selected user roles. Leave empty to show to all users.
Default: None
User roles to show
If set – will show global price labels only for selected user roles. Leave empty to show to all users.
Default: None

Tips & Tricks

You can style the label by wrapping it in <span> and either assigning some class to the label:

<span class="my_label_class">YOUR LABEL</span>

and then styling it by adding custom CSS (e.g. to “Appearance > Customize > Additional CSS”):

span.my_label_class { color: red !important; font-weight: bold !important; }

or you can add styling directly to your label, e.g.:

<span style="color: red; font-weight: bold;">YOUR LABEL</span>

You can use shortcodes in the labels. So if you need to output some specific dynamic information, you can add custom shortcodes to your (child) theme’s functions.php file. For example, if you want to display discount value for products on sale, you can add this code:

add_shortcode( 'product_discount', 'product_discount' );
if ( ! function_exists( 'product_discount' ) ) {
	function product_discount( $atts ) {
		$product = wc_get_product();
		if ( $product && $product->is_on_sale() ) {
			return wc_price( $product->get_regular_price() - $product->get_sale_price() );
		}
	}
}

and then use [product_discount] in your labels.

Free vs Pro

This plugin is a full version of free Custom Price Labels for WooCommerce Plugin, which has all options fields unlocked.

Free Version Pro Version
Override Global Price Labels with Per Product Labels yes yes
Search Bots yes yes
Visibility (Pages and User Roles) Options yes yes
All Products – Add before the price yes yes
All Products – Add after the price yes yes
All Products – Add between regular and sale prices no yes
All Products – Remove from price no yes
All Products – Replace in price no yes
Per Product – Instead of the price yes yes
Per Product – Before the price yes yes
Per Product – Between regular and sale prices no yes
Per Product – After the price no yes

Prices & Licenses

Single siteUnlimited sites
1 year$19.99$49.99 $29.99
Lifetime$49.99 $39.99$99.99 $59.99

Refunds

We want to ensure that you are 100% happy with your purchase, so if you feel the product(s) you purchased are not the best fit for your requirements and you attempted to resolve issues with product's author, we are offering 30 day money back guarantee refund policy.

1 review for Custom Price Labels for WooCommerce

  1. Rated 5 out of 5

    Mohsen

    Hi

    i added this to wordpress support page about 5 month ago:

    I think adding global option is the best feature that is absent right now!

    What I mean is this,
    add global option like hide after price text on homepage, so when I active this option, all products that have text after price, will be included to the selected option

    this is so useful
    I hope to see this feature soon

    • algoritmika

      Hi,

      Feature added in v2.2.1.

      Best regards,
      Tom

Add a review

7 thoughts on "Custom Price Labels for WooCommerce"

  1. Teri Simonton October 10, 2017 at 2:39 am #

    Custom Price Labels – Free or Pro Version
    ——————–
    Can the plugin change the price label for each variation of a product? We’ve tried all of the settings in the free version to see if we could enable the metabox on the edit product – variations section with no luck. We have products that will need to show a text label instead of price (i.e. $xx.xx/per month) that is not actually calculated on checkout so needs to be added as text. However, a variation of the product itself – say color or storage capacity, would need to display a different per month price text.

    Is this a capability of the plugin? Can the free or paid version actually assign custom price labels within the production variation pricing itself? Happy to purchase the pro version if required for functionality.

    Reply

  2. Jim Crate November 21, 2017 at 10:21 pm #

    The woocommerce_cart_product_price filter runs with the admin flag set because WooCommerce uses admin-ajax.php to generate the mini-cart. The custom_price() function in class-wc-custom-price-label.php just returns the price if is_admin(), so the price label doesn’t show in the mini-cart. Changing the check for admin as below allows the price to display with labels in the minicart too.

    if ( is_admin() && !doing_filter(‘woocommerce_cart_product_price’) ) {
    return $price;
    }

    Reply

  3. thierry December 6, 2017 at 7:47 am #

    Hi

    Is it possible to change the color of the text and use it per variation’s product

    Reply

  4. Patrick Vossen January 17, 2018 at 3:03 pm #

    Hi,

    Is it possible to switch between multiple languages?
    I am currently using WPML to manage the different languages in WooCommerce

    Reply

  5. MARO January 23, 2018 at 2:37 pm #

    Hello I need to hide the text before price on “checkout” page, how can I do that?

    Reply

  6. James January 25, 2018 at 7:21 pm #

    Hello,

    Is there any way to add price labels after prices on the CHECKOUT page? These prices are listed under Your Order under the Totals column. Please let me know ASAP. 🙂

    Thanks

    Reply

  7. Brett Barnard July 31, 2018 at 7:54 pm #

    This plugin didn’t work with my site and the last two emails I sent through zendesk were unanswered so I’ve deleted it. I don’t see anything about a 30-day trial so maybe I’m just out the money, but I would like a refund if possible.

    Reply

Leave a Reply

Changelog

= 2.4.3 - 11/09/2018 =
* Dev - Using wc_help_tip() function for tooltips.
* Dev - Code refactoring.

= 2.4.2 - 10/09/2018 =
* Dev - "Contributors" and "Author URI" updated.

= 2.4.1 - 05/08/2018 =
* Dev - Admin settings descriptions updated.
* Dev - Plugin link updated.

= 2.4.0 - 19/04/2017 =
* Dev - WooCommerce v3.x.x compatibility - $product->id.
* Dev - WooCommerce v3.x.x compatibility - woocommerce_get_variation_price_html filter.
* Dev - Visibility - "All pages" replaced with "All pages (except homepage)".
* Dev - Custom Price Label Bulk Editor Tool - Restyled.
* Dev - readme.txt updated: screenshots, faq etc.
* Dev - Filter rewritten.
* Dev - coder.fm links changed to wpcodefactory.com.

= 2.3.0 - 23/03/2017 =
* Dev - Custom Price Label Bulk Editor Tool - WP_Query optimized to return ids only.
* Dev - Per Product Custom Price Labels - "Disable Options" option added.
* Dev - Per Product Custom Price Labels - "Hide on" checkboxes replaced by multiple select (dropdown box).
* Dev - Per Product Custom Price Labels - "Wrap Per Product Custom Price Labels" options added.
* Dev - General - "Disable custom price labels for search bots" option added.
* Dev - Settings divided to separate sections. "Reset Section Settings" option added.
* Dev - "Enable section" option added (to both global and per product price labels).
* Dev - "Show on" options added (to both global and per product price labels).
* Dev - "Hide on single product page except main product price (e.g. related)" option added (to both global and per product price labels).
* Dev - Language (POT) file updated.
* Dev - Code refactoring.
* Dev - Descriptions etc. updated.

= 2.2.1 - 08/03/2017 =
* Dev - Global Custom Price Labels - "Visibility on Site" options added.
* Dev - Language (POT) file updated.

= 2.2.0 - 01/02/2017 =
* Dev - User Roles to Hide/Show options added.
* Dev - Global Custom Price Labels - Textarea settings fields replaced with custom textarea fields.
* Dev - Language (POT) file updated.
* Dev - Minor code refactoring.
* Dev - readme.txt updated.

= 2.1.2 - 26/01/2017 =
* Dev - "Override Global Price Labels with Per Product Labels" option added.

= 2.1.1 - 27/12/2016 =
* Dev - Version system added.
* Fix - load_plugin_textdomain() function moved from init hook to constructor.
* Dev - Language (POT) file updated.
* Dev - readme.txt updated.

= 2.1.0 - 24/05/2016 =
* Dev - Translations - POT file uploaded. "Text Domain" and "Domain Path" added to the plugin's header.
* Dev - Multisite support added.
* Dev - "Custom Price Label Bulk Editor Tool" added.
* Dev - Plugin renamed from "WooCommerce Custom Price Label" to "Custom Price Labels for WooCommerce".

= 2.0.1 - 05/08/2015 =
* Dev - Description in readme.txt extended.
* Dev - Description added to General settings tab.

= 2.0.0 - 05/08/2015 =
* Dev - Global labels added.
* Dev - Per product options: Hide on all pages, Hide on cart page only, Hide for main (variable) price, Hide for all variations.
* Dev - Per product options: Before the price unlocked.
* Dev - Major code refactoring. Settings are moved to "WooCommerce > Settings > Custom Price Label".

= 1.0.2 =
* Variable products bug fixed

= 1.0.1 =
* Minor bug fixed

= 1.0.0 =
* Initial Release

Installation

  • Buy the plugin 🙂
  • Download plugin's zip to your computer (you will receive an email with download link, or you can always download the plugin from your account).
  • Go to Admin Dashboard > Plugins > Add New > Upload Plugin and browse for downloaded zip file.
  • If plugin is successfully installed - you should see it added to the Plugins list.

Updates

To keep WPCodeFactory items up to date, please install WPCodeFactory Helper plugin and enter your site key.