update addorder
This commit is contained in:
@@ -166,6 +166,7 @@ $(function(){
|
||||
max_qty = $(this).data('max-qty');
|
||||
code = $(this).data('code');
|
||||
|
||||
if ($('.selected-instance').length+1 <= max_qty) {
|
||||
for(var field in item_options) {
|
||||
value = item_options[field]["values"];
|
||||
type = item_options[field]["type"];
|
||||
@@ -177,9 +178,7 @@ $(function(){
|
||||
});
|
||||
$(".options-list").append(row);
|
||||
}
|
||||
|
||||
console.log($('.selected-instance').length)
|
||||
|
||||
}
|
||||
if($(this).hasClass('selected-instance') == true){
|
||||
sub_total = $('#set_total_price').text();
|
||||
name = $(this).data('name');
|
||||
|
||||
Reference in New Issue
Block a user