Class: Magenthor::Catalog
Class Method Summary collapse
-
.additional_attribute_list(product_type, set_id) ⇒ Array, FalseClass
Get the list of all additional attributes.
-
.attribute_list(set_id) ⇒ Array, FalseClass
Get the list of a attribute set.
-
.attribute_set_list ⇒ Array, FalseClass
Get the list of all products sets.
Methods inherited from Base
Class Method Details
.additional_attribute_list(product_type, set_id) ⇒ Array, FalseClass
Get the list of all additional attributes
26 27 28 |
# File 'lib/magenthor/catalog.rb', line 26 def additional_attribute_list product_type, set_id commit('product.listOfAdditionalAttributes', [product_type, set_id]) end |
.attribute_list(set_id) ⇒ Array, FalseClass
Get the list of a attribute set
17 18 19 |
# File 'lib/magenthor/catalog.rb', line 17 def attribute_list set_id commit('catalog_product_attribute.list', [set_id]) end |
.attribute_set_list ⇒ Array, FalseClass
Get the list of all products sets
9 10 11 |
# File 'lib/magenthor/catalog.rb', line 9 def attribute_set_list commit('catalog_product_attribute_set.list', []) end |