Allows you to add an existing attribute to an attribute set.
magento.catalogProductAttributeSet.attributeAdd({
attributeId: val,
attributeSetId: val,
attributeGroupId: val, /* optional */
sortOrder: val /* optional */
}, callback);
Allows you to remove an existing attribute from an attribute set.
magento.catalogProductAttributeSet.attributeRemove({
attributeId: val,
attributeSetId: val
}, callback);
Allows you to create a new attribute set based on another attribute set.
magento.catalogProductAttributeSet.create({
attributeSetName: val,
skeletonSetId: val
}, callback);
Allows you to add a new group for attributes to the attribute set.
magento.catalogProductAttributeSet.groupAdd({
attributeSetId: val,
groupName: val
}, callback);
Allows you to remove a group from an attribute set.
magento.catalogProductAttributeSet.groupRemove({
attributeGroupId: val
}, callback);
Allows you to rename a group in the attribute set.
magento.catalogProductAttributeSet.groupRename({
groupId: val,
groupName: val
}, callback);
Allows you to retrieve the list of product attribute sets.
magento.catalogProductAttributeSet.list(callback);
Allows you to remove an existing attribute set.
magento.catalogProductAttributeSet.remove({
attributeSetId: val,
forceProductsRemove: val /* optional */
}, callback);