With the new ability to edit basket attributes, Quantify has been updated with the ability to be reinitialized. Additionally, the ability to use min/max quantities has been added.
Quantify Updating
Update the JavaScript
Update quantify.js in your build/extensions/quantify/ subdirectory.
Initialize the extension
Within build/ui/theme.js, locate init: function () { and append this code:
@influxweb , I was only able to implement this by changing the init from: quantify.init(); to quantify.init(document); before that, all the quantity fields had stopped working all around the site.
Current Behavior
With the new ability to edit basket attributes, Quantify has been updated with the ability to be reinitialized. Additionally, the ability to use min/max quantities has been added.
Quantify Updating
Update the JavaScript
build/extensions/quantify/
subdirectory.Initialize the extension
Within
build/ui/theme.js
, locateinit: function () {
and append this code:Update to the Product Page
You will need to replace the quantity
input
in the product display layout with the following:Update to the Basket Page
You will need to replace the quantity
input
in the basket contents with the following: