Woocommerce SKU or id? - woocommerce

I've been handed over a woocommerce website and a majority of the products are missing a sku number.
What would be the best way to go about updating products without a sku number?
Also keeping the skus unique?

Best practice for SKU's is to use small, (mostly) meaningless codes with a uniform fixed length and pattern.
So suppose you sell less than 1000 products, take a code of 5 characters. And assign the codes automatically using a script:
10001 first product
10002 second product
etc
How these codes should be generated depends on you (business) domain model / woocommerce configuration (using variants yes/no). For inspiration see this project: https://github.com/tamarazuk/woocommerce-product-sku-generator

Related

Optimal way to set up a complex WooCommerce store

I have a store that sells cheese and meat. I would like to set up a WooCommerce store and I am looking for some input as to whether it would be feasible to use the import tool given the complexity of my product catalogue.
The store has products for which there are multiple vendors and unit sizes.
For example, we sell a bison steak from three different vendors in two unit sizes.
We would code this in our offline ordering system as six products:
BIS-VEN1-US1
BIS-VEN1-US2
BIS-VEN2-US1
BIS-VEN2-US2
BIS-VEN3-US1
BIS-VEN3-US2
Each of these products could have a different price.
I know that WooCommerce has an option to set up variable products with variations that should allow me to set up products like this but I am not quite sure how to do it.
Any help would be appreciated.

woocommerce - large number of variations for a variable product

I have a variable product with 3 attributes. The total number of variations generated is 900. This will make the admin page incredibly slow and hard to work with, so I need to find a workaround. I thought about replacing the dynamically generated dropdowns(for attribute values) with static ones, but the shopping cart expects to receive a variation number, which is non-existent in this case. I'd also like to mention that the variations are identical in all parameters, besides the attributes. How can I solve this?
Thanks.

WooCommerce Download Variations dependent on Gravity Forms (WooCommerce Add-on) user input

I have the following 3 plugins installed and configured:
Gravity Forms
WooCommerce
WooCommerce Gravity Forms Add-On
This combination has already solved many of my problems (variable pricing dependent on user input via multiple options), but there is one issue that I can't seem to directly overcome, and that's providing a customer with a different set of Downloadable files dependent on their customized input.
It seems that the purpose of the Gravity Forms add-on is to eliminate the requirement of administering variations based on potentially hundreds of combinations of WooCommerce defined attributes, which makes a lot of sense and is a big time saver, but it doesn't seem to address variations that extend beyond price; like Downloadable files.
For instance, given my rough sample below:
Product options, sample (this is a basic variable product, some might be much more complex):
Product Option A
Product Option B
Options Dependent on Product A:
Product-A Option Z
Product-A Option Y
Product-A Option X
Options Dependent on Product B:
Product-B Option Z
Product-B Option Y
Product-B Option X
These combinations all yield a different price, which Gravity Forms can cover, but these combinations should also provide a customer with a different combination of PDF downloads (ie: Product Option A.pdf + Product-A Option Y.pdf at $XXX.XX, or Product Option B.pdf + Product-B Option Z.pdf at $XX.XX).
Is there a way to pass a hidden var or shortcode from the Gravity Forms user input that can be defined as an attribute to then set the Downloadable file variations in WooCommerce?
I'm really pulling my hair out here because on one hand this could be handled exclusively using WooCommerce, but the number of variations could be in the hundreds, yet Gravity Forms seems not to have the capacity to send WooCommerce a means of defining much else than calculated price :(
Perhaps I am thinking about this the wrong way and should be using another method. If someone can offer a solution of some form, I would very much appreciate it!
T

How to change price based on number of attributes?

I am using Woocommerce with WordPress. How do I calculate pricing based on number of attributes selected as shown in the image. E.g. the current order should amount to Rs. 9100 as there are 9 attributes priced at Rs. 1000 each and Rs. 100 for the product base price.
Overall quantity for the product always is one.
I was able to solve the problem by using Gravity forms and Gravity forms addon for woocommerce.
Next I created added multiple product fields which automatically come with quantity field and finished with the total field.
Next I created a product with and integrated it with gravity form I just created.. voila..
Edit: if you guys have any other creative of doing this. Please answer below.
You need to setup product attributes and connect variations so 1 product can have multiple options which all influence the price. It is explained here:
http://wcdocs.woothemes.com/user-guide/product-variations/

Multiple Prices for a product in ubercart?

My product is a book. Each books will be sold in 3 formats.
1) Print
2) Online
3) Print + Online
All the three prices for each book will be different.
If i add the book as different product. I have to add all the content like Index, Author details etc. 3 times for each book.
Is there any way where i can allow admin to add 3 prices for each product and user can select any one of the price?
Thanks & Regards,
Satya.
Kevin is right, but there is a problem relating to the purely hardcopy version.
You have to attach a "Feature" to the product, which is the digital asset, so that when they buy they get access to the download. I believe this is for the whole product.
So, if you're wrapping them all in one product you can only offer: Online or Online and Print.
But really there is no reason to just get the print version since it doesn't cost you anything to throw in the online version.
No, you do not need to create 3 different products, unless the SKU is different.
You can add Attributes for this product, lets call it 'Format'. You can then add 3 options to that attribute, Print, Online, Print + Online. Then when you edit the product, you can adjust the pricing for those options (ex. Print +$10).
The cost is added to the base price of the product. So, you could make the book $0, and let these options drive the cost. Example Print $35, Online $25, Print and Online $40.
There are a couple of ways you could solve this but this is how I would probably do it.
satya
You can use a default general pattern for all products while building attributes and later for each product you can override it by editing the product.
For each product you can vary the range.
You can actually set the digital portion to be attribute dependent.
Create an attribute called "Format" and give it your three options (Print, Online, Print and Online) with the appropriate price settings for each.
Add this attribute to your product.
You should see an "adjustments" subtab on the edit page for the product now, and here you can adjust the SKU depending on the Format that is selected.
On the Features tab, you can then specify the adjusted SKU's for the digital download (you may need to add the download feature twice, once for each SKU that should have it)

Resources