X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   General questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=66)
-   -   How to link product attribute and variantSKU (https://forum.x-cart.com/showthread.php?t=73313)

Hajime Yamanaka 12-21-2015 10:06 AM

How to link product attribute and variantSKU
 
Hello.
How to link product attribute and variantSKU?
For example, I sell Jelly beans bottle. This product have color option.
White
Black
Yellow
This color option can import by product-attribute.csv
http://world-darts.com/images/product-attributes.png

But I don't know how to link variantSKU
http://world-darts.com/images/product.png

Help me!

qualiteam 01-11-2016 03:00 AM

Re: How to link product attribute and variantSKU
 
Did you enable product variants for the product? When editing a product, you are to go to Variants tab, choose the attribute as the base for variants and then you will be able to configure for each variant its own SKU.

Hajime Yamanaka 01-11-2016 04:49 AM

Re: How to link product attribute and variantSKU
 
Thank you for advice.
I don't want control GUI. Because I must set many variant in products. So I want how to "import" variants relationship to product.

I cleared this problem my self.
For example, I have "Jelly beans bottle" and it have need variant colors.

It write in products.csv. And need next colum
sku must
name or name_en must
Color (field:product) must.It's very important. It's key of variant.
variantSKU optional
variantLevel must

I thought variant key is "variantSKU". But variantSKU can use default of sku. (See set variant screen. This box wrote default if empty.)
X-Cart use key by variant name.

Thanks.


All times are GMT -8. The time now is 09:18 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.