WooCommerce Add Prefix And Suffix to Product Prices Mini-Plugin

(2 customer reviews)

$19.00 /once

Easily add a prefix and/or a suffix to all WooCommerce product prices.

Description

You don’t feel confident with coding? You need more control over your product price display? You don’t want to purchase yet another bloated, expensive plugin? Great!

Business Bloomer WooCommerce Add Prefix And Suffix to Product Prices is a mini WooCommerce plugin, without the usual hassles. One feature. Lifetime license. No annoying subscriptions. 1 plugin file. A few lines of code. No banners. No up-sells. No WP notifications. Use it on as many websites as you like. Lifetime support. 1-page documentation. No settings dashboard.

Settings screenshot:

Quick demo:

As you can see the plugin is pretty straight forward. Enter a custom prefix and/or suffix. See the magic happen. Simple!

2 reviews for WooCommerce Add Prefix And Suffix to Product Prices Mini-Plugin

  1. wieteke

    With some great help from support i could add a price suffix for just a few products instead of all products. Great plugin!

  2. Florent BAEZA (verified owner)

    Excellent support. And useful plugin under development

Add a review

Your email address will not be published. Required fields are marked *

Documentation

What does this Mini-Plugin do? Where do I find the settings?

This plugin allows you to display product price prefix and suffix on the product archive pages (shop, category, tag, etc.) and the single product page.

It comes with simple settings; install it, and find the prefix and suffix input fields under WooCommerce > Settings > Products.

What’s a Mini-Plugin, by the way?

The most annoying things about premium plugins are recurring subscriptions, limited license usage, too many features, bloat, up-sells and annoying notifications, unskilled support, and poor documentation. Our Mini-Plugins are the exact opposite of that.

Where can I get lifetime support?

Once you purchase the plugin, you will get a link to a “Support” page, where you can post messages, screenshots or screencasts and get immediate help.

Where can I download my plugin ZIP file?

You will receive your download file via email upon payment. Alternatively, you can head over to the My Account > My Downloads page. Here’s a direct link.

What if a new version is released? How will I know? How can I update?

The plugin will notify you that there is an update available directly in the WordPress Dashboard, same as the other plugins. You can update with a single click.

Alternatively, you can then get the latest ZIP from the Downloads page and manually update the plugin by going to Plugins > Add New > Upload Plugin. Yes, the plugin already exists – WordPress will find that out and ask you if you wish to override it.

How do I disable prefix/suffix when price is zero?

Please add this to your child theme functions.php or into a Code Snippet:

add_filter( 'woocommerce_get_price_html', 'bbwcpps_add_price_prefix_if_not_zero', 98, 2 );

function bbwcpps_add_price_prefix_if_not_zero( $price, $product ) {
   if ( ! is_admin() && $product && ! $product->get_price() > 0 ) {
      remove_filter( 'woocommerce_get_price_html', 'bbwcpps_add_price_prefix', 99, 2 );
   } else add_filter( 'woocommerce_get_price_html', 'bbwcpps_add_price_prefix', 99, 2 );
   return $price;
}

add_filter( 'woocommerce_get_price_suffix', 'bbwcpps_add_price_suffix_if_not_zero', 98, 4 );

function bbwcpps_add_price_suffix_if_not_zero( $html, $product, $price, $qty ) {
   if ( ! $price > 0 ) {
      remove_filter( 'woocommerce_get_price_suffix', 'bbwcpps_add_price_suffix', 99, 4 );
   } else add_filter( 'woocommerce_get_price_suffix', 'bbwcpps_add_price_suffix', 99, 4 );
   return $html;
}

How do I enable the suffix only for a specific product tag?

add_filter( 'woocommerce_get_price_suffix', 'bbwcpps_add_price_suffix_if_not_zero', 98, 4 );

function bbwcpps_add_price_suffix_if_not_zero( $html, $product, $price, $qty ) {
   if ( ! has_term( 'fabrics', 'product_tag', $product->get_id() ) ) {
      remove_filter( 'woocommerce_get_price_suffix', 'bbwcpps_add_price_suffix', 99, 4 );
   } else add_filter( 'woocommerce_get_price_suffix', 'bbwcpps_add_price_suffix', 99, 4 );
   return $html;
}

I’ve read the docs before buying, purchased the plugin, but it doesn’t suit my needs. Can I get a refund?

Sure, you get 100% money back if you request a refund within 30 days from your purchase. As of now there is no automated system on the My Account > My Orders page, so drop me an email and I’ll process your refund. Working on it though (expect a tutorial soon)!

I have a pre-sale question?

Cool! Contact me here and I’ll do my best to get back to you asap.