I found a typo in the code, which might affect some functions (?):
in file “b2b/addify-order-restrictions/includes/class-af-o-r-front.php”
$placeholders = array(
‘{remaining_qunatity}’ => $afor_min_quantity – $cart_quantity > 0 ? $afor_min_quantity – $cart_quantity : ”,
‘{remaining_amount}’ => $afor_min_amount – $cart_amount > 0 ? wc_price( $afor_min_amount – $cart_amount ) : ”,
‘{exceeded_quntiity}’ => $cart_quantity – $afor_max_quantity > 0 ? $cart_quantity – $afor_max_quantity : ”,
‘{exceeded_amount}’ => $cart_amount – $afor_max_amount > 0 ? wc_price( $cart_amount – $afor_max_amount ) : ”,
);
So instead of “quantity” there is “quntiity” and “qunatity”.
Is that on purpose? Sorry if it’s a stupid question
Open
Last updated: April 30, 2023
0 comments
Log in to comment on this feature request.