# Checklist

After we've finished integrating EasyPoints there are several things we should manually check and test to make sure everything is working as intended before publishing the new theme with our changes.

TIP

Try to test your modified theme on every major browser: e.g. Chrome, Firefox, Safari. Also do not forget to test on several screen sizes to accommodate for both desktop and mobile users.

# Point Values

Simply verify if the following values are being displayed by your integration:

  • Product points
    1. Visit any /products/* page to make sure the points are displayed on each product
    2. If you're making use of product variants that have different prices, test if the points change accordingly
  • Cart points
    1. Visit your /cart page or open your sidebar or pop-up cart (whichever cart layout your theme is using)
    2. Check the point display for each product in your cart
    3. If you've got a quantity selector on your cart be sure to test that
  • Account points balance
    1. Give yourself some points through the admin dashboard and visit your /account page to verify that the balance is visible
    2. If you have it set for points to expire then verify that the shown expiry date is correct

# Redemption and Checkout

Testing the redemption and going through the checkout procedure manually is next and the most important part; you don't want your customers to be unable to purchase any products. Once again be sure to go through these steps on every major browser.

  • Guest checkout first, before testing the redemption let's go through the checkout flow as a guest customer
    1. Make sure you're not logged in to your account
    2. Add any product to your cart
    3. Go to your cart
    4. Click checkout
    5. 🎉
  • Redeeming points and checkout
    1. Log in to an account with points available for redemption
    2. Add any product to your cart
    3. Go to your cart
    4. Go through the point redemption form
    5. Make sure your price totals change after you've applied the amount of points you want to redeem

    WARNING

    Modifying your cart price and points total is not necessary; it's just a nice UX for your customer. The coupon will be applied regardless!

    1. Click checkout - here EasyPoints will apply a coupon to the checkout (equivalent to the input redemption value) and the total price will be reduced
    2. 🎉

# Resetting

After redeeming points and going to the checkout the customer might not continue with the checkout after all. So we have to make sure the next time the user clicks the checkout that the coupon is removed.

  1. Repeat "Redeeming points and checkout"
  2. Once you see the final checkout page; go back to your cart
  3. Now do not redeem any points
  4. Click checkout - here EasyPoints will delete the previous set coupon from the checkout
  5. 🎉

# Repeat

Repeat the "Redeeming points and checkout" and "Resetting" checks several times for different cases, for example:

  • Apply more points than you have available
  • Apply more points than you can redeem, e.g. cart total value is lower than the point value total
  • Apply all your points
  • Apply points checkout and
  • Add new products to your cart, and see if the cart updates accordingly (important with Ajax carts!)
  • ... Anything you can imagine your customer might try!