CodeCanyon

Woocommerce Lowest Price Match

Woocommerce Lowest Price Match

Wordpress – Woocommerce Lowest Price Match

A WordPress plugin that allows your customers to notify you via email where they have found a lower price for the product you are selling.

by: Hostivate / Nitroweb

Don’t be undersold without knowing why!

woocomerce lowest price match plugin product page

Features

  • User friendly admin panel.
  • Customizable form – you decide what fields to display and what fields to hide on the product page
  • Frontend form is protected from bots to help eliminate spam
  • Nice form slide toggle with jQuery
  • Designed to look good on most themes (css file included)
  • Translation ready via po/mo files
  • Developer friendly. Includes filters and actions
  • Can be disabled per product.

Usage

In order to setup the Woocommerce Lowest Price Match plugin, navigate from your WordPress administration panel to “Woocommerce -> Lowest Price Match

Display Options on Product Page Choose to display the following options when setting up the plugin:
  1. Customer Name: Lets you choose whether to display or not the customer name field on the product page
  2. Customer Email: Lets you choose whether to display or not the customer email field on the product page
  3. Customer Telephone: Lets you choose whether to display or not the customer telephone field on the product page
  4. Url of Lowest price: Lets you choose whether to display or not the URL of the website that has a lower price than yours on the product page
  5. Lowest price: Lets you choose whether to display or not the desired price field that the customer has found in another site on the product page
  6. Comments: Lets you choose whether to display or not the comments text area on the product page
  7. Customer Name Label: Specify the label of the related field
  8. Customer Email Label: Specify the label of the related field specified above
  9. Customer Telephone Label: Specify the label of the related field specified above
  10. Url of Lowest price Label: Specify the label of the related field specified above
  11. Lowest price Label: Specify the label of the related field specified above
  12. Comments Label: Specify the label of the related field specified above
  13. Lowest Price Match Button Text: Specify the text on the button/link that will toggle the whole form
  14. Email recipient: Specify the recipient of the email that will get the submitted form. If the field is left blank, then the administrator of the the WordPress installation will get the email. You may specify more than one email by separating them with a comma, eg:
    me@here.com,me@there.com
  15. * Save Changes * and you are ready to go!

woocomerce better price match plugin settings

For Developers

Many hooks are in place. Please look in the code for a full list. Below are a couple of examples and their use.

Filters

You can alter the subject of the email that is sent to you

add_filter( 'wbpm_email_subject', 'my_wbpm_email_subject');
function my_wbpm_email_subject($subject) {
  $subject = $subject.' some more subject';
  return ($subject);
}
Actions

You may add your own css class for each field of the form, eg.

add_action( 'wbpm_row_class', 'my_wbpm_row_class');
function my_wbpm_row_class($class) {
  $class = ' form_row ';
  return ($class);
}

Requirements

  • WordPress 4.0+
  • Woocommerce 2.3, Woocommerce 2.2, Woocommerce 2.1
  • PHP 5.2+

Frequently Asked Questions

  1. Can I add additional fields?

    Yes, additional fields can be added via filters.

  2. Can I send the email to multiple email addresses?

    Yes, just separate the emails with a comma in the email receipt field on the settings page.

  3. Nothing happens when the form is submitted?

    All fields on the form are required with the exception of the text box. If a user leaves one blank, the form will not send. If all required fields are filled out and the form is still not sending, make sure that your site does not have any javascripts errors.

Installation

This wordpress plugin can be installed as any other wordpress plugin. Installation is simple.

  1. Extract the zip file you have downloaded.
  2. Login to your administration panel (ex. http://www.yourdomain.com/wp-admin).
  3. Go to Plugins -> Add New.
  4. At the top of the page click the “Upload Plugin” link
  5. Click choose file (or what your browser uses to navigate to your files)
  6. From the extracted files of step one (1) navigate to and select woo-better-price-match.zip and click “Install Now
  7. You may be asked to confirm your wish to install the Plugin.
  8. If this is the first time you’ve installed a WordPress Plugin, you may need to enter the FTP login credential information. If you’ve installed a Plugin before, it will still have the login information. This information is available through your web server host.
  9. Click Proceed to continue with the installation. The resulting installation screen will list the installation as successful or note any problems during the install.
  10. If successful, please click Activate Plugin to activate it.

Changelog

1.0.2 04/29/2016
  • Bug: Fixed scrolling to top when the form sliding button was clicked
1.0.1 07/20/2015
  • Feature: Added the option to disable the plugin per product
  • Bug: Fixed a case that it would reset some of the plugin settings on the disable and re-enable of it
1.0 07/17/2015
  • Initial release

Sources and Credits

This plugin uses the following libraries

  • None
by
by
by
by
by
by