Here is the process I like to achieve:
1. There's a checkbox on product page, user can decide to add custom service beside the product or not
2. If user checks the box, it adds a custom fee to the cart, but it's based on the product quantity
e.g.:…
For a school that has many enrollments of children and their parents making payments, is there a way in the Authorize.net API to charge customer profiles late fees? They may be enrolled in recurring billing subscriptions or not. Does authorize.net…
I’m using PayPal restapi for payout. What we trying to achieve is to put fee on recipient side rather than on our side. Our platform pay other for their service and it makes sense to put fee on their side.
I contacted PayPal support and they give…
Our code consists of 3 stages.
Stage 1 - In the car park, up to 5 hours fee is $ 1.
Stage 2 - After 5 hours, it drops to $ 0.50 per hour. If the car stays in the park for 6 hours, the fee is $ 5.50.
Stage 3 - the fee per day, taking into account the…
Can I use a if statement and if so, how? Basically I want it to add 27 as surcharge to SE country and to all other countries 3 as surcharge.
Here is the original code
add_action( 'woocommerce_cart_calculate_fees','wc_add_surcharge' );
function…
I am looking for some code which can make an extra charge based on the total number of items in the cart like:
If number of items in cart is > 6 ===> extra cost = 5
If number of items in cart is > 12 ==> extra cost = 10
I have tried this code, but…
my question is how do i add an additional fee to the totalprice of the Prestashop 1.7 cart.
how can i do it?
the additional fee have to be everywhere -> invoice (extra row before shipping), the order history page, confirmation email.
can someone…