Can I put the MinQuantyOrderable variable in the quantity dialogue so it is automatically selected instead of the default zero?
Thank you.
Thank you.
<input type="number" name="Q_<actinic:variable name="ProductID" />" value="<actinic:block if="%28%3cactinic%3avariable%20name%3d%22DefaultQuantity%22%20%2f%3e%20%3e%200%29%0d%26%26%0d%28%3cactinic%3avariable%20name%3d%22DefaultQuantity%22%20%2f%3e%20%3c%20%3cactinic%3avariable%20name%3d%22MinQuantityOrderable%22%20%2f%3e%29" ><actinic:variable name="MinQuantityOrderable" /></actinic:block><actinic:block if="%21%28%28%3cactinic%3avariable%20name%3d%22DefaultQuantity%22%20%2f%3e%20%3e%200%29%0d%26%26%0d%28%3cactinic%3avariable%20name%3d%22DefaultQuantity%22%20%2f%3e%20%3c%20%3cactinic%3avariable%20name%3d%22MinQuantityOrderable%22%20%2f%3e%29%29" ><actinic:variable name="DefaultQuantity" /></actinic:block>" data-minqty="<actinic:variable name="MinQuantityOrderable" />" <actinic:block if="%3cactinic%3avariable%20name%3d%22UseDynamicPrices%22%20%2f%3e%20%3d%3d%20TRUE%20AND%20%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e%20%3d%3d%20FALSE%20AND%20%3cactinic%3avariable%20name%3d%22IsPreviewMode%22%20%2f%3e%20%3d%3d%20FALSE" >onpaste="QuantityChanged(this, '<actinic:variable name="DynamicPriceCGIURL" />', <actinic:variable name="SectionID" />)" onkeyup="QuantityChanged(this, '<actinic:variable name="DynamicPriceCGIURL" />', <actinic:variable name="SectionID" />)" onmouseup="QuantityChanged(this, '<actinic:variable name="DynamicPriceCGIURL" />', <actinic:variable name="SectionID" />)"</actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22UseDynamicPrices%22%20%2f%3e%20%3d%3d%20TRUE%20AND%20%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e%20%3d%3d%20TRUE%20AND%20%3cactinic%3avariable%20name%3d%22IsPreviewMode%22%20%2f%3e%20%3d%3d%20FALSE" >onpaste="QuantityChanged(this, '<actinic:variable name="DynamicPriceCGIURL" />', <actinic:variable name="SectionID" />, '<actinic:variable name="ShopID" />')" onkeyup="QuantityChanged(this, '<actinic:variable name="DynamicPriceCGIURL" />', <actinic:variable name="SectionID" />, '<actinic:variable name="ShopID" />')" onmouseup="QuantityChanged(this, '<actinic:variable name="DynamicPriceCGIURL" />', <actinic:variable name="SectionID" />, '<actinic:variable name="ShopID" />')"</actinic:block>/>
if (elButton.hasClass("inc")) { nNewVal = nOldVal + 1; } else { nNewVal = (nOldVal > 0) ? nOldVal - 1 : 0; // Don't allow decrementing below zero }
var minqty = elInput.attr('data-minqty') - 0; if (elButton.hasClass("inc")) { nNewVal = nOldVal < minqty ? minqty : nOldVal + 1; } else { nNewVal = nOldVal > minqty ? nOldVal - 1 : 0; // Don't allow decrementing below zero }
value="<actinic:variable name="DefaultQuantity" />"
value="<actinic:block if="%28%3cactinic%3avariable%20name%3d%22DefaultQuantity%22%20%2f%3e%20%3e%200%29%0d%26%26%0d%28%3cactinic%3avariable%20name%3d%22DefaultQuantity%22%20%2f%3e%20%3c%20%3cactinic%3avariable%20name%3d%22MinQuantityOrderable%22%20%2f%3e%29" ><actinic:variable name="MinQuantityOrderable" /></actinic:block><actinic:block if="%21%28%28%3cactinic%3avariable%20name%3d%22DefaultQuantity%22%20%2f%3e%20%3e%200%29%0d%26%26%0d%28%3cactinic%3avariable%20name%3d%22DefaultQuantity%22%20%2f%3e%20%3c%20%3cactinic%3avariable%20name%3d%22MinQuantityOrderable%22%20%2f%3e%29%29" ><actinic:variable name="DefaultQuantity" /></actinic:block>" data-minqty="<actinic:variable name="MinQuantityOrderable" />"
Comment