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
Tag: discount
Automatically add a percentage discount if WooCommerce cart contains at least X products
I am trying to create an automated discount that kicks in when and if the cart contains a minimum of three products or more. If and when that is, a discount of 10% should be given no matter if the customer is logged in or not. This is the code I’m trying to get to work (without success). Answer It
Apply a welcome discount to non “on sale” items in WooCommerce
I use this code to set up a “welcome” discount for a registered user: add_action( ‘woocommerce_cart_calculate_fees’, ‘personal_discount_based’, 20, 1 ); function personal_discount_based( $…
Local pickup custom percentage discount in WooCommerce checkout
I am using Local pickup shipping option custom percentage discount in Woocommerce answer code to make local pickup discount of 2% on Woocommerce. So people who choose to pickup their order get a discount on their total amount. This code is great, but I would like to hide it on cart page, and to only show up on the checkout
WooCommerce buy one get one 50% off, excluding a product variation
I am using WooCommerce discount: buy one get one 50% off with a notice answer code, if customer purchases a specific product, customer get 50% discount off on the 2nd item. Now If the targeted product id is a variable product with for example 3 variations “A”, “B” and “C”, how can I exclude for example the variation “A” from
Add 50% discount per 3 products on the cheapest products (WooCommerce)
I’m adding the discount rule for every 3 products: 3,6,9,12,15.. on the cart and it should apply to discount 50% only the cheapest products. So if you have 9, only the 3 cheapest gets 50% off. This …
Woocommerce cart items discount gets reset in checkout
I’ve been trying to implement a discount in my store with the following code: add_action(‘woocommerce_before_calculate_totals’, ‘set_discount’, 10 ); function set_discount( $cart ) { if ( …
Shipping cost discount based on a shipping classes in Woocommerce
I’m trying to apply a discount to one shipping class for products currently in a cart. This is applied on the checkout view. In Woocommerce backend, the option is set to charge each shipping class individually. Also, I use only one shipping method named “flat rate”. Based on Override all shipping costs for a specific shipping class in Woocommerce, the
WooCommerce discount: buy one get one 50% off
I wish to set up a specific discount on a particular variable products, if customer buys one product they get the another(same) on 50% discount(Buy one get another for 50% off). I’ve tried many discount plugins buy the closest that I have found are: Pricing Deals for WooCommerce WooCommerce All Discounts Lite WooCommerce Extended Coupon Features By using these plugins