Skip to content

Releases: bigcommerce/stencil-utils

Release 0.3.3

04 Sep 18:28

Choose a tag to compare

Merge pull request #42 from mickr/BIG-20885

BIG-20885 - Apply GiftCertificates in Cart

Releasing 0.3.2

04 Aug 21:25

Choose a tag to compare

Release 0.3.2

Releasing 0.3.1

30 Jul 19:56

Choose a tag to compare

Releasing 0.3.0

29 Jul 00:18

Choose a tag to compare

Release 0.3.0

Releasing 0.2.0

17 Jul 22:57

Choose a tag to compare

Includes new Tools section with Image being the first Tool.

0.1.7: Merge pull request #32 from bigcommerce/cookies

07 Jul 19:45

Choose a tag to compare

0.1.6: Merge pull request #31 from bigcommerce/cartfix

18 Jun 22:16

Choose a tag to compare

Removed Form Models and fixed Cart rendering

0.1.5: Merge pull request #30 from bigcommerce/formfix

16 Jun 00:28

Choose a tag to compare

Added form validation models and swapped search remote api

Added form validation models

12 Jun 23:00

Choose a tag to compare

Themes can utilize the simple form validation models as

let fieldValue = $('input[name="username"]'); //example value is "myname"

var validated = utils.forms.login.username(fieldValue)
console.log(validated) //false, Bigcommerce requires email based usernames, utils.forms.login.username performs these checks for you.

Available form models will be documented and include forms such as Login, Create Account, Add Address, etc.

New hooks system

18 May 20:53

Choose a tag to compare

  • New hooks system, the following hooks will be fired:
    • Cart
      • cart-item-add-remote - When an item is added to the cart
      • cart-item-update-remote - When an item is updated (quantity)
      • cart-item-remove-remote - When an item is removed from the cart
    • Search
      • search-quick-remote - When a search is performed in the quick-search input
    • Product
      • product-options-change-remote - When a product remote has been changed
  • Can access the remote utils directly instead going through the namespace:
    • utils.remote.cart.itemAdd -> utils.cart.itemAdd