Saif
Forum Replies Created
-
Hello @elliotvs!
Don’t mean to hijack the thread, but is there an estimate when this will be fixed? 🙂
Workaround in case it helps anyone:
- Replace line 97 in the main plugin file (
simple-cloudflare-turnstile.php) with the following:
$cfturnstile_render_mode = (function_exists('cfturnstile_is_block_based_checkout') && cfturnstile_is_block_based_checkout()) ? 'explicit' : 'auto';
wp_enqueue_script("cfturnstile", "https://challenges.cloudflare.com/turnstile/v0/api.js?render=" . $cfturnstile_render_mode, array(), null, $defer);Thank you!
Marking as solved!
Thank you, @essekia!
According to Patchstack and WordFence, even version 1.44 is marked as vulnerable.- WordFence: https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/helpie-faq
- PatchStack: https://patchstack.com/database/wordpress/plugin/helpie-faq/vulnerability/wordpress-helpie-faq-plugin-1-39-sensitive-data-exposure-vulnerability?_s_id=cve
Can you please update it from there?
Hello @yarvolk!
I’ve seen that built-in placeholders like
{site_title}and{store_address}work as expected. Is there a way to register additional custom placeholders so they render properly in the final email?This should do it:
add_filter( 'woocommerce_email_format_string', 'add_current_year_placeholder', 10, 2 );
function add_current_year_placeholder( $string, $email ) {
$placeholder = '{current_year}';
$current_year = date('Y');
return str_replace( $placeholder, $current_year, $string );
}The codes inside or your child theme’s
functions.phpfile or you can add it via a plugin like CodeSnippets. The placeholder name is{current_year}.
Hope this helps!Hello @tominthephilippines!
This validation appears to be only on the client-side, so you can bypass it by modifying the request. Here’s how (I’m using Firefox, by the way):
1- First, delete the existing account you’ve added.
2 – On the same page, press F12 or right-click and select “Inspect Element.” Go to the Network tab.
3 – Now, fill out the form normally and add a dummy account number, then click both “Save” and “Save Changes.”
4- Look for the POST request that adds the account; it should be the same one in the screenshot below.
5- Right-click the request and select “Edit and Resend.”
6- Scroll down until you see the request body and delete the account number value “123” highlighted in the screenshot, and click “Send.” Make sure to keep the body structure intact, just remove the value in this case (123) and keep it an empty string “”.

7- Refresh the page.

Hope this helps!Forum: Plugins
In reply to: [WooCommerce] How to add custom HTM code to block checkout?Hi @siutek!
You can register a new field using the Additional Fields API.
Btw—this feature was introduced in WooCommerce 9.9 (released yesterday), so make sure to update your WooCommerce version first. : )
Forum: Plugins
In reply to: [WooCommerce] Send customer email when order is manually cancelled by adminHello @crusader445!
This is highly impractical in real-world B2C scenarios – especially when the order cannot be fulfilled (e.g. due to production limitations in 3D printing).
Yes, but in that case, you’d be issuing a refund for the customer, correct? In that case, the refund email will also serve as the cancellation email. 🙂
I’m not sure if the cancelled email contains information that you might not want to disclose to the customer, however, you can use this snippet to CC the customer to the same email sent to you:
https://www.businessbloomer.com/woocommerce-send-cancelled-order-email-to-customer/Hope this helps!
Forum: Plugins
In reply to: [WooCommerce] Free shipping, but still shows shipping costHello @0108daniel,
No need for CSS, just install this plugin: https://ww.wp.xz.cn/plugins/wc-hide-shipping-methods/Forum: Plugins
In reply to: [WooCommerce] Max. length of name and addressHello @webreneszansz!
I’m not sure if you want all fields to be under 40 characters or a 40-character max per field. If the latter, try adding the following snippet to your store via the CodeSnippets plugin.
add_filter( 'woocommerce_checkout_fields', 'custom_checkout_fields_character_limit', 9999 );
function custom_checkout_fields_character_limit( $fields ) {
// Billing Fields
$fields['billing']['billing_first_name']['maxlength'] = 40;
$fields['billing']['billing_last_name']['maxlength'] = 40;
$fields['billing']['billing_company']['maxlength'] = 40;
$fields['billing']['billing_address_1']['maxlength'] = 40;
$fields['billing']['billing_address_2']['maxlength'] = 40;
$fields['billing']['billing_city']['maxlength'] = 40;
// Shipping Fields
$fields['shipping']['shipping_first_name']['maxlength'] = 40;
$fields['shipping']['shipping_last_name']['maxlength'] = 40;
$fields['shipping']['shipping_company']['maxlength'] = 40;
$fields['shipping']['shipping_address_1']['maxlength'] = 40;
$fields['shipping']['shipping_address_2']['maxlength'] = 40;
$fields['shipping']['shipping_city']['maxlength'] = 40;
return $fields;
}Forum: Plugins
In reply to: [WooCommerce] Best way to customizeI see some say it is only doable via customizing the php file and other say it is possible via the use of a plugin. Can you guide me in the right direction?
No need to customise anything @sebollet , WooCommerce already has a “Company Name” field.
To make it visible, navigate toyourwebsite.com/wp-admin/customize.php=> WooCommerce => Checkout and set the “Company name field” to “Required.”
Forum: Plugins
In reply to: [WooCommerce] Coupon statistics not showing coherent dataHello @cutu234!
Check if you’ve excluded certain order statuses from theAnalytics => Settingstab. Excluded orders will be ignored, which could explain why the value in analytics doesn’t match the actual times the coupon was used.I don’t know much about EU privacy laws, but both the usage tracking and “Remote Logging” feature are disabled by default, @walstice.
My guess is that you kept this checkbox selected in the setup wizard.
I am reaching out to report an issue regarding the checkout experience on my website. Specifically, Google Pay and Apple Pay are not appearing as available payment options on the checkout page, despite having completed the necessary setup and integration steps.
I can see that you offer marketing services, so this is expected. The express checkout options are no longer supported for digital products due to the way the tax calculation works. If this affects your business, I recommend adding some feedback here @ipman91 : https://github.com/woocommerce/woocommerce-gateway-stripe/issues/4170
Forum: Plugins
In reply to: [WooCommerce] How create more suppliers on woocommerceHello @loop4633!
WooCommerce doesn’t have multi-vendor support built-in. You’ll need to install a plugin for this. The two most popular plugins are the Product Vendor plugin (developed by the WooCommerce team) and Dokan. Since you want to have fees sent directly to the vendor, Dokan might be a better option, as it has Stripe Connect integration: https://dokan.co/docs/wordpress/modules/how-to-install-and-configure-dokan-stripe-connect/Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] google pay not showing upThe issue seems to only be for digital products.
This is because of the tax calculation @ohmykomu: https://github.com/woocommerce/woocommerce-gateway-stripe/issues/4170
I’m not sure if this works for your business, but an easy workaround would be to charge the tax based on your store’s location:
- Replace line 97 in the main plugin file (