I'm having an issue with woocommerce I'm not sure how to fix.
I imported a CSV of 800+ products into a test site, when I go into Products > All Products, the number next to all reads (890) but Published (393).
I've tried looking around various articles and can't seem to find how I view these unpublished products and can't see them anywhere in the site.
I've pasted a screenshot of what it's showing, any help is appreciated.
Did you provide any IDs for the products while importing the products? We should not provide the IDs for the products.
WordPress assigns Post IDs to everything that is a Post. So, Posts, Pages, Products, Images, Attachments, etc all get their own ID. It starts at 1, and then goes up. If you see a gap it might mean that you uploaded images in between, or made new blog posts. OR imported 100 products, deleted 100 products, etc.
Basically, it’s perfectly normal to have IDs that are random. IDs are not used in anything except for the database to find what that is. You do not want to assign IDs on import either. Because you don’t know what IDs are already taken and so you might have a problem that way. Best to leave IDs blank when making new products.
Related
For the last few days I have been wrapping my head around this but for the life of me, can't figure out a way to do this.
I have a WordPress website dedicated to different categories of products. I use Custom Post Type UI to create the product categories, ACF for custom fields for each product type and then FacetWP for the indexing and filtering part. Each category has a dedicated catalogue style page where I have certain filters from FacetWP for users to narrow down their search for a product that fits their requirements.
Everything is working well, however, my issue is that some products get discontinued and are being replaced by newer versions. Because of this, I have added a custom field for each category such as "wm_manufactured" (washing machines) that has a simple check box with "Yes". If the checkbox is ticked, then I want the product to be displayed in the catalogue.
Does anyone know how to skip products or remove them from indexing if a certain field is empty or maybe another way of doing this?
I need these product pages to still be available through a direct link because they are being ranked high on Google and I have a banner informing customers that this particular product has been discontinued and have a link to its replacement.
So I found the answer to my trouble and it was right in front of me.
When making a "Listing" template in FacetWP, there is a second tab called Query.
When I was testing the query filters, I was only putting the value that I set up on ACF, but the actual value that I had to add for the system to compare to was the exact figure from inside the database.
While ACF would have returned a "yes" for example, FacetWP was only seeing
a : 1 : { i : 0; s : 3 : "yes"; }
the value present in the database. So check the database for the exact value and don't just go based on what ACF will return.
Just took over data for a large - 150000 product eccommerce site. WordPress w/Woocommerce ans plugins called CSV Import Suite and Better Product Add-ons allow me to upload CSV files with product data. Most things work great but upsells seem to only work sometimes.
Basically, the site uses SKUs and to set up an upsell I provide something like the following:
sku,upsell_skus
123,456|543|345
This would link the product with SKU 123 to products 456, 543 and 345. I would need entries for all 4 products to have thumbnails appear with upsell links on the site.
Anyways. For some reason when I upload the CSVs I get very random results. In other words, sometimes the upsell links show up and sometimes they don't. I thought this might be some kind of caching issue - but in addition to clearing and least the browser and server caches - new upsells often appear right after upload without doing anything.
I have noticed that when I send larger CSVs the results seem to be less great. Small batches seem to take - but this could be coincidental. Also, for some products the upsell_skus list can be 40 or more - although size of list doesn't appear to be a factor in results.
Does anyone have any knowledge or experience dealing with these issues? Thanks.
You can use the built-in product CSV importer instead of a plugin to update the products. The Woocommerce Product CSV Import Schema states that multiple items should be comma separated. In a comma separated CSV file I've done this using a quoted string with either the id or sku to be updated. If referencing an existing product ID, prefix the id with id:. If referencing a SKU, no prefix is needed. e.g. id:100, SKU101. I haven't tested it with a large dataset, but I've never had problems using this method.
This is the format for the standard importer csv file
SKU, Upsells
123,"456,543,345"
this is what happening with the store i´m building: I have 280k products to import, i´m doing it in with 7 csv files every file contains 40k of data except the last one.
My problem is the following:
I import the first 40k of data with all the attributes i need, then when the import process is complete i can´t save the categories where the products are assigned.
A thing i want to do is just to create one url for my product bcause when i upload a product for both categories,
i.e: category-parent,category-parent/category-child the system creates two url for both categories like this: category-parent/my-product and category-parent/category-child/my-product, what i want is this: category-parent/category-child/my-product
Even if i choose to enable canonical url for categories, it keeps creating three urls:
.One for category-parent
.Another for category-parent/category-child
for 40k products the url-rewrites reaches to 119.
right now i´m deleting everything from the store to re import the products and see what´s happening with this issue.
All the help i can get will be much appreciated, thanks for your time.
Ok so i have this shop, there are two categories, one category has the upper hand on sales, and i want to promote the second category.
I would like to use the related products to promote them (i could use uppersells but there are 200+ products, and i dont want to edit them manually)
So i would like that, when viewing products of the first category, products from the second category appear in related products.
I'm pretty sure there's a quick way to achieve this in the related.php file in the theme, but my programming skills are poor, i've been scratching my head for hours on this, trying hard using bits and pieces i found here and there, but without luck for now, and i would take any advice on how to achieve this goal, if you please.
I even bought a module supposed to make me achieve this goal, turned out to be a rip off... does not work as intended at all.
I have a woocommerce store and I accomplish the exact thing you are looking for by using this plugin:
https://wordpress.org/plugins/wp-related-items/screenshots/
I need my quick search to search by SKU. I know that's the way Magento works by default but unfortunately that's only for simple products (I think).
In my case, I have a store that uses simple products set to "not visible individually", and then I have grouped products that associate those simple products. Only the simple products have the SKU attribute but they're only shown when you open the grouped product.
What I need then, is to have it search inside those grouped products for the simple products with the SKU entered in the quick search field, and then display the grouped products that have a match.
Is there anything that does this? Seems to me it should be baseline in Magento.
Edit: Magento 1.4.2
Working on this issue right now. The solution I'm thinking of trying is suggested here:
http://www.magentocommerce.com/boards/viewthread/74229/
The idea is to set the simple product visible in search instead of not individually visible. Then in the product template check if the simple product is part of a group. If so JavaScript redirect to the grouped product page.
Still thinking about a cleaner solution but thought this might be of some help.
Not sure if people are still looking for answers to this, but i was so I'll post my resolution anyway :)
Simply add all the SKU's with a space onto the SKU of the grouped product. Then when someone searches for one of them, it will bring up your grouped product. Then you need to do nothing to the simple products at all, they can remain hidden. Also works for configurable items.
Hope I help someone!
IP