Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Add-Ons By Simtech Development: Xml & Csv Import Rate Topic   - - - - -

 
  • teosu
  • Senior Member
  • Members
  • Join Date: 09-Oct 14
  • 640 posts

Posted 03 September 2019 - 02:31 PM #81

just try this, Create variation feature with one oproducts

 

and import shoes with variant number 40-41-42 etc.

 

first time its creating products its ok. second time its updating only main product another variants creating again



 
  • teosu
  • Senior Member
  • Members
  • Join Date: 09-Oct 14
  • 640 posts

Posted 10 September 2019 - 09:07 AM #82

Uncaught Error: Call to undefined function Tygh\Addons\SdXmlImport\Fields\fn_exim_parse_features() in VariationGroupCode.php



 
  • galtinbaeva
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 06-Dec 13
  • 3364 posts

Posted 12 September 2019 - 08:15 AM #83

just try this, Create variation feature with one oproducts

 

and import shoes with variant number 40-41-42 etc.

 

first time its creating products its ok. second time its updating only main product another variants creating again

 

Thank you. We have managed to reproduce the issue. Your solution could work but could lead to some other unexpected issues as code was commented. So we will try to find more correct way to fix this. We created a task for fixing and start working on it. You may read about changes on the addon page in the Changelog area or in our newsletters.

 

Uncaught Error: Call to undefined function Tygh\Addons\SdXmlImport\Fields\fn_exim_parse_features() in VariationGroupCode.php

 

 

This error also was reproduced and will be fixed in on of the future add-on updates.


Simtech Development | sales@simtechdev.com | www.simtechdev.com
CERTIFIED CS-CART PARTNER | LICENSES | DEVELOPMENT | ADD-ONS | DESIGN | UPGRADE

Google Analytics Enhanced Ecommerce - get advanced ecommerce analytics


 
  • galtinbaeva
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 06-Dec 13
  • 3364 posts

Posted 12 September 2019 - 08:23 AM #84

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

 

The solution you find could lead to updating wrong product while importing. So we will examine the issue to find another solution.


Simtech Development | sales@simtechdev.com | www.simtechdev.com
CERTIFIED CS-CART PARTNER | LICENSES | DEVELOPMENT | ADD-ONS | DESIGN | UPGRADE

Google Analytics Enhanced Ecommerce - get advanced ecommerce analytics


 
  • teosu
  • Senior Member
  • Members
  • Join Date: 09-Oct 14
  • 640 posts

Posted 12 September 2019 - 09:13 AM #85

yes that the point, have a lot of problems with variant products, i hope you will fix early.



 
  • teosu
  • Senior Member
  • Members
  • Join Date: 09-Oct 14
  • 640 posts

Posted 12 September 2019 - 02:02 PM #86

my offer is not need $repeating_products if product update, cs-cart can update with product_id and product_code,



 
  • teosu
  • Senior Member
  • Members
  • Join Date: 09-Oct 14
  • 640 posts

Posted 13 September 2019 - 07:05 AM #87

@galtinbaeva also please check category match, categories doesnt multi  match, its mean i am matchin a few categories but addon mathing only one, for each saving one match.



 
  • galtinbaeva
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 06-Dec 13
  • 3364 posts

Posted 19 September 2019 - 12:32 PM #88

yes that the point, have a lot of problems with variant products, i hope you will fix early.

I'm glad to inform you that we have released fixing of this issue in the new add-on version. 

 

also please check category match, categories doesnt multi  match, its mean i am matchin a few categories but addon mathing only one, for each saving one match.

 

We will also check and examine this issue.


Simtech Development | sales@simtechdev.com | www.simtechdev.com
CERTIFIED CS-CART PARTNER | LICENSES | DEVELOPMENT | ADD-ONS | DESIGN | UPGRADE

Google Analytics Enhanced Ecommerce - get advanced ecommerce analytics


 
  • teosu
  • Senior Member
  • Members
  • Join Date: 09-Oct 14
  • 640 posts

Posted 19 September 2019 - 01:14 PM #89

also fixed category match problem ?



 
  • galtinbaeva
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 06-Dec 13
  • 3364 posts

Posted 26 September 2019 - 11:02 AM #90

also fixed category match problem ?

We reproduced the issue with choosing categories and created a task for fixing. The issue is related to the bug in CS-Cart 4.10.3. After calling and closing the form for choosing the category, it is not not closed, but is hided, and when you re-open the form, the category id is determined incorrectly.

 

The fix for this bug will be released in the end of this sprint October, 2. 


Simtech Development | sales@simtechdev.com | www.simtechdev.com
CERTIFIED CS-CART PARTNER | LICENSES | DEVELOPMENT | ADD-ONS | DESIGN | UPGRADE

Google Analytics Enhanced Ecommerce - get advanced ecommerce analytics


 
  • teosu
  • Senior Member
  • Members
  • Join Date: 09-Oct 14
  • 640 posts

Posted 26 September 2019 - 11:08 AM #91

thnk you. i will report another bugs. if i catch



 
  • galtinbaeva
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 06-Dec 13
  • 3364 posts

Posted 09 October 2019 - 01:29 PM #92

thnk you. i will report another bugs. if i catch

 

You are always welcome!

 

I really appreciate your help in findngs bugs.


Simtech Development | sales@simtechdev.com | www.simtechdev.com
CERTIFIED CS-CART PARTNER | LICENSES | DEVELOPMENT | ADD-ONS | DESIGN | UPGRADE

Google Analytics Enhanced Ecommerce - get advanced ecommerce analytics