Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey

All Questions

0 votes
0 answers
17 views

sending sms to dokan vendors on order processing status [duplicate]

This snippet hooks into the WooCommerce order status change event and sends an SMS to each vendor associated with the products in the order. The SMS will notify the vendor of the new order and prompt ...
user20065248's user avatar
-2 votes
1 answer
127 views

Code Snippet for Add to Cart Redirect only works for the Add to Cart Button in SINGLE PRODUCT PAGE

The code snippet for redirecting the add to cart to the checkout page only works when I press the add to cart on the SINGLE PRODUCT PAGE. It does not work when I click the add to cart button on the ...
Dave Didal's user avatar
0 votes
1 answer
133 views

PHP Code Snippet Not Working in CartFlows (WooCommerce Plugin)

I followed THIS tutorial to change the coupon field and button text, using the following script in a Code Snippet: /** * Change the CartFlows Coupon Field text and Button text. * * @param array $...
tbo812's user avatar
  • 45
0 votes
0 answers
65 views

How to display a thumbnail of product variation in custom table? I just make a custom variation table in woocommerce

I created a custom variation table in WooCommerce, and I need to display product variations thumbnails in that custom table. What is it the right way? What is the code to create this? Here is a ...
italywebonline's user avatar
0 votes
1 answer
584 views

Send Woocommerce registration confirmation email when administrator register a new Woocommerce client

I'm trying to create a snippet that send the woocommerce registration confirmation email to the new woocommerce clients that are registered by the administrator so they can see their password or reset ...
Benoit Bonavia's user avatar
1 vote
1 answer
59 views

WooCommerce discount for unlogged users based on if a field has any input add 10% discount

I would like to give 10% discount for companies (B2B) but I don't want to give discount for individual person (B2C). The only way to check if somebody (not logged in) is an individual person or a ...
Antal Szabó's user avatar
0 votes
0 answers
155 views

How to make a parent page for a custom taxonomy in woocommerce

I am using Woof product filter plugin and want to add a new taxonomy. Right now I have it set up with categories (type of products), brands using Perfect Brands for Woocommerce (assigns custom "...
TMA's user avatar
  • 1
-1 votes
2 answers
902 views

How to Find WooCommerce Product without Featured Images

I want that the products not showing on the shop frontend who are missing the featured image. I did not found until now a good solution. I want excluded these products. Looking for a snippet code or ...
Carolus's user avatar
0 votes
0 answers
44 views

Trouble with editing contents/message of Empty Side Cart

I am trying to change the default text thats in the empty side cart on WooCommerce. It just doesn't look inviting at all. For some reason all my atempts fail, I have limited understanding of PHP but ...
Nol's user avatar
  • 1
1 vote
0 answers
219 views

How to replace WooCommerce My Account registration form with a Gravity User Registration Form

I would appreciate it if anyone could advise how to replace WooCommerce My Account registration form with a form created by the Gravity Forms User Registration plugin. Thank you, I tried the Enable ...
Majid's user avatar
  • 13
0 votes
2 answers
71 views

change status order for specific category

I want to change status order after payment for all products under category private I tried this code but it works for all products, I need it works with products under category private only `...
Ultimate Workouts Gym's user avatar
0 votes
1 answer
243 views

Add text in woocommerce_thankyou if order status is complete

I need to add a custom text that is displayed on the thank you page, if the order has been processed and has a completed status. I am using the following code in the "...
mulloalfredo's user avatar
1 vote
0 answers
94 views

WooCommerce: Replace price of productvariation by productattribute

i'm looking for a snippet that gives me the option of replacing the price with the text "Price on request" for a product variant from WooCommerce that already exists. I'm not a developer or ...
Sunday23's user avatar
0 votes
0 answers
190 views

Combine same attributes with different slug - Woocommerce

I have multiple product attributes with the same name and same terms but different slugs. That's a result of a migration from Shopify to Woocommerce. For example, attribute 'Μέγεθος'('Size' in Greek) ...
Christopher Konakas's user avatar
0 votes
1 answer
94 views

shortcode to display number of products sold by coupon code

I have coupon "coupon-test" I have this snippets to show the number of usage for the coupons function simple_function_1() { $coupon_code = 'coupon-test'; global $woocommerce;...
Dr.Jaber ALShemmari's user avatar

15 30 50 per page