Luca
Forum Replies Created
-
No one, all up to date according to the list.
It’s just the little “1”.As you can see, there is an update notice and all plugins are up to date.
This only happens when you plugin is installed, if I remove it, it disappears.Forum: Plugins
In reply to: [WP Approve User] Change text after registrationPerfect, thank you very much!
Forum: Plugins
In reply to: [WP Approve User] Change text after registrationAh yes!
How do I change it from my functions.php?
Forum: Plugins
In reply to: [Product Visibility by User Role for WooCommerce] Update roles via PHPNevermind, this worked:
https://wordpress.org/support/topic/can-this-plugin-be-used-with-rest-api/update_post_meta(48,'_alg_wc_pvbur_invisible',array('administrator'));Needed to put it into an array…
- This reply was modified 7 years, 8 months ago by Luca.
Forum: Plugins
In reply to: [WooCommerce] ‘Sku already exists’ but there no matching SKU on siteJust make sure to tick all boxes 😀
Forum: Plugins
In reply to: [WooCommerce] ‘Sku already exists’ but there no matching SKU on siteHmmm… deleting the orphan tables is basically what you need to to.
I think a premium plugin is not necessary here, I heard this could do this, too:
https://wordpress.org/plugins/wp-optimize/Just tested it, worked for me, hope it does for you as well!
- This reply was modified 7 years, 9 months ago by Luca. Reason: tested it
Forum: Plugins
In reply to: [WooCommerce] Comply with GDPR: Wipe all customer dataYou could just clear the orders and customers tables in the database. That’s a one-line SQL-Query:
TRUNCATE TABLE wp_woocommerce_order_itemsJust do this for all tables (with private data) on the staging version by replacing wp_woocommerce_order_items.
- This reply was modified 7 years, 9 months ago by Luca.
Forum: Plugins
In reply to: [WooCommerce] How to check the text “Select a country” in drop down?What is it you want to “check”?
Some further information of what you’re trying to do would be helpful! 🙂Forum: Plugins
In reply to: [WooCommerce] Need a product to override shipping ZonesAs long as you’re not shipping anything, try to set it up as a digital product.
Like a download or something.Either way, I would think about just adding a donation button from paypal.
It’s very easy to set up. And the donator does not need to fill out all the forms…Forum: Plugins
In reply to: [WooCommerce] Get all product variations by category“tax_query” is not a valid parameter for that function. Just use “category” and the ID:
$args = array( 'post_type' => 'product_variation', 'post_status' => array('private', 'publish'), 'category' => $selected_category_id ); $variations = get_posts( $args );Forum: Plugins
In reply to: [WooCommerce] ‘Sku already exists’ but there no matching SKU on siteWow, what was I thinking, the SQL-query is garbage 😀
Try this one instead:SELECT * FROM wp_postmeta WHERE meta_key LIKE '_sku' AND meta_value LIKE 'REPLACE-WITH-A-SKU'REPLACE-WITH-A-SKU = an example SKU from the 1000 products
And for the cleanup I would try this one, as it removes orphaned reference data:
https://de.wordpress.org/plugins/advanced-database-cleaner/Anyways, you should check the passes for any redundant data
Forum: Plugins
In reply to: [WooCommerce] Unsecured linksAdd this to the first line of your .htaccess file for an instant fix.
ErrorDocument 404 /It’s only a temporary solution, I have no idea whats wrong with your shop!
Forum: Plugins
In reply to: [WooCommerce] ‘Sku already exists’ but there no matching SKU on siteHey, try to look for it in the database directly.
Open a connection to the SQL-Database and run following command:
SELECT * FROM 'wp_postmeta' WHERE '_sku' = 'REPLACE-WITH-A-SKU'REPLACE-WITH-A-SKU = an example SKU from the 1000 products
If a line is shown, there is probably some leftover data. In this case you need a plugin to clean up the database!
- This reply was modified 7 years, 9 months ago by Luca.
Forum: Plugins
In reply to: [WooCommerce] Update / Refresh product with phpI did, but now I discovered something that seems to be the problem:
The variations are there and the attributes are also in the correct field, but they are not .. like put togher?Screenshots:
https://image.ibb.co/fKFzuJ/werte.png
https://image.ibb.co/eBacgy/variations.pngHow do you tell woocommerce which options equal which variation with PHP?
I couldn’t find anything working online 🙁