I'm using
WooCommerce Simply Order Export (Plugin)
in Woocommerce Website. Using this Plugin when I export orders which are under specific Order Statuses(e.g. Processing, Completed etc), Plugin give me an option to select date range and no. of columns(e.g. Product Name, Product Quantity, Variation etc.), But the Problem is:
If Order-1 contains 1 product with some quantity(e.g. Fanta (Quantity = 4)), Similarly Order-2 contains the same product(e.g. Fanta (Quantity = 2))
So I need to update the Plugin in which I create a button to export Accumulated Quantity of Products(Sum of same item across all Orders), I need 2 Columns in Exported CSV(Product Name, Accumulated Quantity), Kindly help me in this updation.
TIA
A plugin that you can use (with the functionality you need) is this one:
Product Sales Report for WooCommerce
If you want to get a custom report, you can use the WC_Admin_Report() class and the get_order_report_data() to build your custom query.
Related
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 think is necessary some custom PHP, how can be added automatically to the backhand of the order 3 products (brochure, box and leaflet) for each order?
I do not want this to be visible in the front end like using plugins like chained products but I would like simply that for each order in the backhand automatically would be added 3 specific product to this order.
The three product would be products with their own SKU code and ID of course.
if you have the product id you can use
WC()->cart->add_to_cart($product_id,$quantity);
to set any product you want to customer's cart.
I have created some attributes like length, service, color, sizes and also created variation for length & services.
when i view product all things are showing perfectly but actually i want when select any product length and select any services than price will be meagre.
i.e. let us suppose
select length 10 = 1200
select services Recomb = `35`
$total= `1235`
How could this possible in woo-commerce ?
Is woo-commerce providing any plugin for this ?
you need to crate variable product and setup attributes then used that attributes for variation. create required variation and setup different price for each variation as per your requirement.
check below woocommerce docs for more info.
https://docs.woocommerce.com/document/variable-product/
Ok so here is my aim:
I have a single product with no category. I have used the 'YITH Woocommerce Product Add-ons' to add a group of checkboxes to the product that accepts 4 selections. The order is raised and the product has the 4 selections of checkboxes listed in the cart/checkout pages and also on the order page in my account. So far so good! Now...
I wish to produce a table on the frontend that lists all the sales of the product with the order date, first and last name of the customer and the 4 selections the customer made when ordering the product. For example...
Product X Sales:
First Name | Last Name | Date | Select 1 | Select 2 | Select 3 | Select 4
I have looked at the plugin 'Product Customer List for WooCommerce', this has a shortcode for displaying a list of customers and date when the product was purchased however; I don't have a way of extracting the metadata stored by the YITH Product Add-on field attached to the product sale.
Any help would be appreciated either with or without the Product Customer List plugin. Looking for some code possibly to recall the data per product sale and list it correctly in a frontend table.
Thanks in advance!
This option is now available in the pro version of the plugin
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