Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

Latest commit

 

History

History
569 lines (252 loc) · 23.8 KB

CHANGELOG.md

File metadata and controls

569 lines (252 loc) · 23.8 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.20.6 (2023-11-22)

1.20.5 (2023-11-22)

Bug Fixes

  • fix regression calculating freebies discount value (6747e6d)
  • may accept repeated freebies on many cumulative rules (e744f22)

1.20.4 (2023-11-22)

Bug Fixes

  • properly reducing freebies values on subtotal check (5b33158)

1.20.3 (2023-11-10)

Bug Fixes

  • skip kit discounts quantity multiplier when usage limit is set (4d9cb5f)

1.20.2 (2023-11-09)

Bug Fixes

  • prevent early return and unresponded request on kit loop (e985439)

1.20.1 (2023-11-09)

Bug Fixes

  • prevent async/await error with express route (b956759)

1.20.0 (2023-11-09)

Features

  • add option to configure usage limit (per customer) for kit discounts (f184e6e)

1.19.0 (2023-11-06)

Features

  • add option to configure cumutative freebie rules (771e671)

1.18.0 (2023-10-13)

Features

  • add optional categories filter to min subtotal for freebies (f2f64e8)

1.17.6 (2023-09-06)

Bug Fixes

  • prevent error with undefined second discount rule object (438762f)

1.17.5 (2023-09-06)

Bug Fixes

  • preview and subtract freebies amount to check rules min amount and percentage discount (03cb300)

1.17.4 (2023-09-02)

Bug Fixes

  • replace discount with bigger one if not cumulative (59c2861)

1.17.3 (2023-09-02)

Bug Fixes

  • keeping other discounts when coupon is invalidated (7fb5a0a)

1.17.2 (2023-08-25)

Bug Fixes

  • increase express body parser payload limit to 2mb (5865410)

1.17.1 (2023-07-06)

Bug Fixes

  • apply-discount: set different tag in second discount (57c4e34)

1.17.0 (2023-07-05)

Features

  • supporting second discount with same-rule on different amount (61d1b27)

1.16.6 (2023-07-05)

Bug Fixes

  • properly validating freebies min subtotal with fixed subtotal (discount subtracted) (de2d949)

1.16.5 (2023-07-04)

Bug Fixes

  • subtract already applied discounts for max discount on total (5125802)

1.16.4 (2023-07-03)

Bug Fixes

  • check if discount rule customer ids is saved as object and convert to array (e0ad354)

1.16.3 (2023-07-02)

Bug Fixes

  • properly calculating discount value for kit discounts per category ids (0e543a1)

1.16.2 (2023-06-30)

Bug Fixes

  • properly handling kit discounts without specific ids (set all items) (553db26)

1.16.1 (2023-06-30)

Bug Fixes

  • properly handling kit discounts without specific ids (8d9a8dd)

1.16.0 (2023-06-30)

Features

  • add option to deduct other discounts before freebie application (e8077cd)
  • supporting kit discounts by category ids (9d2aa29)

1.15.1 (2023-06-01)

Bug Fixes

  • check for customer doc number for usage limit even without customer id (3f547ac)

1.15.0 (2023-05-29)

Features

  • limit coupon usage by customer doc number if param received (981b134)

1.14.1 (2023-05-29)

Bug Fixes

  • always cumulative additional open discount with min amount only (e1daec5)

1.14.0 (2023-05-29)

Features

  • check for additional open discount after utm/coupon/customer match (fix) (eae9abb)

1.13.0 (2023-05-29)

Features

  • check for additional open discount after utm/coupon/customer match (5cb9bb7)

1.12.3 (2023-05-28)

