1. soura123
  2. RO CSVI
  3. Sunday, 19 January 2025
  4.  Subscribe via email
hello
i hae managed to add a template to import values of each custom to each product
but the custom has firstly be already there so that the values to assign to products
i have trouble though to import customs
my xml is like this
<features_titles>
Τύπος~Ισχύς (HP)~Αναρρόφηση (lt/min)~Πίεση (bar/psi)~Βαλβίδα Αντεπιστροφής~Συνιστώμενο Αεροφυλάκιο (Lt)~Ελαστικός Σωλήνας~Διαστάσεις Συσκ.ΜxΠxΥ (mm)~Βάρος Συσκευασίας (kg)~Εγγύηση
</features_titles>
<features_values>
F/5,5~5,5~750~12~1" x 3/4"~500~3/4"~850x480x430~76~12 μήνες
</features_values>
<features_pl>
customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall
</features_pl>
so i want on one import to add all customs but it creates one with title:
Τύπος~Ισχύς (HP)~Αναρρόφηση (lt/min)~Πίεση (bar/psi)~Βαλβίδα Αντεπιστροφής~Συνιστώμενο Αεροφυλάκιο (Lt)~Ελαστικός Σωλήνας~Διαστάσεις Συσκ.ΜxΠxΥ (mm)~Βάρος Συσκευασίας (kg)~Εγγύηση
instead making each custom with the seperation ~
any ideas please?
Accepted Answer Pending Moderation
i will give that a try
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Hello,
Please post import debug log and template XML to check. Also post sample of your import file. To get the debug log see How to collect debug information? document. To get the template XML file from RO CSVI templates list page select the import template and click on Backup templates button. Post the downloaded XML file.
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. # 2
Accepted Answer Pending Moderation
if the customfield is created it imports correctly, the problem is that howto create customfields in that import
xml structure is like this:

<features_titles>
Οίκος~Τύπoς~Τύπος Αντλίας~Ισχύς Κινητήρα (Hp)~Ισχύς (Watt)~Τάση (Volt)~Απορρόφηση (A)~Στόμιο εισαγωγής (Inch)~Στόμιο εξαγωγής (Inch)~Απόδοση Max (M)~Παροχή Max (m3/h)~Υλικό κατασκευής σώματος~Υλικό κατασκευής φτερωτής~Αυτόματη αναρρόφηση (M)~Μέτρα αναρρόφησης (M)~Θερμοκρασία υγρού (°C)~Θερμοκρασία περιβάλλοντος (°C)~Πίεση λειτουργίας max (bar)~Μήκος προιόντος (cm)~Πλάτος προιόντος (cm)~Ύψος προιόντος (cm)
</features_titles>
<features_values>
PEDROLLO~PK 60~Περιφεριακή~0,4~300~380~1,15~1''~1''~40,00~2,40~Χυτοσίδηρος~Μπρούντζος~Όχι~8~-10°C έως +60°C~50~6~20,80~11,80~14,50
</features_values>
<features_pl>
customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall
</features_pl>
Attachments (2)
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
i attach wrong template
this is the correct that i want to import mass to create custom fields before the above to assign values to each customfield
Attachments (2)
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
Hello,
To import custom fields you should use VirtueMart custom fields import template and this template does not import multiple values separated by ~. It can take only one value in custom_title field. RO CSVI cannot do any processing on custom values separated by ~ so you should be making import file in needed format using custom script before running the import.
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. # 5
Accepted Answer Pending Moderation
ok and in this structure:

<features_titles>
Οίκος~Τύπoς~Τύπος Αντλίας~Ισχύς Κινητήρα (Hp)~Ισχύς (Watt)~Τάση (Volt)~Απορρόφηση (A)~Στόμιο εισαγωγής (Inch)~Στόμιο εξαγωγής (Inch)~Απόδοση Max (M)~Παροχή Max (m3/h)~Υλικό κατασκευής σώματος~Υλικό κατασκευής φτερωτής~Αυτόματη αναρρόφηση (M)~Μέτρα αναρρόφησης (M)~Θερμοκρασία υγρού (°C)~Θερμοκρασία περιβάλλοντος (°C)~Πίεση λειτουργίας max (bar)~Μήκος προιόντος (cm)~Πλάτος προιόντος (cm)~Ύψος προιόντος (cm)
</features_titles>
<features_values>
PEDROLLO~PK 60~Περιφεριακή~0,4~300~380~1,15~1''~1''~40,00~2,40~Χυτοσίδηρος~Μπρούντζος~Όχι~8~-10°C έως +60°C~50~6~20,80~11,80~14,50
</features_values>
<features_pl>


or i have this too:


