32,941 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
49
views
Payment Method Surcharges Not Calculating Correctly in Checkout Total
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
57
views
WooCommerce custom category pagination using "catalog"
On a site designed almost 10 years ago, a custom rewrite enables the use of the word "catalog" as both shop and category base. I can also set "catalog" as the custom product ...
-2
votes
0
answers
70
views
PayPal OTP ‘transaction code’ SMS shows EUR for a GBP PayPal Checkout order [closed]
We are a UK merchant using WooCommerce + PayPal Checkout (PPCP) in production.
Some payers are prompted for an SMS OTP (‘prove it’s you’ / transaction code). The OTP SMS displays an amount in EUR (and ...
Advice
0
votes
6
replies
108
views
Duplicate custom Order Action in WooCommerce
I have the following code on my site which sends a 'Ready to Collect' email to my customers, as well as updating the order status to ready to collect.
function custom_status_action( $actions ) {
...
0
votes
0
answers
83
views
Woocommerce checkout hooks lifecycle with external API call for custom shipping rates
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 ...
1
vote
0
answers
91
views
What adjustments should be made to my code to make my products sort alphabetically when multiple items have the same stock status?
I own a website that sells rare clothing products sourced from all around the country. Because no item that we buy is ever in the same condition, we create a different listing for each item with ...
0
votes
0
answers
68
views
Woocommerce blocks checkout: add dynamic text under shipping methods
I'm trying to add a simple text line directly under the shipping methods list, e.g. "Add x € to your basket to receive free shipping!" This will be shown only when shipping country is Greece ...
0
votes
0
answers
63
views
update programmatically value of a field in wooCommerce checkout blocks
In WooCommerce Checkout Blocks, suppose I have added a custom text-input field using woocommerce_register_additional_checkout_field, and I want to update the value of that input via js.
The update ...
0
votes
0
answers
64
views
WooCommerce How to Display Stripe Based on PostCode
In WordPress 6.9 version and WooCommerce version 10.3.6,
I want to display the Stripe based on the shipping zone.
Shipping zone 1 consists of Post code 3000
Shipping zone 2 consists of Post code 4000.
...
0
votes
0
answers
53
views
adding hidden custom fields in woocommerce checkout blocks
In classic woocommerce checkout, we can:
Add a custom field using the woocommerce_checkout_fields filter (or by calling woocommerce_form_field() in a specific template location).
Save the data using ...
-2
votes
1
answer
79
views
WooCommerce Hook is not firing and seem to be deprecated [duplicate]
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
2
answers
143
views
How to change the title of the billing field?in Woocommerce
I found some old code here to change the name of my 'Deliver to different address?' title in Woocommerce. Works perfectly... but I also want to change the name of my Billing Details title, to Billing ...
Best practices
0
votes
2
replies
54
views
Best way to load a custom JS file only on WooCommerce product pages with a block theme (FSE), not want killing full-page cache?
Please read full first
I’m working on a WooCommerce shop using Twenty Twenty-Five as a child block theme (full site editing). I have a small custom script (product.js) that should only run on single ...
1
vote
1
answer
93
views
no products or categories on the ViewController in TableView in iOS app with api woocommerce
I begin to create online shop iOS app with connection to site on Woocommerce. I want to insert in TableView products from Woocommerce via API.
Now then I Build the app, simulator launch only white ...
0
votes
0
answers
115
views
Price filter fails after currency switch
I am building a custom client-side price filter in WooCommerce.
Prices come from an external API (LitRes) in RUB, and I use YayCurrency to convert prices to EUR/USD/GBP on the front end.
My JavaScript ...