Documentation

Last updated: Jul 15th, 2018

Installation

Warning

Make sure to have the WooComerce plugin installed and active before trying to install WooCommerce Shop for Discount.

Navigate to Plugins Add New and upload the woocommerce-shop-for-discount.zip file.

screenshot
screenshot

Coupons

WooCommerce Coupons

You first need to create a normal WooCommerce coupon as a parent coupon for your discount(s).

If you don't already have coupons, navigate to WooCommerce Coupons and create a new coupon.

screenshot
screenshot

Discounts

Discounts are the rewards your customers will get for redeeming their points. To create a new discount you first need to create a coupon that will be linked to the discount. Navigate to WooCommerce Shop for Discount Discounts and click on New Discount.

screenshot
screenshot
Field Description
Enable/Disable If unchecked, the discount will be temporarily disabled and will not be displayed in the available discounts list.
Title Discount title that will be displayed in My Account page.
Description Discount description that will be displayed below the title.
Coupon The parent coupon that will be used to generate a unique coupon when a user redeems their points for this discount.
Points The number of points required to unlock this discount.
Disable Original Coupon If checked, the parent coupon will be disabled site-wide.
Coupon Restriction If checked, the coupon will be restricted to only the user who the coupon is generated for (will be identified by the billing email address).

Settings

Navigate to WooCommerce Shop for Discounts General to adjust plugin settings.

screenshot
Field Description
Disable Earning Points If checked, the users will not be rewarded for viewing products. However, they will still be able to check out their points and redeem them for discounts.
Points Per View Default number of points given to a user per product view. This number can be overwritten on product-level.
Consider Product View The set of rules that determines when to count a product view:
  • If the user clicked on the page x number of times
  • If the user scrolled down x number of pixels
  • If the user spent x number of seconds on the page
  • If the user moved the mouse cursor inside the page
If none is selected, the view will be counted once the product page is opened.
Coupon Code The coupon code structure that will be used to generate the new coupons for the users who redeem their points. A unique suffix will be generated and added automatically to the end of the code to prevent duplicates. The following placeholders can be used:
  • {code} - the original (parent) coupon code
  • {id} - user's ID
  • {username} - user's username
  • {email} - user's email
  • {first_name} - user's first name
  • {last_name} - user's last name
Discounts Style Determines how to display the available discounts in My Account page:
  • List - list layout
  • Grid - grid layout
  • No Style - apply no style
  • Primary Color Primary color.
    Secondary Color Secondary color.

    Product Settings

    To overwrite the global settings for a specific product. Navigate to Products All Products and edit the product. Then click on the Shop for Discount tab under Product Data.

    screenshot
    Field Description
    Disable Earning Points If checked, the users will not be rewarded for viewing this specific product.
    Points Per View Default number of points given to a user upon viewing this product. This will overwrite the global number of points for this specific product.

    Collection Points

    Users will be rewarded for viewing store product. When users visit the product page and meet the rules set for counting a view, they will automatically be rewarded a certain number of points (can be adjusted in the settings page).

    The earned points and the available discounts can be found in My Account Discounts. On this page, the users can redeem their poitns for the available discounts as soon as they reach the minimum required poitns for the discount.

    screenshot

    Records

    You can view and manage the user records in WooComerce Shop for Discount Manage Records.

    screenshot

    Notifications

    Popup notifications can be customized in WooComerce Shop for Discount Notifications.

    screenshot
    Field Description
    Disable temporarily disable this notification.
    Heading Title of the notification.
    Message Title message that appears below the title.

    Logged-in Users

    This notification will appear to the logged-in users.

    screenshot

    Guests & Logged-out Users

    This notification will appear to the logged-in users.

    screenshot

    Discount Unloced

    This notification will appear to the logged-in users.

    screenshot

    Emails

    Email templates can be customized in WooComerce Settings Emails.

    screenshot

    Boost your sales, the right way!

    Buy Now!