<attributes>
<attribute>
<title>Οίκος</title>
<value>PEDROLLO</value>
</attribute>
<attribute>
<title>Τύπoς</title>
<value>PKm 60</value>
</attribute>
<attribute>
<title>Τύπος Αντλίας</title>
<value>Περιφεριακή</value>
</attribute>
<attribute>
<title>Ισχύς Κινητήρα (Hp)</title>
<value>0,4</value>
</attribute>
<attribute>
<title>Ισχύς (Watt)</title>
<value>300</value>
</attribute>
<attribute>
<title>Τάση (Volt)</title>
<value>220</value>
</attribute>
<attribute>
<title>Απορρόφηση (A)</title>
<value>2,3</value>
</attribute>
<attribute>
<title>Στόμιο εισαγωγής (Inch)</title>
<value>1''</value>
</attribute>
<attribute>
<title>Στόμιο εξαγωγής (Inch)</title>
<value>1''</value>
</attribute>
<attribute>
<title>Απόδοση Max (M)</title>
<value>40,00</value>
</attribute>
<attribute>
<title>Παροχή Max (m3/h)</title>
<value>2,4</value>
</attribute>
<attribute>
<title>Υλικό κατασκευής σώματος</title>
<value>Χυτοσίδηρος</value>
</attribute>
<attribute>
<title>Υλικό κατασκευής φτερωτής</title>
<value>Μπρούντζος</value>
</attribute>
<attribute>
<title>Αυτόματη αναρρόφηση (M)</title>
<value>Όχι</value>
</attribute>
<attribute>
<title>Μέτρα αναρρόφησης (M)</title>
<value>8</value>
</attribute>
<attribute>
<title>Θερμοκρασία υγρού (°C)</title>
<value>-10°C έως +60°C</value>
</attribute>
<attribute>
<title>Θερμοκρασία περιβάλλοντος (°C)</title>
<value>50</value>
</attribute>
<attribute>
<title>Πίεση λειτουργίας max (bar)</title>
<value>6</value>
</attribute>
<attribute>
<title>Μήκος προιόντος (cm)</title>
<value>20,80</value>
</attribute>
<attribute>
<title>Πλάτος προιόντος (cm)</title>
<value>11,80</value>
</attribute>
<attribute>
<title>Ύψος προιόντος (cm)</title>
<value>14,50</value>
</attribute>
</attributes>


which one is better to use to import the custom fields???
and how
  1. more than a month ago
  2. RO CSVI
  3. # 6
Accepted Answer Pending Moderation
Hello,
Below XML with attribute node is good to use to import custom fields. You have to map title node to custom_title field. The other needed fields are plugin_name, custom_element, custom_value and field_type you can set below mentioned values as default in template fields for these fields. Try import and let me know.

plugin_name - Custom Fields for All (Check the name in Joomla Plugins page for Custom fields for all plugin)
custom_element - customfieldsforall
custom_value - customfieldsforall
field_type - E


<attributes>
<attribute>
<title>Οίκος</title>
<value>PEDROLLO</value>
</attribute>
<attribute>
<title>Τύπoς</title>
<value>PKm 60</value>
</attribute>
<attribute>
<title>Τύπος Αντλίας</title>
<value>Περιφεριακή</value>
</attribute>
<attribute>
<title>Ισχύς Κινητήρα (Hp)</title>
<value>0,4</value>
</attribute>
<attribute>
<title>Ισχύς (Watt)</title>
<value>300</value>
</attribute>
<attribute>
<title>Τάση (Volt)</title>
<value>220</value>
</attribute>
<attribute>
<title>Απορρόφηση (A)</title>
<value>2,3</value>
</attribute>
<attribute>
<title>Στόμιο εισαγωγής (Inch)</title>
<value>1''</value>
</attribute>
<attribute>
<title>Στόμιο εξαγωγής (Inch)</title>
<value>1''</value>
</attribute>
<attribute>
<title>Απόδοση Max (M)</title>
<value>40,00</value>
</attribute>
<attribute>
<title>Παροχή Max (m3/h)</title>
<value>2,4</value>
</attribute>
<attribute>
<title>Υλικό κατασκευής σώματος</title>
<value>Χυτοσίδηρος</value>
</attribute>
<attribute>
<title>Υλικό κατασκευής φτερωτής</title>
<value>Μπρούντζος</value>
</attribute>
<attribute>
<title>Αυτόματη αναρρόφηση (M)</title>
<value>Όχι</value>
</attribute>
<attribute>
<title>Μέτρα αναρρόφησης (M)</title>
<value>8</value>
</attribute>
<attribute>
<title>Θερμοκρασία υγρού (°C)</title>
<value>-10°C έως +60°C</value>
</attribute>
<attribute>
<title>Θερμοκρασία περιβάλλοντος (°C)</title>
<value>50</value>
</attribute>
<attribute>
<title>Πίεση λειτουργίας max (bar)</title>
<value>6</value>
</attribute>
<attribute>
<title>Μήκος προιόντος (cm)</title>
<value>20,80</value>
</attribute>
<attribute>
<title>Πλάτος προιόντος (cm)</title>
<value>11,80</value>
</attribute>
<attribute>
<title>Ύψος προιόντος (cm)</title>
<value>14,50</value>
</attribute>
</attributes>
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. # 7
Accepted Answer Pending Moderation
i have done this
and i have made 20 templates with skip each time for 30 times
my question is
it has to be a better way in one import to import all custofields
  1. more than a month ago
  2. RO CSVI
  3. # 8
