All Questions
53 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 ...
-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 ...
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 $...
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 ...
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 ...
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 ...
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 "...
-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 ...
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 ...
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 ...
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
`...
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 "...
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 ...
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) ...
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;...