Hi,
When the Vendor “Updates” a Product, the Count is incorrectly reduced by 1 in the $image_alert_display = __(‘You can add ‘ . $display_left . ‘ more product as per your current plan’, ‘mvx-pro’);
Refer to this code here in the module. There’s no check here when product is published and the vendor is updating the published product, so it goes to the last else and reduces the product available count by 1:
”’
if (isset($_POST[‘original_post_status’]) && $_POST[‘original_post_status’] == ‘auto-draft’) {
$display_left = $left_product – 1;
} elseif (isset($_POST[‘original_post_status’]) && $_POST[‘original_post_status’] == ‘draft’ && isset($_POST[‘submit-data’])) {
$display_left = $left_product – 1;
} else {
$display_left = $left_product – 1;
}
”’