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

I am having issues implementing a payment method surcharge on my client's e-commerce store. The goal is to add a fee for PayPal and Stripe payment methods. I’ve tried using both plugins and custom ...
0 votes
0 answers
84 views

Ok I finally got all my code partially working. It only works in some specific scenarios, which I don't fully understand yet. I think the lifecycle of the checkout is not 100% clear to me. I'll ...
-3 votes
1 answer
87 views

I know it's 2025, and this problem seems to be all over the place, and I've been trying all the recommended solutions, but it seems it's mostly old code. But I don't really know; I'll try to sum it up ...
2 votes
1 answer
111 views

I have setup a custom field in the Admin Orders section of my Woocommerce site add_action('woocommerce_admin_order_data_after_order_details', function($order){ $pdf_url = get_post_meta($order->...
3 votes
1 answer
148 views

I am using custom Purchase Order based payment gateway method in Woocommerce and have registered my custom status status - Pending PO Verification for all orders made using this payment method. The ...
-1 votes
1 answer
61 views

I am creating a custom field inside an order, to add tracking ids and the courier service used. However from the post few hours, i have been unable to find a way to update the order meta. I have used ...
-4 votes
2 answers
98 views

In WooCommerce, I have a plugin for invoices, and it has a function to show a button inside WooCommerce My Account Orders to download it / view it. public function show_public_invoice( $order_id ) { ...
1 vote
1 answer
119 views

I want to move the Product Variation Description from its original location to be displayed in woocommerce_single_product_summary, but I never succeeded using many different methods. I am using the ...
2 votes
1 answer
114 views

(called "BANISH")We are using Woocommerce Brands on the site but need to show brand next to the name site wide for both customers and admins responsible for picking stock. I have managed to ...
1 vote
1 answer
104 views

I’ve built a custom WooCommerce plugin to allow bulk printing of shipping labels from the Orders page. However, the custom bulk action I've added (Print Shipping Labels) does not appear in the Bulk ...
0 votes
0 answers
44 views

I'm trying to register a function to a Woocommerce Memberships filter hook but I'm not getting any results. I'm following the docs from here. More specifically wc_memberships_member_discount_message ...
0 votes
1 answer
55 views

This script reads the cart, sees if the two products are present and adds another one different from the others. The addition of the quantity of the new product depends on the quantities of the others....
1 vote
1 answer
65 views

The goal is to use the cart item attribute size to calculate a fee per item. Here is my code attempt: add_action( 'woocommerce_cart_calculate_fees', 'wpf_wc_add_cart_fees_by_product_attribute' ); if (...
1 vote
1 answer
137 views

I'm trying to find a solution for my woocommerce product with attributes AFTER user selects one option. All solutions always lead me to this snippet that only fires on page load - not when users ...
0 votes
1 answer
107 views

In WooCommerce, I have added a custom fee which applies for products with shipping class "dangerous goods" (dangerous-goods). I now want to append/add a link to this custom fee name on the ...

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

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