|
|
@@ -263,7 +263,7 @@ func (self *ProductController) GetProductSizesByPid() {
|
|
|
if item.SizeType == product_model.SIZE_TYPE_2 {
|
|
|
attrList := product_model.GetProductAttrsByKId(productKeyConfig.Id)
|
|
|
for _, attr := range attrList {
|
|
|
- if attr.Id == product.SizeId {
|
|
|
+ if attr.Id == product.ColorId {
|
|
|
attr.IsSelect = true
|
|
|
}
|
|
|
}
|