If there are 2 discount coupons used, it shows the sum of 2 coupons in the Woocommerce order totals table, while I want to show the deducted cost of each coupon separately. For example, 2 coupons are inserted, currently it shows: coupon : $100 I want to change this to: coupon1(coupon code) : $50 coupon2(coupon code) : $50 Path from
Tag: coupon
WooCommerce: Double discount on sale products with coupon
I want to double the discount for products on sale with a coupon code. For example: The product is on sale with a 10% discount. If I add the coupon code doublediscount I want to double that discount to 20%. The coupon discount should have limit of 15%. So if a product is on sale with a 30% discount, the
Rename “Have A Promotional Code?” in Woocommerce
check please: http://www.baroniarialb.cat/finalitza-la-compra/ I have AVADA and Woocommerce theme installed, but I need to change the “Have A Promotional Code?” and I can’t find the correct code to do it. I have already tried different ways that appear on the internet without success from funtions.php. Could you guide me? Answer Try this code. I’ve tested from the my side and
Add a new column with author name to WooCommerce admin coupon list
Yesterday we had the situation, that someone ask my “Who created this coupon?”. Unfortunately WooCommerce by default does not display the creator of the coupon in the coupon overview where all coupon are listed. What I try to find out is, how can I add a new column with the author name in the WooCommerce > Marketing > Coupons overview.
Change “Remove” link text for WooCommerce coupon on checkout page
Instead of [Remove] on the WooCommerce checkout for added coupons, I would like the text to be [Remove & Re-Calculate]. I am using the following and the text is changed but there is no link (the coupon cannot be removed). This is what I tried: Answer includes/wc-cart-functions.php contains at line 293, just before the woocommerce_cart_totals_coupon_html filter hook. So to replace
Hide coupon discount raw if no coupon has been applied on WooCommerce cart page
I add coupons and discounts total savings to my cart page. My code works fine but I have an additional question. This is the code I am currently using: add_action( ‘…
Disable free shipping for specific coupon codes in WooCommerce
I am trying to remove the free shipping option in Woocommerce when someone uses a specific coupon code. I found this question which is very relevant to my question. The answer bellow seems really …
Creating a List of Available WooCommerce Coupon Codes and Display anywhere Using Shortcode
I am trying to generate a list of available coupons and to display them using a shortcode. I was hoping to generate the list using SQL and not “-1” since that’s heavier on the db from what I …
Exclude variations with 2 specific attribute terms from coupon usage in Woocommerce
I need to prevent coupons being used if customer have any specific product variations in their cart with following attribute terms: attribute_pa_style => swirly attribute_pa_style => circle I’ve looked through the Woocommerce scripts that apply to restricting specific products and specific categories, but can’t figure it out with regard to attributes and all coupons. Any help is appreciated. Answer This
Remove some payment gateways if any coupon code is applied in Woocommerce
I started to work on small Woocommerce project. I have 3 payment gateways into this store: Paypal, Credit Card and Direct bank Transfer. What I would like is: If coupon code is used, I would like to disable (or remove) Paypal and Credit Card from available payment gateways, and just keep “Direct bank Transfer” as available payment gateway choice. To