Jump to content

Importing CSV Products features as predefined, NOT custom


Recommended Posts

If I create the predefined features FIRST then import the product csv with features as per normal, can ANYBODY CONFIRM for me that the features will go into the database as "predefined features" NOT "custom features"

 

??

 

Yes, If you create features from BO first and then import products with features with the same name they will be predefined.

Link to comment
Share on other sites

  • 2 months later...

Thank you. I will give it a try.

 

If I predefined a feature value, can you give me an example how to build the csv file for that feature? Say that I have weight, height, etc for features and my predefined values for height are "10 to 20 inches" and "20 to 30 inches" and I want to import the value "10 to 20 inches" for a product. What will I write in the csv file on that line to match that feature? There is a feature column but it is not clear how to write a feature.

 

Thanks.

Link to comment
Share on other sites

If I predefined a feature value, can you give me an example how to build the csv file for that feature? Say that I have weight, height, etc for features and my predefined values for height are "10 to 20 inches" and "20 to 30 inches" and I want to import the value "10 to 20 inches" for a product. What will I write in the csv file on that line to match that feature? There is a feature column but it is not clear how to write a feature.

 

Thanks.

 

To import features, you must have a different column for each feature. When you choose "Feature" from drop down menu you should type in a Feature name (Height, Weight ... - Feature name with predefined values you created before )

Link to comment
Share on other sites

  • 11 months later...

In 1.5 version, you can add predefined features to your products via CSV Import if you change the following code in /classes/FeatureValue.php from:

 

$feature_value->custom = 1;

 

to:

 

$feature_value->custom = 0;

 

I have to say that this only works for NEW products, so if you want to have all your feature values listed as pre-defined values, you should consider deleting and re-importing all your products, if it's not a big problem for you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...