How can I import multiple images from this xml structure?
<images>
<large>
<image url="http://gunfire.pl/data/gfx/pictures/large/1/7/1132504871_1.jpg" date_changed="2013-08-26 00:00:00" hash="6e227059548725e24f9825fe7e0396e8"/>
<image url="http://gunfire.pl/data/gfx/pictures/large/1/7/1132504871_2.jpg" date_changed="2013-08-26 00:00:00" hash="afa43c51b6cfdc9613d41668a410a60c"/>
</large>
</images>
- comercial@pandorasoft.com
- RO CSVI
- Tuesday, 21 February 2017
- Subscribe via email
0
Accepted Answer
Pending Moderation
Hello,
You can use CSVI combine plugin to create a rule to combine multiple images with | symbol. This example is also explained in Import XML document under ADDING THE FIELDS section.
You can use CSVI combine plugin to create a rule to combine multiple images with | symbol. This example is also explained in Import XML document under ADDING THE FIELDS section.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
I do not know how to do it, I send you my files so you can see how I'm trying. csvi_templates_20170223.xml
com_csvi.log.24.zip
Attachments (2)
Accepted Answer
Pending Moderation
The number of images is not fixed is variable, I do not know if that influences
<images>
<large>
<image url="http://gunfire.pl/data/gfx/pictures/large/1/4/1133208741_2.jpg" date_changed="2011-12-15 00:00:00" hash="db36039227b8b51c9fbd4e88a253fc09"/>
<image url="http://gunfire.pl/data/gfx/pictures/large/1/4/1133208741_1.jpg" date_changed="2011-12-15 00:00:00" hash="aceb37bbca2551dca16f1149272bf699"/>
<image url="http://gunfire.pl/data/gfx/pictures/large/1/4/1133208741_6.jpg" date_changed="2011-12-15 00:00:00" hash="ce0b7bcecb8e754c7c695a9a3824420f"/>
<image url="http://gunfire.pl/data/gfx/pictures/large/1/4/1133208741_7.jpg" date_changed="2011-12-15 00:00:00" hash="b8f5bc2080bca3062017e572fe282278"/>
<image url="http://gunfire.pl/data/gfx/pictures/large/1/4/1133208741_3.jpg" date_changed="2011-12-15 00:00:00" hash="51ce07e6a77e9d849a881719af307c3a"/>
<image url="http://gunfire.pl/data/gfx/pictures/large/1/4/1133208741_8.jpg" date_changed="2011-12-15 00:00:00" hash="81e306a3a786983010a03f9dcccbc481"/>
<image url="http://gunfire.pl/data/gfx/pictures/large/1/4/1133208741_9.jpg" date_changed="2011-12-15 00:00:00" hash="70be6a712a034e9ff7799b3278eb610e"/>
<image url="http://gunfire.pl/data/gfx/pictures/large/1/4/1133208741_4.jpg" date_changed="2011-12-15 00:00:00" hash="11b57523d01733254e0e5c13acb93e2d"/>
<image url="http://gunfire.pl/data/gfx/pictures/large/1/4/1133208741_5.jpg" date_changed="2011-12-15 00:00:00" hash="853cfa83d09f4d7dfb7fb7c0151b339b"/>
<image url="http://gunfire.pl/data/gfx/pictures/large/1/4/1133208741_10.jpg" date_changed="2011-12-15 00:00:00" hash="2b2ba313d3a9539971614dc3a901b905"/></large>
</images>
<images>
<large>
<image url="http://gunfire.pl/data/gfx/pictures/large/1/4/1133208741_2.jpg" date_changed="2011-12-15 00:00:00" hash="db36039227b8b51c9fbd4e88a253fc09"/>
<image url="http://gunfire.pl/data/gfx/pictures/large/1/4/1133208741_1.jpg" date_changed="2011-12-15 00:00:00" hash="aceb37bbca2551dca16f1149272bf699"/>
<image url="http://gunfire.pl/data/gfx/pictures/large/1/4/1133208741_6.jpg" date_changed="2011-12-15 00:00:00" hash="ce0b7bcecb8e754c7c695a9a3824420f"/>
<image url="http://gunfire.pl/data/gfx/pictures/large/1/4/1133208741_7.jpg" date_changed="2011-12-15 00:00:00" hash="b8f5bc2080bca3062017e572fe282278"/>
<image url="http://gunfire.pl/data/gfx/pictures/large/1/4/1133208741_3.jpg" date_changed="2011-12-15 00:00:00" hash="51ce07e6a77e9d849a881719af307c3a"/>
<image url="http://gunfire.pl/data/gfx/pictures/large/1/4/1133208741_8.jpg" date_changed="2011-12-15 00:00:00" hash="81e306a3a786983010a03f9dcccbc481"/>
<image url="http://gunfire.pl/data/gfx/pictures/large/1/4/1133208741_9.jpg" date_changed="2011-12-15 00:00:00" hash="70be6a712a034e9ff7799b3278eb610e"/>
<image url="http://gunfire.pl/data/gfx/pictures/large/1/4/1133208741_4.jpg" date_changed="2011-12-15 00:00:00" hash="11b57523d01733254e0e5c13acb93e2d"/>
<image url="http://gunfire.pl/data/gfx/pictures/large/1/4/1133208741_5.jpg" date_changed="2011-12-15 00:00:00" hash="853cfa83d09f4d7dfb7fb7c0151b339b"/>
<image url="http://gunfire.pl/data/gfx/pictures/large/1/4/1133208741_10.jpg" date_changed="2011-12-15 00:00:00" hash="2b2ba313d3a9539971614dc3a901b905"/></large>
</images>
Accepted Answer
Pending Moderation
Hello,
In your template you have added one rule for each combine field which is not needed. Remove the rules from all the combine fields. On rules page, you just need one rule and with your source field to be file_url,combine,combine,combine,combine,combine, Target field should be file_url and combine character is | . Save the rule. Apply this rule only on file_url field and then import. That should do it.
Yes, that has influence as we dont know how many combine fields to be added for the combine rule to process the images. Right now as per your template you have added 5 combine fields. Is there any maximum number of images? If so you can try adding so many combine fields to the template fields and in rule. If there is no value for the combine field, it would be processed as empty.
I do not know how to do it, I send you my files so you can see how I'm trying.
In your template you have added one rule for each combine field which is not needed. Remove the rules from all the combine fields. On rules page, you just need one rule and with your source field to be file_url,combine,combine,combine,combine,combine, Target field should be file_url and combine character is | . Save the rule. Apply this rule only on file_url field and then import. That should do it.
The number of images is not fixed is variable, I do not know if that influences
Yes, that has influence as we dont know how many combine fields to be added for the combine rule to process the images. Right now as per your template you have added 5 combine fields. Is there any maximum number of images? If so you can try adding so many combine fields to the template fields and in rule. If there is no value for the combine field, it would be processed as empty.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
I just modified the template and it does not work for me, I do not know what I do wrong. csvi_templates_20170223_modificado.xml
Attachments (1)
Accepted Answer
Pending Moderation
Hello,
Can you also post the sample of your XML import file?
Can you also post the sample of your XML import file?
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Hello,
Thank you for posting the required information. We will look into this and update on what we find.
Thank you for posting the required information. We will look into this and update on what we find.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Hello,
To combine your images you have to specify them as often as they exist in your XML file. In the attached images you see I added 3 fields but your file has something like 11 fields, so you will have to do this for 11 fields. If there are other products with more images, add as many as the maximum there is.
You should then be able to import your multiple images.
To combine your images you have to specify them as often as they exist in your XML file. In the attached images you see I added 3 fields but your file has something like 11 fields, so you will have to do this for 11 fields. If there are other products with more images, add as many as the maximum there is.
You should then be able to import your multiple images.
Attachments (2)
Kind regards,
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Hello,
Glad to know that your issues are solved. Would be great if you can give us a review on Joomla Extension Directory.
Glad to know that your issues are solved. Would be great if you can give us a review on Joomla Extension Directory.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »