Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Product variant images bulk upload problem

 
Reply
   X-Cart forums > X-Cart 5 > General questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 02-28-2017, 03:59 PM
 
rct rct is offline
 

Advanced Member
  
Join Date: Dec 2004
Posts: 89
 

Default Product variant images bulk upload problem

Working on the x-5 business using local server and have the product variant mod activate. Trying to upload the images to the product variant and followed the import instructions. The import function will run however, it will not load the image in the variant attributes.

Import to the products.csv

sku,name_en,variantImage,variantImageAlt
G123,G123 Gildan 9.3 oz. Ultra Blend 50/50 Open-Bottom Sweatpants,\var\images\product_variant\34_f_fm.jpg ,White

Is that something that I did wrong?

Was told by the x-cart sales team that x-5.3.+ supports product variants image bulk upload.

Please advice. Thanks!
__________________
JOHN - v.5.3.X biz, X-payment 3.X
Reply With Quote
  #2  
Old 03-09-2017, 04:22 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Product variant images bulk upload problem

Do your import file has 4 columns only? If so, how would XC5 tell which variant a row represents? As far as I see your file has no any information on variants.

Try to create a product with variants, upload images manually and then export it ad use the exported file as a sample.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #3  
Old 03-09-2017, 11:43 AM
 
rct rct is offline
 

Advanced Member
  
Join Date: Dec 2004
Posts: 89
 

Default Re: Product variant images bulk upload problem

Manually added the file ( see maunallyPV.csv) and followed the same format, even added the variantsku (see products.csv) but it will not even uploaded the variantsku nor the jpg. Although it will tell you that it has been imported, updated. And pls see the error from the log below.Please help.

<?php die(1); ?>
[10-Mar-2017 10:48:37] Error (code: 0): The EntityManager is closed.
Server API: apache2handler;
Request method: POST;
URI: /admin.php?target=event_task
Attached Files
File Type: csv products.csv (1.8 KB, 220 views)
File Type: csv manualPV.csv (2.1 KB, 225 views)
__________________
JOHN - v.5.3.X biz, X-payment 3.X
Reply With Quote
  #4  
Old 03-10-2017, 11:27 AM
 
rct rct is offline
 

Advanced Member
  
Join Date: Dec 2004
Posts: 89
 

Default Re: Product variant images bulk upload problem

Error code from the log
Attached Files
File Type: php php_errors.log.2017-03-10.php (26.2 KB, 100 views)
__________________
JOHN - v.5.3.X biz, X-payment 3.X
Reply With Quote
  #5  
Old 03-14-2017, 10:35 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Product variant images bulk upload problem

It looks like an error happens when you try to import images.

Try to create a local copy of your website, then disable Color Swatches module there and import images again. Does this helps? If so, it may be a bug in Color Swatches module.

Do not try doing this on your live XC5 installation as this may corrupt your database (some data may get lost when you re-enable Color Swatches back). At least create a full backup (files plus database) before disabling the module and importing any data.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > General questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 04:46 PM.

   

 
X-Cart forums © 2001-2020