1. iMbroidr
  2. RO CSVI
  3. Wednesday, 26 April 2017
  4.  Subscribe via email
I need to replace most of my product images after a migration from Woocommerce to Virtuemart for display reasons.

I've tried uploading the replacement images (same name, different size) and synchronizing the media but that didn't change anything. I then reimported the image info with csvi but all that did was add the image to the old one as a secondary image and I had to manually delete the first image form each product.

Is there a way to delete the old image and add the new one with csvi? Or somehow update the old image with the new one without having to manually open each product and delete the old image?

Ideally, I'd like to replace all the old images with reformatted ones with a new name since the migration appended some unwanted text onto each image. So if there's a way to delete or at least disconnect the image from the product, that would be great. I'd be satisfied if I could just replace the images with an updated, same name one.

And thanks so much for all the help so far! Things are shaping up nicely and the site is now live.

CSVI 7.0.1, VM3.0.18 on Joomla 3.6.5 PHP 5.4.40

Lindee
Accepted Answer Pending Moderation
Hello Lindee,
To remove the images already set to a product, you can set Delete image relations option to yes in your import template settings and on images tab. This will remove all images available for a product and import the new images from import your file. One other way is you can manually empty the #___virtuemart_medias and #__virtuemart_product_medias tables from your phpmyadmin and then do a fresh import of images. Make sure you have a backup of these tables before you empty them.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Hi Tharuna,

Almost works. Images are replaced but on the images tab in products, "published" is not checked so the image is not displayed on the front end.

The product itself is set to published, the images are published in Media., and I've included Published in the import file. (See attached screen shot).

I found this older post /forum?view=topic&catid=44&id=33161 but it looks like if the product is published then the image should be too. What am I missing here?

Thanks!

Lindee
Attachments (2)
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hello Lindee,
We introduced a new field media_published so image published status is not dependent on product published. You should use media_published field with value set to 1 or Yes or Y in your import for publishing the images. The use of this field is also explained in import product images document.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
Thanks so much! I knew it had to be something simple!

Too bad I can only give you a 100 for support on the ratings!

Lindee
  1. more than a month ago
  2. RO CSVI
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!