1. 4creations
  2. RO CSVI
  3. Friday, 26 July 2019
  4.  Subscribe via email
Hi
I see that you support Custom Fields For All and I see the csv layout at https://csvimproved.com/support/import/203-virtuemart/1047-custom-fields-for-all-for-virtuemart. Do you support the Dependent Custom Fields For All? If so, what is the csv layout?
Accepted Answer
Accepted Answer Pending Moderation
Hello,
We have added support for dependent custom fields for all import with the attached patch file. Do the following to run the import of dependent custom fields

1. Make sure that you have CSVI Custom fields for all plugin installed and enabled.
2. Load the attached patch file.
3. Update available fields.
4. Create a parent custom field from VirtueMart custom fields page with plugin selected as Dependent custom fields for all(Screenshot image customfield_parent.png)
5. Create a child custom field in VirtueMart custom fields page with plugin selected as Dependent custom fields for all. Make sure you select the parent custom field in the child custom field as in the attached screenshot.(Screenshot image customfield_child.png)
6. Run the import with CSV content as in the below example

"product_sku";"custom_title";"custom_value";"custom_param";"custom_price";"product_name";"product_in_stock";"product_price";"custom_parent_value"
"100011";"CF4ALLparent~CF4ALLparent~CF4ALLparent";"dependentcustomfieldsforall~dependentcustomfieldsforall~dependentcustomfieldsforall";"Type~Material~Kind";"9.99";"Product Parent";"0";"100";""
"10001";"CF4ALL~CF4ALL~CF4ALL";"dependentcustomfieldsforall~dependentcustomfieldsforall~dependentcustomfieldsforall";"Wood~Leather~cotton";"9.99";"Product child";"0";"100";"Type~Material~Kind"


Let me know how it goes.
Attachments (3)
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. # Permalink
Accepted Answer Pending Moderation
Hello,
We do not support Dependent Custom Fields For All yet. We have it in our todo list and will included in future CSVI version. As of now we do not have an ETA on this feature.
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
Hello
I followed the steps in the [url=https://rolandd.com/documentation/ro-csvi/dependent-custom-fields-for-all]tutorial/url] (which is similar to the answer) and I ended with two products: the parent which had three CF4ALLParent custom fields and the child product which had three CF4ALL. None of the six custom fields had any value. I tried to prefill the CF4ALLParent and CF4ALL with values and repeat the import but I had the same result.

So I thought I could build the product I want and get the csv via an export.

1. I build CF4ALLParent (which represent "type of material";) according to the tutorial plus: cart input=yes, layout position=addtocart, display type=drop-down list. Added two values: "Plastic" and "Fabric" (CF4ALLParent image).

2. I build CF4ALL (which represent "material";) according to the tutorial plus: price-variat=yes, cart input=yes, layout position=addtocart, display type=drop-down list. Added some values: "Fabric->Cotton", "Fabric->Silc", "Plastic-Nylon" and some more (CF4ALL image)

3. In a new product I added three CF4ALL custom fields, the ones I mention above, with respective prices 1, 2 and 3 (see ProductCustomFields image). Now the user has a master-detail list selection (ProductBuy image)

4. I created the product export template (dcf4all.xml). I *do not* have the custom_parent_value field when I build the field list but I *do* have it available when I build the product import template.

5. When I run the export I get the dcf4all.csv which is missing things, like the field values.

My question is how to fix the cf4all.csv file in order to get the product . C4ALLParent.png CF4ALL.png ProductBuy.png ProductCustomFields.png [attachment]ProductBuy.jpg[/attachment]
Attachments (8)
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hello,
I followed the steps in the [url=https://rolandd.com/documentation/ro-csvi/dependent-custom-fields-for-all]tutorial/url] (which is similar to the answer) and I ended with two products: the parent which had three CF4ALLParent custom fields and the child product which had three CF4ALL. None of the six custom fields had any value. I tried to prefill the CF4ALLParent and CF4ALL with values and repeat the import but I had the same result.

You did not include your import debug log to check what has gone wrong. Please send it to check what has happened with your import.

1. I build CF4ALLParent (which represent "type of material";) according to the tutorial plus: cart input=yes, layout position=addtocart, display type=drop-down list. Added two values: "Plastic" and "Fabric" (CF4ALLParent image).

This looks correct.

2. I build CF4ALL (which represent "material";) according to the tutorial plus: price-variat=yes, cart input=yes, layout position=addtocart, display type=drop-down list. Added some values: "Fabric->Cotton", "Fabric->Silc", "Plastic-Nylon" and some more (CF4ALL image)

This also looks correct.

I created the product export template (dcf4all.xml). I *do not* have the custom_parent_value field when I build the field list but I *do* have it available when I build the product import template.

You are not seeing that field in export template because we did not add support for it. For now we have added support for dependentcustomfieldsforall only for import.

5. When I run the export I get the dcf4all.csv which is missing things, like the field values.

Again you are seeing empty values because of no support for dependentcustomfieldsforall on export.

Send me your debug log and let us find why your import is not working.
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
Hi Tharuna
my bad; the import toy proposed is working as expected and creates two products: One with three custom fields and another with three master-detail custom fields.

BTW the period between "it is in our to-do, we don't have ETA" and "here is the implementatin, try it" was astonishing fast, less than a day! Keep the good work.

Thanks for your swift support
  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!