We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bdb503 commit 76c3a01Copy full SHA for 76c3a01
public/class-paystack-forms-public.php
@@ -947,8 +947,8 @@ function kkd_pff_paystack_form_shortcode($atts)
947
<select class="form-control" id="pf-quantity" name="pf-quantity" >';
948
$max = $quantity + 1;
949
950
- if($max > ($inventory +1) && $useinventory == 'yes'){
951
- $max = $inventory + 1 ;
+ if($max > ($stock +1) && $useinventory == 'yes'){
+ $max = $stock + 1 ;
952
}
953
for ($i=1; $i < $max; $i++) {
954
echo ' <option value="'.$i.'">'.$i.'</option>';
0 commit comments