WooCommerce Simple Bulk Discounts

Last updated: 27th Nov 2018.

Thank you for purchasing our plugin. If you have any questions that are beyond the scope of this help file, please feel free to email via contact form here. Have fun!

Change Log

** Version 1.0.6 **
- Fix: Translations POT file fix
									
** Version 1.0.5 **
- Fix: Bug with 'Treat product variations separately' option
								
** Version 1.0.4 **
- Fix: Bug with displaying discount when Woo displays prices excl. tax in cart and during checkout
- Fix: Changed admin dashboard widget

** Version 1.0.3 **
- Fix: Add decimal input on discount amount admin

** Version 1.0.2 **
- Fix: bug in admin panel

** Version 1.0.1 **
- Fix: Compatibility with WooComerce >= 3.0.0

** Version 1.0.0 **
- Initial release

Woocommerce Simple Bulk Discounts

WooCommerce Simple Bulk Discounts is a extension for WooCommerce. This extension allows you to give your buyer discounts when purchasing items - for example one buys 3 items and gets 1 free or gets $10 off total sum. WooCommerce Simple Bulk Discounts has trivial setup and you need basic Woocommerce and web developing knowledge.

With WooCommerce Simple Bulk Discounts plugin you can setup discounts for product quantity and specific user role. WooCommerce Simple Bulk Discounts plugin integrates seamlessly with WooCommerce and no special knowledge is needed (same level like for standard WooCommerce usage).

Overview and Features

  • Seamless integration into WooCommerce via its hooks
  • You get new tab in Product Data block named "Simple bulk discounts"
  • Supports precentage or fixed discounts
  • Define discount for quantity - example: get 30% or $10 off when you purchase 3 items - can be set for total sum or for each item
  • Define discount for user role - example: registered users get 30% or $10 off - can be set for total or for each item
  • You can combine discount rules for both quantity or user roles
  • Flat discount for total (useful only for fixed discounts)
  • Ability to treat product variations separately
  • Unlimited set of bulk discount rules
  • Custom text can be shown for products that have enabled bulk discounts with explanations
  • You can use shortcode [wcsbd_user_role role="role"] to show bulk discount text for certain user role that has enabled bulk discount
  • Enable / disable bulk discount with single checkbox
  • Works with custom product types

Instalation

Source: https://codex.wordpress.org/Managing_Plugins#Installing_Plugins

Note:

Make sure to install WooCommerce before you activate Simple Bulk Discounts plugin.

You can install plugin via WordPress "Add New" plugin - to do that download zip with plugin only (installable WordPress files only), click add new and that's it. In case you do not have permissions to upload to plugins/ directory you will need FTP login info and upload plugin via FTP.

Alternative setup. After downloading WooCommerce Simple Bulk Discounts plugin, extract plugin zip and upload it to your plugins directory - wp-content/plugins/ folder of your Wordpress installation. Since this is extension for WooCommerce you need to install WooCommerce before activating the plugin. WooCommerce plugin which can be downloaded here.

If you need help installing Wordpress see the link here

Note:

Once you installed and activated WooCommerce go to WooCommerce > System Status and make sure that you don't have red colored errors (specially for WP memory limit).

Install WooCommerce Sample Data:

Source: https://docs.woocommerce.com/document/importing-woocommerce-dummy-data/

WooCommerce comes with sample data which you can import, dummy data file is /wp-content/plugins/woocommerce/dummy_data.xml Sample data does not include group buy products, it provides data to populate Woocommerce store with some demo products, ratings, comments, etc. Steps to import demo data to your WordPress WooCommerce site:

  1. Go to Tools > Import
  2. Select XML dummy content file from /wp-content/plugins/woocommerce/dummy_data.xml
  3. Click Upload file and import
  4. Assign posts to an exitsting account
  5. Check Download and import file attachments
  6. Click Submit and wait until WordPress finish downloading attachments and importing content

Warning:

Importing dummy data can take some time, specially on slow Internet connections. Be patient and do not close or refresh browser tab until import operation is completed.

Quick Bulk Discount Setup

Setting up new product with bulk discount is easy:

  • make sure all steps from Installation are done (WooCommerce installed, plugin enabled)
  • go to Products => Add Products
  • add title, description, images, featured image, select category - all things you do when adding regular product
  • in "Product Data" above General tab you will notice Bulk simple discount tab
  • click on it to define bulk discount rules see screenshot:
    screenshot
  • define bulk discount rules and optionally custom text for discount explanation
  • publish produc

In Woocommerce Settings -> Simple Bulk Discounts you can set some options which are well described and self explainable.

Changes in WooCommerce

After you activate WooCommerce Simple Bulk Discounts plugin couple new options will appear:

  1. WooCommerce product data has new tab called Simple bulk discounts
  2. WooCommerce settings get new tab called Simple Bulk Discounts
  3. New shortcode

Plugin Options

Here is screenshot of Simple Bulk Discount settings that you can find in WooCommerce -> Settings as new tab. Settings are self explainable.

screenshot

New tab "Simple bulk discounts" in Product Data block:

screenshot

Shortcodes

Here is a list of all available plugin shortcodes. Some shortcodes accept optional orderby and order attributes.

  • show bulk discount text for specific user role - [wcsbd_user_role role="role"] where "role" is for example "administrator", "user", any from the list of roles

Available roles are values from dropdown menu "Role" in WordPress user settings, see screenshot:

screenshot

FAQ