Bug Fixes

  • properly handle fixed discount on kit subtotal or lowest price (#29) (44b1e15)

1.12.2 (2023-05-03)

Bug Fixes

  • do not count cancelled order on count for max usages (601c913)

1.12.1 (2023-01-27)

Bug Fixes

  • apply-discount: return original discount obj on buy together options (#28) (caef37e)

1.12.0 (2022-12-13)

Features

  • support api manipulated coupons through custom config fields (d3a0f36)

1.11.2 (2022-11-04)

Bug Fixes

  • max discount for same product quantity is based on item quantity (ac2210d)

1.11.1 (2022-11-04)

Bug Fixes

  • properly check discounted product ids for kit discounts (f912fde)
  • recommend buy together if base product listed on discount rule only (0f8baec)

1.11.0 (2022-10-28)

Features

  • Add same_product_quantity for progressive discounts (aa3ac73)
  • try to recommend buy together options when cart has 1 product only (5d9bedd)

1.10.8 (2022-09-02)

1.10.7 (2022-07-29)

Bug Fixes

  • never override with freebies only (no discount) if other rule provides applicable discount (c1a0853)

1.10.6 (2022-07-29)

Bug Fixes

  • freebies: send available freebie even without applying discount (set 0) due to min amount [#27] (12cb02d)

1.10.5 (2022-07-29)

Bug Fixes

  • freebies: return available freebie even wiuthout applying discount due to min subtotal [#27] (25d3915)

1.10.4 (2022-07-07)

Bug Fixes

  • properly set discounted items for cumulative kit discounts (2615e19)

1.10.3 (2022-07-01)

Bug Fixes

  • increase express body parser payload limit (1e5b102)

1.10.2 (2021-11-19)

Bug Fixes

  • apply-discount: check label with regex (i) for case insensitive discounts coupons usage limit (017404c)

1.10.1 (2021-10-21)

Bug Fixes

  • deps: update @ecomplus/application-sdk to v1.15.5 firestore (fa7d1fc)

1.10.0 (2021-09-12)

Features

  • excluded-products: handle new excluded_product_ids config options for discount rules [#11] (3334ef6)
  • freebies-rules: handle new check_product_ids config option for freebies [#18] (7a17c63)

1.9.4 (2021-09-06)

1.9.3 (2021-07-13)

Bug Fixes

  • apply-discount: properly checking kit items for lowest price and kit subtotal handlers (097ebcf)

1.9.2 (2021-07-13)

Bug Fixes

  • apply-discount: fallback kit discount product_ids as empty array (ca8ee7b)

1.9.1 (2021-07-13)

Bug Fixes

  • application: must set requierd modules.apply_discount.enabled (a9f9f02)
  • apply-discount: fix checking less price discount for kits with any items (47c4f8f)

1.9.0 (2021-04-29)

Features

  • apply-discount: better choosing default available_extra_discount (bf6e3cc)
  • freebies: optionally specify client ids for freebie items (#14) (da58733)

1.8.4 (2021-04-22)

Bug Fixes

  • apply-discount: sort kit discounts by min amount after min quantity (3076e67)

1.8.3 (2021-04-05)

Bug Fixes

  • apply-discount: must encode label as uri param to check usage limits (#17) (521ccc5)

1.8.2 (2021-01-20)

Bug Fixes

  • apply-discount: ensure discount rule not sent with invalid coupon message (#15) (d8a2f64)

1.8.1 (2020-11-23)

Bug Fixes

  • kit-discount: prevent applying duplicated discount for same items (da86774)

1.8.0 (2020-11-12)

Features

  • discount-rules: add 'amount_field' option to select min ref (#12) (64daf0f)
  • kit-discounts: add filter by customer ids (as rules) (#10) (619a654)

1.7.0 (2020-08-19)

Features

  • kit-subtotal-discount: handle 'discount_kit_subtotal' option (14382ff)

1.6.8 (2020-06-11)

Bug Fixes

  • apply-discount: adding freebie/kits discount labels (bddca3b)

1.6.7 (2020-06-11)

Bug Fixes

  • apply-discount: check add discount success to proceed with rule (899e14e)

1.6.6 (2020-06-11)

Bug Fixes

  • apply-discount: check value before adding rule to response (bfe93a5)

1.6.5 (2020-06-09)

Bug Fixes

  • apply-discount: checking required properties for success response (b6dd97e)

1.6.4 (2020-06-06)

Bug Fixes

  • freebies-rules: fix subtotal to check for available freebies (ec2810d)

1.6.3 (2020-06-05)

Bug Fixes

  • freebies-rules: check subtotal isntead of amount total (db321d8)

1.6.2 (2020-06-05)

Bug Fixes

  • apply-discount: fix matching freebie items (833ef74)

1.6.1 (2020-06-05)

Bug Fixes

  • apply-discount: skip discount for freebies if no discount value (09cfb7b)

1.6.0 (2020-06-05)

Features

  • apply-discount: accepting kits without ids (for all store) (f298798)
  • freebies-rules: handling gift products (freebies) campaigns (59b8c4d)

1.5.3 (2020-05-19)

Bug Fixes

  • apply-discount: considering kit discount cumulative by default (301ce62)

1.5.2 (2020-05-19)

1.5.1 (2020-05-19)

Bug Fixes

  • apply-discount: handling cumulative kit discount by default (2ece0b6)

1.5.0 (2020-05-19)

Features

  • apply-discount: handling new 'check_all_items' options (1202c2a)

1.4.1 (2020-05-18)

Bug Fixes

  • apply-discount: using commonjs instead of es import (c1fecb5)

1.4.0 (2020-05-18)

Features

  • apply-discount: handling new 'discount_lowest_price' option (5277ced)

1.3.0 (2020-05-15)

Features

  • campaign-products: handle 'product_ids' discount rule option (a055cda)
  • case-insensitve: handle 'case_insensitive' discount rule option (7fc32fd)

Bug Fixes

  • deps: replace ecomplus-app-sdk with @ecomplus/application-sdk (f714723)

1.2.0 (2020-04-10)

Features

  • apply-discount: handling product kit discounts 🎉 (5db099b)

Bug Fixes

  • apply-discount: also check min amount (if any) for kit discount (bbd14c2)
  • apply-discount: fix getting response data from api request (7c54174)

1.1.2 (2020-04-10)

Bug Fixes

  • apply-discount: fix checking date range start and end (a429244)
  • apply-discount: fix mounting url to check discount usage limit (697abda)

1.1.1 (2020-01-26)

Bug Fixes

  • apply-discount: fix handling last try to match by open promotions (706f5e8)

1.1.0 (2020-01-26)

Features

  • apply-discount: set discount rule as available discount to apply (8ddf6c4)

1.0.0 (2020-01-23)

0.1.4 (2020-01-23)

Bug Fixes

  • apply-discount: fix checking customer from params (0368974)

0.1.3 (2020-01-23)

Bug Fixes

  • apply-discounts: fix counting orders (result.length) (3004e21)

0.1.2 (2020-01-23)

Features

  • appy-discount: handling discount rule usage limits (39f840c)

0.1.1 (2019-11-21)

0.1.0 (2019-11-21)

Features

  • apply-discount: add route and handle ecom apply discount module (3ec876a)

Bug Fixes

  • web: fix express app routes (e1d2d67)

0.0.2 (2019-11-20)