Accepted Answer Pending Moderation
Hello,
it has to be a better way in one import to import all custofields

As of now using Skip field with 20 templates is the better way to import custom fields with complicated XML structure you have. A more better solution will be to ask vendor to provide and XML file with each name as individual node instead of having all names in one node separated by ~. That way you can import all custom fields in one import template.
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. # 9
Accepted Answer Pending Moderation
i have that power to ask a customize structure
give an example how the optimized structure will be
and how that structure will be import customfields in one import
thanks
  1. more than a month ago
  2. RO CSVI
  3. # 10
Accepted Answer Pending Moderation
Hello,
You can ask for custom fields as separate import file with structure below. As of now you have attributes node inside product data and so you need to use Skip field but if you can get it as individual file with all custom fields under one attributes node then you can map custom_title to attribute/title field. That becomes each individual record to import. Let me know if you have any more questions.


<attributes>
<attribute>
<title>Οίκος</title>
<value>PEDROLLO</value>
</attribute>
<attribute>
<title>Τύπoς</title>
<value>PKm 60</value>
</attribute>
<attribute>
<title>Τύπος Αντλίας</title>
<value>Περιφεριακή</value>
</attribute>
<attribute>
<title>Ισχύς Κινητήρα (Hp)</title>
<value>0,4</value>
</attribute>
<attribute>
<title>Ισχύς (Watt)</title>
<value>300</value>
</attribute>
<attribute>
<title>Τάση (Volt)</title>
<value>220</value>
</attribute>
<attribute>
<title>Απορρόφηση (A)</title>
<value>2,3</value>
</attribute>
<attribute>
<title>Στόμιο εισαγωγής (Inch)</title>
<value>1''</value>
</attribute>
<attribute>
<title>Στόμιο εξαγωγής (Inch)</title>
<value>1''</value>
</attribute>
<attribute>
<title>Απόδοση Max (M)</title>
<value>40,00</value>
</attribute>
<attribute>
<title>Παροχή Max (m3/h)</title>
<value>2,4</value>
</attribute>
<attribute>
<title>Υλικό κατασκευής σώματος</title>
<value>Χυτοσίδηρος</value>
</attribute>
<attribute>
<title>Υλικό κατασκευής φτερωτής</title>
<value>Μπρούντζος</value>
</attribute>
<attribute>
<title>Αυτόματη αναρρόφηση (M)</title>
<value>Όχι</value>
</attribute>
<attribute>
<title>Μέτρα αναρρόφησης (M)</title>
<value>8</value>
</attribute>
<attribute>
<title>Θερμοκρασία υγρού (°C)</title>
<value>-10°C έως +60°C</value>
</attribute>
<attribute>
<title>Θερμοκρασία περιβάλλοντος (°C)</title>
<value>50</value>
</attribute>
<attribute>
<title>Πίεση λειτουργίας max (bar)</title>
<value>6</value>
</attribute>
<attribute>
<title>Μήκος προιόντος (cm)</title>
<value>20,80</value>
</attribute>
<attribute>
<title>Πλάτος προιόντος (cm)</title>
<value>11,80</value>
</attribute>
<attribute>
<title>Ύψος προιόντος (cm)</title>
<value>14,50</value>
</attribute>
</attributes>
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. # 11
Accepted Answer Pending Moderation
this is how the structure is now