Here you can find answers to frequently asked questions. Feel free to contact us if you can't find answer to your question.

  1. Does this plugin work with caching plugins?
    Yes, W3TC is working but we advise no caching for logged in users. For example if page cache is enabled widget will not work - recently viewed deals. Once user is logged in and there is no caching anymore all widgets will work. You can use CDN and browser caching. Our plugin demo website uses W3TC with page and object caching, browser caching and generic CDN mirroring.
  2. Can I make theme with WooCommerce Simple Bulk Discounts and sell it on ThemeForest?
    Sure, just purchase extended licence and you're good to go. Since the current licenses do not deal with re-selling Items, Envato lets authors to decide whether they grant permission for bundling Items or not. We have the following conditions, and you need to follow them:
    • You cannot redistribute the item "as-is", even if you modify it or you make a derivative version for another platform
    • You cannot offer the plugin as a stand-alone item
    • You cannot include the plugin separately from your theme in the download package
    • You cannot provide an Item Purchase Code for your customers - Since Envato doesn't have a "multi-use" or transferable license, your customers are not entitled to receive an Item Purchase Code with your theme and use the plugin separately from your work.
    • Updating the plugin is your own responsibility
    • Since your customers cannot receive updates from us, you need to handle this on your own
    • You need to handle related support requests after your customers or you can instruct them to buy regular licence and ask us for support directly via our CodeCanyon profile (we cannot provide free support for your customers)
  3. How can I translate plugin to my language? Do you have translations?

    We only maintain english translation. We do not have resources to quality maintain other translations. If you have trasnlation, you can submit one to us and we will post it here for download if someone wants it, but those will be unofficial.

    Here are steps which can help you to traslate plugin yourself:

    • pot file that you will edit is located in plugin_dir\languages\
    • you need to download and install Poedit https://poedit.net/download
    • download pot file and open it with Poedit
    • do your translations with Poedit
    • when done save wc-sbd-en_GB.po, saving wwc-sbd-en_GB.po will create wc-sbd-en_GB.mo
    • you need to upload both files to /wp-content/languages/plugins/ and not to plugin directory because translations will be lost if you update plugin by deleting old one

    Note:

    In filename wc-sbd-en_GB.po suffix en_GB must match your language settings in WordPress, otherwise language will not be loaded. So for example you can have wc-sbd-en_AU.mo, wc-sbd-af.mo or wc-sbd-en_CA.mo, complete list of available suffixes are here https://make.wordpress.org/polyglots/teams/

  4. How can I update plugin with new version? Is auto updating possible? - We suggest you to install Envato Marketplace (installation instructions can be found on plugin's url) plugin for auto update plugin and themes purchased on Envato. Setup is easy. Manual updating can be done by downloading new version of plugin and overwrite old files with new ones or deleting old plugin and installing new one.

    Note:

    If you have modified plugin files (templates) then you need to be careful when updating so you don't overwrite changes you made and that templates are inside child theme or theme woocommerce/ template folder.

  5. Does WooCommerce Simple Bulk Discounts work with WordPress import / export tools?
    Yes, you can export and import deals with standard WordPress import / export tools that are located in Admin -> Tools menu.
  6. I have installed your plugin but images are not aligned, buttons are too small / big, input fields needs to be smaller / bigger, can you help?

    In short no.

    It's your duty to modify plugin template to match your style and theme. Themes can implement different ways how they customize pages and parts of Woocommerce. We cannot guarantee that our plugin will look same as in our demo for every possible theme out there. Web developing is more than getting a theme and couple plugins, enabling them and deliver web site. Our templates are coded by standards and they adhere to WordPress and WooCommerce template structure. That means that minimal intervention is needed from client side, but sometimes there is no way to avoid template changes. Some themes use similar structure and have minimal interventions in structure and our plugin looks good out of the box and some do not. It's your task as web developer and client who purchased plugin to modify and customize plugin templates to match your own (or client's) needs and styles. This is part of developing a web site. You cannot expect that everything will be perfect for every possible theme and plugin comibation out there or that we will do your job for you as part of support. We support plugin - we do not style and customize client's sites. Thanks for understanding.

    Note:

    Right way to customize plugin's templates is to copy contest of plugin_dir/woocommerce-simple-bulk-discounts/templates/ directory to your_theme/woocommerce/ directory and do modifications there.

    When you ask us for support make sure it's not related to tasks we don't do as part of support:

    - style or customize your theme to do this or that

    - provide support for bugs caused by 3rd party plugins or themes (we can pinpoint the problem)

    - send you CSS or HTML code for modifying html elements

  7. 3rd party plugin is causing problems? Its developers tell you that we need to fix our plugin?

    Woocommerce extensions should be transparent - meaning one extension should work with another without introduction of special code that makes them compatible. Imagine what would happen and how much time we would need to spend if we would have to add a bit of compatibility code for every Woocommerce extension that's out there - we would end up in huge plugin with tons of problems which would be problem to test and debug. That's why we think every plugin developer should stick to Woocommerce coding standards and APIs (they're there for that reason) and not require 3rd party developers to code something into their extensions / plugins so that it could work with theirs.

WooCommerce Simple Bulk Discounts

wpgenie plugin

Love this plugin?

This plugin is created by wpgenie. Check out our Envato profile where you can support us by purchasing our plugins, give us feedback and post your ideas and feature requests, ask for support and rate our items. Check out our free stuff.

We do WordPress developing, plugins for WordPress & WooCommerce, eCommerce sites based on WooCommerce, WordPress performance optimization and managed WordPress hosting.