data-min fix
This commit is contained in:
parent
67956705a4
commit
c227540a5b
|
@ -137,7 +137,8 @@ jQuery(document).ready(function($) {
|
|||
// Quantity buttons
|
||||
$("div.quantity:not(.buttons_added), td.quantity:not(.buttons_added)").addClass('buttons_added').append('<input type="button" value="+" id="add1" class="plus" />').prepend('<input type="button" value="-" id="minus1" class="minus" />');
|
||||
|
||||
$("div.quantity:not(.cart div.quantity), td.quantity").find('.qty').each(function(){
|
||||
// Target quantity inputs on product pages
|
||||
$("div.quantity:not(.product-quantity div.quantity), td.quantity").find('.qty').each(function(){
|
||||
|
||||
var min = parseInt($(this).attr('data-min'));
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue