Add-Ons By Simtech Development: Xml & Csv Import

where is the variation update ?

past a month and you are still doesnt update addon for variation ! good after sale support thanks !

where is the variation update ?

past a month and you are still doesnt update addon for variation ! good after sale support thanks !

Hello,

Good news! Variations adaptation is ready and is planned to be released this week.

Mean tomorrow?

how its works ? i select variation group code in field list. but its not group products ?

OMG i check the codes you want.

Product type

Parent product id

Variation options

Variation group code

Variation set as default

we have only group code, hard to find another ones in supplier xml's what can we do ?

addon must be set if have variation group code. first item is default parent product is this. also prodyct type is V if isset. if not normal product.

can some one can explain how its works ! it doesn import variaton group !

I know it is a topic about third-party add-on, but here is an article that explains what info CS-Cart needs to actually import products as new variations 2.0: https://docs.cs-cart.com/latest/user_guide/manage_products/import_export/variation_import.html. Maybe it can help.

thank you ikoshin i will leave use this addon and turn again cs-cart stock import . this really un usable for complex products

Hello,

Good news! Variations adaptation is ready and is planned to be released this week.

still you dont explain how works your variaton group. cs-cart default advanced import addon working with only gorup code ! or your addon wont create variaton group codes ?

Ok i totally remove the addon and re-install , begin worked variation group, now an have big problem, all time creating new products doesnt update already created products?

thank you ikoshin i will leave use this addon and turn again cs-cart stock import . this really un usable for complex products

can u point me to this addon please

still you dont explain how works your variaton group. cs-cart default advanced import addon working with only gorup code ! or your addon wont create variaton group codes ?

Hello,

These fields are enough to import variations - product name/product code depending on the store, category, features for variations and variation group code. Product type and other fields that you mentioned except variation group code are not mandatory.

Hi galtinbaeva, its begin work gorup products with variation not problem. can u run second time ?

its mine first RUN

New objects - 19;
Updated objects - 0;
Skipped objects - 0;
Total - 19.

its second run only price quantitiy fields are select for update

New objects - 19;
Updated objects - 0;
Skipped objects - 0;
Total - 19.

doesnt update first imported products just adding again new 19 product ?

extra information: i am import for "Common Product" Cs-cart version is MVE Plus 4.10.3,

extra tested with vendor account. same doesnt update all time import new products

i found your bug

i dump your

Tygh\Addons\SdXmlImport\AType.php
getSqlSelect function

result is

    Array
    (
        [join] => Array
            (
            )
    [conditions] => Array
        (
            [fake] => 1=1
            [company_id] => p.company_id = 14
            [product_type] => p.product_type IN ('', 'P', 'C', 'V')
            [product_code] => p.product_code= 2300000002423
            [variation_group_code] => p.product_id IN ('')
        )

)

[variation_group_code] => p.product_id IN ('')

here is the problem.

i comment this line in Tygh\Addons\SdXmlImport\Fields\VariationGroupCode.php primary function

        //$sql_select['conditions']['variation_group_code'] = db_quote('p.product_id IN (?n)', $repeating_products);

$repeating_products products doesnt fill products

addon begin udpate imported products

Hi galtinbaeva, its begin work gorup products with variation not problem. can u run second time ?

its mine first RUN

New objects - 19;
Updated objects - 0;
Skipped objects - 0;
Total - 19.

its second run only price quantitiy fields are select for update

New objects - 19;
Updated objects - 0;
Skipped objects - 0;
Total - 19.

doesnt update first imported products just adding again new 19 product ?

i found your bug

i dump your

Tygh\Addons\SdXmlImport\AType.php
getSqlSelect function

result is

    Array
    (
        [join] => Array
            (
            )
    [conditions] => Array
        (
            [fake] => 1=1
            [company_id] => p.company_id = 14
            [product_type] => p.product_type IN ('', 'P', 'C', 'V')
            [product_code] => p.product_code= 2300000002423
            [variation_group_code] => p.product_id IN ('')
        )

)

[variation_group_code] => p.product_id IN ('')

here is the problem.

i comment this line in Tygh\Addons\SdXmlImport\Fields\VariationGroupCode.php primary function

        //$sql_select['conditions']['variation_group_code'] = db_quote('p.product_id IN (?n)', $repeating_products);

$repeating_products products doesnt fill products

addon begin udpate imported products

Thank you, we need to examine this situation. We will send the results of examination in this topic.

also next runs. just update main products, product variand products creating again, without variant group

any update ?

any update ?

Hello. Unfortunately, we couldn't reproduce the issue on the default software. Could you please clarify some points for me?

Please describe what fields do you import, if possible, please provide us with your import file.

Also, please, clarify some points about this output

Array
(
[join] => Array
(
)

[conditions] => Array
(
[fake] => 1=1
[company_id] => p.company_id = 14
[product_type] => p.product_type IN ('', 'P', 'C', 'V')
[product_code] => p.product_code= 2300000002423
[variation_group_code] => p.product_id IN ('')
)

)

Do you specify variation_group_code field in import settings? For some reason this string [variation_group_code] => p.product_id IN ('') doesn't have a group code. Does this fisld is filled in the import file?