Skip to main content
corrected spelling
Source Link
LucScu
  • 2.4k
  • 28
  • 39

Can anyone tellDo you know why magento saves product attribute multiselect attribute type as varchar and hence its optionsrelative product assocations in catalog_product_entity_varchar as arrayarray?

With options saved as array i can't do the correctis not possible join between catalog_product_entity_varchar and eav_attribute_option_value on value=option_id

Is not it better to consider multiselect as "multidropdown" and save its optionswhen value is varchar like int1,2,3, because option_id is int.

Isn't better considerer multiselect as multiple int and insert multiple recordsrecord in catalog_product_entity_int?

So is possible join correctly    catalog_product_entity_int withand eav_attribute_option_value on value=option_id

Can anyone tell why magento saves product attribute multiselect as varchar and hence its options in catalog_product_entity_varchar as array?

With options saved as array i can't do the correct between catalog_product_entity_varchar and eav_attribute_option_value on value=option_id

Is not it better to consider multiselect as "multidropdown" and save its options like int and insert multiple records in catalog_product_entity_int?

So is possible join correctly  catalog_product_entity_int with eav_attribute_option_value on value=option_id

Do you know why magento saves multiselect attribute type as varchar and relative product assocations in catalog_product_entity_varchar as array?

With array is not possible join between catalog_product_entity_varchar and eav_attribute_option_value on value=option_id

when value is varchar like 1,2,3, because option_id is int.

Isn't better considerer multiselect as multiple int and insert multiple record in catalog_product_entity_int?

So is possible join correctly  catalog_product_entity_int and eav_attribute_option_value on value=option_id

corrected spelling
Source Link
LucScu
  • 2.4k
  • 28
  • 39

Can anyone tell why magento saves product attribute multiselect as varchar and hence its options in catalog_product_entity_varchar as array?

With options saved as array i can't do the correct between catalog_product_entity_varchar and eav_attribute_option_value on value=option_id

Is not it better to consider multiselect as "multidropdown" and save itits options like an int and insert multiple records in catalog_product_entity_int?

If it were so I couldSo is possible join correctly catalog_product_entity_int with eav_attribute_option_value on value=option_id

What I can't do with catalog_product_entity_varchar if value is an array.

Can anyone tell why magento saves product attribute multiselect as varchar and hence its options in catalog_product_entity_varchar as array?

Is not it better to consider multiselect as "multidropdown" and save it like an int and insert multiple records in catalog_product_entity_int?

If it were so I could join catalog_product_entity_int with eav_attribute_option_value on value=option_id

What I can't do with catalog_product_entity_varchar if value is an array.

Can anyone tell why magento saves product attribute multiselect as varchar and hence its options in catalog_product_entity_varchar as array?

With options saved as array i can't do the correct between catalog_product_entity_varchar and eav_attribute_option_value on value=option_id

Is not it better to consider multiselect as "multidropdown" and save its options like int and insert multiple records in catalog_product_entity_int?

So is possible join correctly catalog_product_entity_int with eav_attribute_option_value on value=option_id

format the code
Source Link
7ochem
  • 7.6k
  • 14
  • 52
  • 80

Can anyone tell why magento saves product attribute multiselect as varchar and hence its options in catalog_product_entity_varchar as array?

Is not it better to consider multiselect as "multidropdown" and save it like an intint and insert multiple records in catalog_product_entity_int?

If it were so iI could join catalog_product_entity_int with with eav_attribute_option_value on on value=option_id

what iWhat I can't do with catalog_product_entity_varchar if value is an array.

Can anyone tell why magento saves product attribute multiselect as varchar and hence its options in catalog_product_entity_varchar as array?

Is not it better to consider multiselect as "multidropdown" and save it like an int and insert multiple records in catalog_product_entity_int?

If it were so i could join catalog_product_entity_int with eav_attribute_option_value on value=option_id

what i can't do with catalog_product_entity_varchar if value is an array.

Can anyone tell why magento saves product attribute multiselect as varchar and hence its options in catalog_product_entity_varchar as array?

Is not it better to consider multiselect as "multidropdown" and save it like an int and insert multiple records in catalog_product_entity_int?

If it were so I could join catalog_product_entity_int with eav_attribute_option_value on value=option_id

What I can't do with catalog_product_entity_varchar if value is an array.

Source Link
LucScu
  • 2.4k
  • 28
  • 39
Loading