A simple woocommerce store, when exporting a csv products catalog, I noticed my sheet contains thousands of extra fields that had no value, I have no clue where did it all came from and cannot associate it with any plugin that I'm using at the moment. for example:
meta:158275-wpfoof-google
meta:157909-wpfoof-identifier_exists
meta:157911-wpfoof-adsensecustom
Wondering how can I safely get rid of this additional custom fields.
Thanks.
These entries are coming from this plugin:
https://www.pixelyoursite.com/plugins/product-catalog-feed-for-woocommerce
Haven't figured out how to disable that in the plugin settings, but I suspect you could remove them without any issues.
Related
I just wrote a plugin that creates a database, populates and edits rows from the backend, now what I need to show a list view of those rows with teir respective link to a detail viewo of each one. The shortcode approach, I have already done it, but that does not get the purpose of my plugin, as I want it to be available in the Menus configuration, just like Woocommerce endpoints are. How can I do that? Has someone here done something alike?
Edit, I just realized that woocommerce just creates pages with the correspondent shortcode embedded in them. This just makes that more difficult.
I have over 70 products on my WooCommerce website and I want to add up-sell products onto every single one. How can I achieve this?
I've tried bulk selecting every product and pressing edit, but up-sell products is not an option. Only things like changing category, etc.
I dont want to have to go through every product and do it manually.
The easiest way would be to create a spreadsheet of your data then use a plugin to update your products. The meta key for upsells is _upsell_ids and the meta value is an array of ids.
I've used WP All Import before with success. I've listed another I found that I haven't used but looks similar.
https://wordpress.org/plugins/wp-all-import/
https://wordpress.org/plugins/product-import-export-for-woo/
You could do this without a plugin but this way should be straightforward. I highly recommend you make a copy of your postmeta table first or try it out on a test table until it works properly.
I am managing a large product database using a Google sheet, which is then exported as a CSV. All works fantastic, apart from some custom metadata. It is being correctly imported into Advanced Custom Fields, however each product must be re-saved to reflect on the front end. As it is a large catalogue this is quite a big task.
Is this a WC bug, or is there a workaround I might have missed?
When updating other fields, including attributes, pricing etc, all changes are immediately reflected.
Many thanks,
Pete
I imported Custom Fields into my WordPress site from my staging server. Certain pages are no longer working.
I've tracked this down to a data issue. I went into the database and removed all entries from the wp_postmeta table that I am referencing on my page that is failing. I then went back into a post that was not working and did an update. That post now works.
This isn't a realistic approach since there are hundreds of posts that I would have to manually update. Any ideas on what I can do?
I figured out that each revision is stored in the database.
The original developer of the site i'm working on was displaying fields incorrectly.
If a field was called list_items, they were saying post.list_items instead of post.get_field('list_items'). Since there were multiple revisions in the database the DOM was displaying an array.
I was wondering if it where possible to allow users to fill in product meta using an input fields on the products page. The values of these input fields only have to be saved in that specific order.
I started using product attributes but I couldnt find a way of saving the inputs to the attributes, without affecting the global attributes of that product.
Currently i've created post meta fields, but I'm still stuck at the process of saving these values to the current order.
Any ideas anyone?
I recommend you use this plugin https://wordpress.org/plugins/wc-fields-factory/
It does what you are asking for.
If you are more inclined to write your own code, then take a look at this answer from a year ago https://stackoverflow.com/a/27443698/1456997