Black Friday savings on now: Take up to 40% off themes and extensions in the WooCommerce Marketplace. 💰📈🎉 Shop the sale
Product Icon

B2B for WooCommerce

A complete wholesale solution allowing you to optimize your store for B2B and B2C customers.

Mistyping in the code?

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

Author

hollandviragok

Current Status

Open

Last updated: April 30, 2023

0 comments

Log in to comment on this feature request.