<product>
<code>100100</code>
<name>ΗΛΕΚΤΡΑΝΤΛΙΑ PEDROLLO PKm 60</name>
<retailPrice>0,00</retailPrice>
<wholesalePrice>123,30</wholesalePrice>
<brochure>0</brochure>
<availableStock>3</availableStock>
<measureUnit>ΤΕΜ</measureUnit>
<level1_category>ΑΝΤΛΙΕΣ ΕΠΙΦΑΝΕΙΑΣ-ΠΙΕΣΤΙΚΑ</level1_category>
<level2_category>ΑΝΤΛΙΕΣ ΕΠΙΦΑΝΕΙΑΣ</level2_category>
<comments>
Κατάλληλη για χρήση σε καθαρό νερό, χωρίς χημικά και διαβρωτικά στοιχεία που μπορεί να επιδράσουν στα υλικά κατασκευής της αντλίας. Λόγω της εύκολης , οικονομικής και αξιόπιστης χρήσης, είναι ιδανική για οικιακή χρήση, είτε με μικρά δοχεία πιέσεως είτε για πότισμα. Η εγκατάσταση πρέπει να γίνεται σε καλά αεριζόμενους χώρους, προστατευμένους από ακραίες καιρικές συνθήκες.
</comments>
<published>1</published>
<availability>Παράδοση 1 έως 3 ημέρες</availability>
<features>
<feature>
<title>Οίκος</title>
<value>PEDROLLO</value>
</feature>
<feature>
<title>Τύπoς</title>
<value>PKm 60</value>
</feature>
<feature>
<title>Τύπος Αντλίας</title>
<value>Περιφεριακή</value>
</feature>
<feature>
<title>Ισχύς Κινητήρα (Hp)</title>
<value>0,4</value>
</feature>
<feature>
<title>Ισχύς (Watt)</title>
<value>300</value>
</feature>
<feature>
<title>Τάση (Volt)</title>
<value>220</value>
</feature>
<feature>
<title>Απορρόφηση (A)</title>
<value>2,3</value>
</feature>
<feature>
<title>Στόμιο εισαγωγής (Inch)</title>
<value>1''</value>
</feature>
<feature>
<title>Στόμιο εξαγωγής (Inch)</title>
<value>1''</value>
</feature>
<feature>
<title>Απόδοση Max (M)</title>
<value>40,00</value>
</feature>
<feature>
<title>Παροχή Max (m3/h)</title>
<value>2,4</value>
</feature>
<feature>
<title>Υλικό κατασκευής σώματος</title>
<value>Χυτοσίδηρος</value>
</feature>
<feature>
<title>Υλικό κατασκευής φτερωτής</title>
<value>Μπρούντζος</value>
</feature>
<feature>
<title>Αυτόματη αναρρόφηση (M)</title>
<value>Όχι</value>
</feature>
<feature>
<title>Μέτρα αναρρόφησης (M)</title>
<value>8</value>
</feature>
<feature>
<title>Θερμοκρασία υγρού (°C)</title>
<value>-10°C έως +60°C</value>
</feature>
<feature>
<title>Θερμοκρασία περιβάλλοντος (°C)</title>
<value>50</value>
</feature>
<feature>
<title>Πίεση λειτουργίας max (bar)</title>
<value>6</value>
</feature>
<feature>
<title>Μήκος προιόντος (cm)</title>
<value>20,80</value>
</feature>
<feature>
<title>Πλάτος προιόντος (cm)</title>
<value>11,80</value>
</feature>
<feature>
<title>Ύψος προιόντος (cm)</title>
<value>14,50</value>
</feature>
</features>
<manufacturer>PEDROLLO|BAZAKAS.B2B</manufacturer>
<features_titles>
Οίκος~Τύπoς~Τύπος Αντλίας~Ισχύς Κινητήρα (Hp)~Ισχύς (Watt)~Τάση (Volt)~Απορρόφηση (A)~Στόμιο εισαγωγής (Inch)~Στόμιο εξαγωγής (Inch)~Απόδοση Max (M)~Παροχή Max (m3/h)~Υλικό κατασκευής σώματος~Υλικό κατασκευής φτερωτής~Αυτόματη αναρρόφηση (M)~Μέτρα αναρρόφησης (M)~Θερμοκρασία υγρού (°C)~Θερμοκρασία περιβάλλοντος (°C)~Πίεση λειτουργίας max (bar)~Μήκος προιόντος (cm)~Πλάτος προιόντος (cm)~Ύψος προιόντος (cm)
</features_titles>
<features_values>
PEDROLLO~PKm 60~Περιφεριακή~0,4~300~220~2,3~1''~1''~40,00~2,4~Χυτοσίδηρος~Μπρούντζος~Όχι~8~-10°C έως +60°C~50~6~20,80~11,80~14,50
</features_values>
<features_pl>
customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall~customfieldsforall
</features_pl>
<images>
https://bazakas.gr/CS/Media/images/full/337dd2b921714c8c8ef23d94cef6261b.jpg|https://bazakas.gr/CS/Media/images/full/36afea6c4c2c4febbffd6841821f56ed/fterwth-pk.jpg|https://bazakas.gr/CS/Media/images/full/36afea6c4c2c4febbffd6841821f56ed/1.jpg
</images>
</product>


i dont see any difference from what you send
as you see i have make to have it both ways
so you say if a map custom_title with features/feature/title
it will import all customfield with one import?
  1. more than a month ago
  2. RO CSVI
  3. # 12
Accepted Answer Pending Moderation
Hello,
You have <feature> node inside <product> node so here <product> node is the parent node and <feature> is a child node. In this case you need to use Skip field to import each child <feature> node. I am asking to make individual file with only <feature> nodes so <feature> is parent node and can be imported as each row.

Hope you understand.
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. # 13
  • Page :
  • 1


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