@@ -12,6 +12,7 @@ class Product < ActiveRecord::Base
COLOR_ENUM = []
def get_size_enum
SIZE_ENUM.clear
+=begin
if SIZE_ENUM.length ==0
linkSize = ProductAttrConfig.where("product_id=? and size_type='size'",self.id).first
if !linkSize.blank?
@@ -22,6 +23,7 @@ class Product < ActiveRecord::Base
end
+=end
COLOR_ENUM.clear
if COLOR_ENUM.length==0