WooCommerce Drop / Raise Price (over time)

Last updated: 22nd 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.1.18 **
- Fix: Optimize cronjob
- Fix: WC 2.6 comaptibility
	
** Version 1.1.17 **
- Fix: Bug with rising price
	
** Version 1.1.16 **
- Add: WooCommerce_drop_prices_price_end hook when price changes end
- Fix: Validation fix
- Add: Option to reset counter and price on product order
- Add: Option to change price in percentage

** Version 1.1.15 **
- Fix: Compatibility if other theme or plugin has same countdown script
- Fix: Problem with rise price when endprice is not set

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

** Version 1.1.13 **
  - Fix: Clearing product cache for WP Super Cache and W3 Total Cache

** Version 1.1.12 **
  - Fix: Clearing cache for variable products

** Version 1.1.11 **
- Fix: Displaying counter before scheduled date
- Fix: Change next drop/rise price time when updating start time or time for price changes

** Version 1.1.10 **
- Fix: Display of datetime picker fields
- Fix: Turning off counter bug

** Version 1.1.9 **
- Fix: Fatal error: Call to a member function is_purchasable() on a non-object on line 554

** Version 1.1.7 **
- Fix: Out of stock product now not included in drop price.

** Version 1.1.6 **
- Add: hooks WooCommerce_drop_prices_price_drop, WooCommerce_drop_prices_price_rise, WooCommerce_drop_prices_price_change

** Version 1.1.5 **
- Fix: counter Javascript bug

** Version 1.1.4 **
- Fix: Problem activating on a multi-site installation of WordPress

** Version 1.1.3 **
- Fix: Problem with loading languages files

** Version 1.1.2 **
 - Add: Variable product compatibility

** Version 1.1.1 **
 - Fix: headers already sent fix

** Version 1.1.0 **
 - Add: choose between raise or drop price over time functionality

** Version 1.0.0 **
 - Initial release

Overview and Features

WooCommerce Price Drops

WooCommerce Price Drops is a plugin and excellent marketing tool which allows you to lower (or raise) price of a product over time in steps say $10 or 5% every hour. This way you can attract more buyers and make them spend more time on your site waiting for lowest price they are willing to pay for a product. With this marketing tool you will be able to increase sales, get more satisfied buyers, upsell more related products and increase average time visitors spend on your web shop.

Overview and Features

  • Seamless integration into WooCommerce via its hooks
  • Choose between price rise or drop
  • Precentage or fixed value price rise or drop
  • Set price increment / decrement
  • Set minimal / maximal price
  • Set how often price will drop or raise
  • Show counter for next price drop / raise on single product page
  • Set drop / rise price timeframe - price will change from date to date and stop
  • Reset price raise / drop after completed order

Instalation

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

Note:

Make sure to install WooCommerce before you activate WooCommerce Price Drops plugin.

You need to download "installable WordPress files" from Envato. Check screenshot:

screenshot

After downloading WooCommerce Price Drops 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).

WooCommerce Price Drops plugin uses cronjobs and you have to setup one cronjob:

  • every minute: /usr/local/bin/curl --silent http://www.your-domain.com/?drop-price-cron

Here is screenshot of cronjobs page and setup in DirectAdmin control panel

screenshot

If your hosting company does not support one minute cronjobs we suggest that you move your website to more serious hosting company or use service like EasyCron. If you don't know how to add cronjob the best and the easiest way is to email your hosting support to do it for you.

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 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 Setup

Setting up new drop price product is easy:

  • make sure all steps from Installation are done (WooCommerce installed, plugin enabled, cronjobs set)
  • go to Products => Add Products
  • add title, description, images, featured image, select category - all things you do when adding regular product
  • in Product Data you will notice tab General with new inputs: Price decrement, Minimal price, Drop price every n minutes, Counter checkbox and Drop Price Timeframe
  • make sure that you have entered value greater than 0 in "Drop price every n minutes" otherwise price will not drop
  • populate new Drop Price product inputs like on screenshot
    screenshot
  • publish product

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. How can I call countdown timer on home page or content-product.php? - Add following code to the functions.php:
    add_action( 'woocommerce_after_shop_loop_item_title', 'wpgenie_show_counter_on_loop', 50 );
     function wpgenie_show_counter_on_loop(){
     	global $product;
     	if(!isset ($product)) return;
     	if (isset($product->drop_price_counter) &&
     		($product->drop_price_counter == 'yes') &&
     		isset($product->drop_price_next_drop) &&
     		$product->drop_price_next_drop){
     		echo '<div class="drop-price-counter">';
     		echo "<p>".sprintf(__('Next price %s in', 'drop_price'), $product->drop_price_type)."</p>";
     		echo '<div class="drop-price-time" id="countdown">
     				<div class="drop-price-countdown" data-time="'.$product->drop_price_next_drop.'" data-productid="'.$product->id.'" ></div>
     			</div>';
     		echo "</div>";
     	}
     }
     			
  2. Do you use cronjobs? - Yes. Please check installation instructions.
  3. 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.

  4. Does this plugin work with caching plugins? - Yes, but we suggest you to turn off cache on single page products where you have drop price enabled. All of our plugins have same requirements for caching as WooCommerce - check it here https://docs.woocommerce.com/document/configuring-caching-plugins
  5. Can I make theme with WooCommerce Price Drops plugin and sell it on ThemeForest? Sure, just purchase extended licence and you're good to go.
  6. 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:

    • two lang files that you will edit are located in:

      plugin_dir/lang/drop_price-gb_GB.po
      plugin_dir/lang/drop_price-gb_GB.mo
    • you need to download and install Poedit https://poedit.net/download
    • download drop_price-gb_GB..po and open it with Poedit
    • do your translations with Poedit
    • when done save drop_price-gb_GB.po, saving drop_price-gb_GB.po will create drop_price-gb_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 drop_price-gb_GB.po suffix en_GB must match your language settings in WordPress, otherwise language will not be loaded. So for example you can have drop_price-en_AU.mo, drop_price-af.mo or drop_price-en_CA.mo, complete list of available suffixes are here https://make.wordpress.org/polyglots/teams/

  7. 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/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 that some plugin is problematic)
    - send you CSS or HTML code for modifying html elements
  8. How can I get refund if I'm not satisfied? - If you have problem with our items we require that you first get in touch with us so we can try to solve your problem. Our items are extensively tested and we will do everything to help you with problems you might encounter. We do not offer refunds for items that have been downloaded so please make sure to read documentation and test plugin on our demo.
  9. 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 Drop / Raise Price (over time)

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.