lucytech
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] how do delete customersI used those queries and tried those plugins but what I’m tryong to explain is that it deletes users from the user table but NOT from the woocommerce customer table. To do that I ran:
SELECT * from wp_wc_customer_lookup where user_id not in (SELECT wp_users.ID FROM hyg_users) LIMIT 400;Forum: Plugins
In reply to: [WooCommerce] how do delete customersIt would be very helpful if woocommerce customers list had a delete option so it could be deleted.
The option you gave me in the first thread
does not have a query to delete them from the woocommerce customers, it only has a query to delete them from the wordpress user list.
I found the woocommerce customer table in the end but an updated code example would be very helpful for people.
Thanks
Forum: Plugins
In reply to: [WooCommerce] how do delete customersI had to delete them directly from the database table.
Now it is upto date.
Forum: Plugins
In reply to: [WooCommerce] how do delete customersthanks I ran the database commands and I’m left with about 600 users.
However, if I go to Woocommerce -> Customers it is still showing 13,600. How do I update this list?
Forum: Fixing WordPress
In reply to: delete users who never made an orderthanks.
could you help me complete the code to delete the user?
I’m not sure what to put here:
if( empty($orders) ) { echo “delete user “.$user->ID.”\n”; } // run command to perform the actual deletion.
so then I should not include them in the search results right? It doesn’t make sense to include them if I can’t customise the fields?
I’m having issues with the correct SEO description showing with my template pages, it is just showing the default homepage description.
Could this be the cause?
so then how would I add Yoast SEO to the template pages if I have elementor templates set to show up in the search results?
Forum: Plugins
In reply to: [WooCommerce] recently viewed cookie not being savedI pasted the code in functions.php and it seems to have fixed the issue.
Thanks so much for your help.
Forum: Plugins
In reply to: [WooCommerce] recently viewed cookie not being savedI have the cookie excluded from the cache. Is that ok or do you have a JavaScript code example that would work better?
When do you think you will update the code? I’m not sure how to implement the change you suggested.
Thanks
Forum: Plugins
In reply to: [WooCommerce] recently viewed cookie not being savedI’m not using a plugin, just code that calls the cookie.
My issue is there is no $_COOKIE[‘woocommerce_recently_viewed’]. cookie being stored. The code itself is irrelevant. You can see in inspect element there is no cookie being created.
My question is – is $_COOKIE[‘woocommerce_recently_viewed’]. a default cookie that should be created? Or is it connected to a plugin and I need to find the source?
If it is default then why isn’t it being stored?
Forum: Plugins
In reply to: [WooCommerce] recently viewed cookie not being savedYes, I’m using Elementor.
I added it using a shortcode.
Is this cookie automatically set from woocommerce? ‘woocommerce recently viewed’ ?
the code is from this website https://www.wpexplorer.com/woocommerce-recently-viewed-products-shortcode/
Forum: Plugins
In reply to: [WooCommerce PayPal Payments] reduce unused javascriptThank you!!
Forum: Plugins
In reply to: [WooCommerce PayPal Payments] reduce unused javascriptI disabled it from the mini cart but when I load the product pages it still says in the browser (edge, chrome) at the bottom – waiting for t.paypal.com or paypal.com
why is that? How do I speed that up?
- This reply was modified 3 years, 5 months ago by lucytech.
Forum: Plugins
In reply to: [WooCommerce PayPal Payments] reduce unused javascriptThanks for your help.
But I need to have the mini cart… this is a e-commerce website and that is the norm for a good shopping experience.
Do you suggest only showing the paypal option on the checkout page and not in the minicart?
Yes the issue was the pro plugin was not upto date. When I disabled it then the form worked.