Skip to content

Commit

Permalink
fixed quantity issue for grouped products
Browse files Browse the repository at this point in the history
  • Loading branch information
ishwar-singh-solanki committed May 6, 2024
1 parent 0029fe7 commit cbb2c95
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions edwiser-bridge/public/assets/js/eb-public.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,10 @@
$('.eb-pro-product-page-sidebar .quantity-wrap .quantity-minus').prop('disabled', true);
$('.eb-pro-product-page-sidebar .quantity-wrap .quantity-plus').prop('disabled', true);

$('.eb-pro-product-page-sidebar .grouped-product-quantity').find('input').prop('disabled', false);
$('.eb-pro-product-page-sidebar .grouped-product-quantity .quantity-minus').prop('disabled', false);
$('.eb-pro-product-page-sidebar .grouped-product-quantity .quantity-plus').prop('disabled', false);

if ($( "#wdm_edwiser_self_enroll" ).length) {
var is_checked = $( "#wdm_edwiser_self_enroll" ).is(':checked');
if (is_checked) {
Expand Down

0 comments on commit cbb2c95

Please sign in to comment.