8 years ago
Topic

Hello to all in the forum. I'm very pleased and thankfull to the creators of seblod.

Now, to the point, this is a real life application that i'm building, a tire store/market.

For the needs of my customer i need to use seblod+importer+j2store in order to manipulate and import the content and other features.

Some field needs are obvious, but i'm not completely sure of what and how type of fields i have to use for others.

I guess that csv import actually what makes it complicated because If i only had to import them manually then i would use dynamic selection field with the options that i need for each dimension type and input the options manually with select+options, but now that i need csv import i need assistance on how the selection options are stored in the db.

-----------

Let me explain more about my problem->

There need to be several select options/product attributes for tire category (winter, summer, moto, etc) height (145-225), width (40-80), manufacturer (different brands), etc.

Each content type field will have several options that points to tire category, dimension, brand, etc and show/order/filter them accordingly to the search result page of the content type.

I know that if i use dynamic selection field for e.g. the width, then i have to specify the options from 145 +5 up to 225, for the height i input the options from 40+10 up to 80, and so on for the rest of selection fields.

I know that to import a csv file i need to change some of the csv table names to match the db table names.

Now the question is how to construct this content type with different select options and being able to import them from csv.

The field i suppose to use as better, is the selection field and options for different categories, dimensions, brands, etc. Is there a different approach i need to consider like category content type fields or any other?

I hope that my explanation about my problem make it obvious and i'll be happy to explain more.

Thanks in advsnce and keep up the good work

Get a Book for SEBLOD
4229 Posts
Kadministrator
8 years ago
1
Level 1

Hi,

you can use select simple (or select numeric when options are numbers) for your options. In cvs you need to have column matching each select's storage, cell vlaue needs to match one of the possible selects values. 

Select dynamic is only usable when your options are already stored in database.

8 years ago
0
Level 2

Thanks for the responce klas.

I already tested your tutorial and it works nice.

What about the tire categories though? Should i use the selection field or default content categories?

Also, is there a tutorial to explain the storage options for select field options?

Thanks in advance for your help

4229 Posts
Kadministrator
8 years ago
1
Level 1

In select field you can add options as a,b,c where key is also text or as a=1,b=5,f=7 etc. -- where key and text are separated for each option. But you can't iport this options using importer, content types, fields, template etc are exported and imported s app.

8 years ago
0
Level 2

Where are these options saved in the database?table?collumn?

Get a VIP membership