Sorry, my mistake.
With the shipping, I meant that I already applied the code so that the gift card excludes shipping prices. I used this code and it works perfect:
function custom_pwgc_eligible_cart_amount ($ eligible_amount, $ cart) {
$ eligible_amount = $ cart-> subtotal;
return $ eligible_amount;
}
add_filter (‘pwgc_eligible_cart_amount’, ‘custom_pwgc_eligible_cart_amount’, 10, 2);
Maybe I wasn’t as clear as I should be.
If possible, I need the Gift Card to be applied in the subtotal, before applying the code with the 15% off paying through bank transfer. It’s possible? because when it is applied to the total, I have a different price.
I hope it can. Thanks a lot.
Agus