Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
1 answer
59 views

Summarize: I'm using the following code that allow customers know calculation of an extra cost depending on product weight and then add to the cart summary. Problem: Code rendundant. I think there is ...
Nightmare's user avatar
0 votes
1 answer
96 views

I have a client who has a WordPress + WooCommerce store. He asked me to include a fee in the store, but that not all categories would be charged. I would like to insert a fee of 7.40 (Receipt Notice ...
2 votes
0 answers
128 views

I am trying to subtract a negative discount fee from the cart total/subtotal in the WooCommerce cart, in order to set the shipping price to 0 when reaching a total/subtotal of 750 excluding coupons ...
Richard's user avatar
  • 647
0 votes
1 answer
82 views

I am using the following snippet to add a flat rate handling fee to physical items in my cart. My company offers free books with free shipping to our employees via use of a coupon, so I need this fee ...
2 votes
1 answer
167 views

I want to add an extra charge when the customer chooses geniki taxydromiki as the shipping method and pays cash on delivery or by card or bank deposit and if the customer belongs to specific zip codes....
0 votes
1 answer
58 views

Party Rental Equipment website. Using the JQuery datepicker in 3 woocommerce_form_field, one for Event Date, One for Delivery Date, and one for Pickup Date. I am trying to charge a 440ドル extra fee if ...
1 vote
1 answer
231 views

I wrote This function to add a 9% extra fee on a gateway just on the checkout page. Now, I want to exclude some products by ID from increasing additional fees in a function. How can I simply do this ...
0 votes
0 answers
113 views

I have some code in my Wordpress header.php to create a side cart. But the line $fees = WC()->cart->get_fees(); returns an empty array while there are fees applied because if I look in the ...
1 vote
1 answer
43 views

In the following code, I add a percentage fee to WooCommerce Total Cart, but the condition in the IF statement, doesn't work. I somehow checked everything. // Adding Nutritionist Fees add_action('...
0 votes
0 answers
400 views

When the checkout page is generated by 'woocommerce_checkout' shortcode, we can use 'woocommerce_cart_calculate_fees' hook to add an additional fee for any specific payment method with this js code to ...
1 vote
1 answer
148 views

I am trying to add TWO fees to all WooCommerce orders when and if the cart has "auction" products in it. I need to add a "clubbing" fee of 20 for each "auction" product ...
0 votes
3 answers
2k views

I am adding a WooCommerce cart fee like so : add_action('woocommerce_cart_calculate_fees', function($cart) { $cart->add_fee(__('Popust za vjernost'), -10, 0); }); I thought adding a 0 ...
2 votes
1 answer
157 views

I'm setting up California Redemption value fees for my site. The code that I have found on here works, however I would like for the different fees to be combined under the same name, which would just ...
0 votes
0 answers
112 views

What I'm wanting to do is the following: I have two types of subscriptions on the site for customers, that if they buy them they can have discounts on products. These subscriptions cost ARS5,000ドル and ...
2 votes
1 answer
169 views

Trying to add a commission fee to the WooCommerce checkout based on 5% multiplied by subtotal. But, all I get is a blank page and the site stops working. This is the code: add_action( '...

15 30 50 per page
1
2 3 4 5
...
10

AltStyle によって変換されたページ (->オリジナル) /