I have a WooCommerce with automatic products import from a source and I have 2 different files to import: first one is for products, second one for prices and stocks.
Sometimes I import products that are still not present in the second file, and I get a list of "blank" price products that goes online on my shop.
How can I tell WooCommerce to not show those products?
Related
As the title describes i want to delete all the out of stock products from my woocommerce eshop at the end of the day. Every day morning i import 6000 products with their images from another server and 600-700 are out of stock. So every day i upload 700 trash in my server and i have to delete manually at the end of the day cause server data limitations. I found these related questions
How to move out of stock product to trash Woocommerce?
Woocommerce delete products which are "Out of stock"
but the problem is that if i run one of these sql codes in functions.php file the products can be deleted but the thumbnails and images of the products are remain in my server and i have to delete manually.
I would prevent the out or stock products from being imported in the first place?
How are you importing these products in the first place? The import takes place, usually via a CSV which can contain as little or as much information as you require. One column is called 'In stock?' with either a value of 1 for in stock, or 0 for out of stock.
So in your import file you can just remove the products that have a value of 0 for 'In stock?' and then carry on as normal. That way no images etc will be imported.
I'm trying to use this plugin https://www.webtoffee.com/product/product-import-export-woocommerce/ to bulk import more than 10000 variable products in CSV in Woocommerce.
In their support, they say to use parent SKU, product SKU and product type columns from CSV.
The problem is that the CSV comes from my customer's supplier not-Woocommerce database, we have :
One product variation for each row,
Variation SKU,
Main SKU,
Sizes for each product variation in their row,
Color for each product variation in their row,
What we don't have: Product type
How can we solve the problem for scheduled mass import?
I’m using Wp All Export, and I have a problem. I want to export woocommerce orders and purchased items for each variation, but the problem is that I can’t export total orders for each variation.
For example, I have 2 separate orders for one product with the same variations like color, size, etc.
(“2x sample Tshirt, Blue, XL” and “3x sample Tshirt, Blue, XL”)
I can’t export total ordered items quantity (in this example “5 sample Tshirt”)
Can I use a PHP function to get total ordered items? How?
*Already, I have the quantity of ordered items for each separate order in excel table.
I would really appreciate if you can help me.
you should try https://wordpress.org/plugins/woo-order-export-lite/
they support "summary report by product"
I've tried to export products + category from X magento to Y magento with this https://www.siteground.com/tutorials/magento/import-products.htm
FYI, the exported files are correct, even XML or CSV type.
But, i found error when i importing it. it says i found 84 rows, but it's only Imported 1 records, when i check the Manage Products, none of products is imported. I tried on CSV and XML files, the result are same.
The magento version of both are similar, any possibilities to debug it?
In your import process 84 records means there is 84 lines in your csv file not 84 products!
I guess you're using just one sku for all of your products and that's why you have just one imported product. It's good to know that
magento uses sku as ID to identify products, so you need to assign an unique sku to every single product.
Update:
To insert new products by CSV Import check this columns in your csv file.
Required Product Attributes for New Products (written as they should appear in the CSV file column):
sku
Stock Keeping Unit - a unique value to identify the product. No two items can share the same SKU in Pixafy.
_attribute_set
Unless you have already set up Attribute Sets, set this to "Default"
_type
What type of product is this? Your options are: simple, configurable, virtual, and downloadable. Grouped or bundle products can not be imported at this time and must be created in the Control Panel.
name
The product's name- such as "Magic Wand". This should not be longer than 60 characters
description
The long description with detailed information regarding the product.
short_description
The shorter description that appears to the right of the Product Image on the Product page
price
The amount you are charging your customers for this product before sales or discounts.
status
Is the product Enabled or Disabled? Enabled is 1, Disabled, 2
visibility
How will the customer be able to view this item?
Visible in Catalog and Search = 4
Visible in Catalog =2
Visible in Search = 3
Not visible individually = 1
tax_class_id
Tax Class ID as set up under Set Up > Tax > Product Tax Classes. By default, Taxable Goods are 2
weight
Enter a numerical value for the weight of this product. This will be used by any calculated shipping methods.
_product_websites
At this time, your only option is base
Update 2:
To learn how to add product images to your csv file, read this post:
Update Magento products with multiple images
I have created one group product containing many associated products. On product page I am adding that associated(simple) products of grouped product to one container. Then after clicking on ADD TO CART all associated products are showing differently with their quantity and prizes. But I want to show then as one group like single product. And price and quantity will be addition of all the associated products. Is there any way to do this? please help
If you want to show the selection of products as a unity, you should use bundle product which is aimed to do this.