|
|
@@ -313,7 +313,7 @@ func (self *ProductController) GetProductSizesByPid() {
|
|
|
for _, attr := range attrList {
|
|
|
prod := product_model.GetProductByIdAndSizeId(product.RelateProductId, attr.Id, true)
|
|
|
if prod == nil {
|
|
|
- continue
|
|
|
+ //continue
|
|
|
}
|
|
|
size := &product_model.ProductAttr{}
|
|
|
size.Id = attr.Id
|
|
|
@@ -328,7 +328,7 @@ func (self *ProductController) GetProductSizesByPid() {
|
|
|
for _, attr := range attrList {
|
|
|
prod := product_model.GetProductByIdAndColorId(product.RelateProductId, attr.Id, true)
|
|
|
if prod == nil {
|
|
|
- continue
|
|
|
+ //continue
|
|
|
}
|
|
|
|
|
|
size := &product_model.ProductAttr{}
|