SQL mass removal query for pending subscription

Question
I have in a woocommerce shop 69 000 "pending cancelation" subscription. Is there anyway to make a mass removal of those by SQL ? Here is the URL settings to display them : post_status=pending&post_type=wc_user_membership I've tried to display 999 posts per page, ...
0
9 hours 0 Answers 3 views

Where do I find the functions triggered within a hook?

Question
I'm new to WP, but have used other CMSs in the past. I wanted to make a simple Woo-commerce store, for practice. I installed WP, Woo-commerce and the Woo-commerce Store Front theme and all went fine. Now I want to start customising ...
0
13 hours 0 Answers 3 views

Making custom field serchable in woocommerce

Question
I have a product field which is by default in the woocommerce and i have added another field custom field (ACF) which is stock_number on my product/shop page i can search for products by title only i want to include ...
0
13 hours 0 Answers 2 views

Woocommerce set cookie after a sale [closed]

Question
I am trying to make my custom cookie to remain on all pages when triggered... add_action('woocommerce_thankyou', 'my_setcookie'); function my_setcookie(){ $path = parse_url(get_option('siteurl'), PHP_URL_PATH);$host = parse_url(get_option('siteurl'), PHP_URL_HOST); $expiry = strtotime('+2 days'); setcookie('madeorder', 'yes',$expiry, $path,$host); } it ...
0
13 hours 0 Answers 3 views

update post every day

Question
I'm trying to update the post information every 24 hours, and I don't know why this is not working? public function add_g2a_product() { \$product = array( ...
0
13 hours 0 Answers 2 views

Displaying Custom Input Value to Customer Order Details (My Account) page in Woocommerce

Question
I have been looking for a solution to display a custom input field on Checkout page in Payment option area when Cash ON Delivery option is selected. Upon selection it displays a field in which customer inputs a value and ...
0
17 hours 0 Answers 3 views

Question
I'm triying to make a custom view of woocommerce products trough a shortcode. Does anyone know how can I retrieve and display the name and price of a product addon? Tried this but with no luck ...
0
17 hours 0 Answers 3 views

Question
I use a .htaccess password protection to secure my wp-login.php. For me as the admin of the WP/WooCommerce installation everything works fine so far (my password manager helps me to remember the tons of passwords). But now I have the ...
0
21 hours 0 Answers 4 views

Change layout of [products] shortcode

Question
I would like to display additional products on my simple product pages.I am using the shortcode like so in the simple products short description. [products ids="2113"] The problem with this is the layout of the resulting loop. Is there a way to ...
0
1 day 0 Answers 6 views

Custom URL for each product variation – rewrite rules

Question
I would like to have a separate url for each of my product variations. For that I would need to create a rewrite rule, that will work on the product URLs Ie, my product URL is https://example.com/product/tshirt/ The product has two ...
0
1 day 0 Answers 7 views