Browse Source

Fix variations counting

Vova Tkach 5 years ago
parent
commit
60a7ce5ec7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      engine/fetdata/shop_product.go

+ 1 - 1
engine/fetdata/shop_product.go

@@ -377,7 +377,7 @@ func (this *ShopProduct) HaveVariations() bool {
 	if this == nil {
 		return false
 	}
-	if len(this.vars) <= 0 {
+	if len(this.vars) <= 1 {
 		return false
 	}
 	return true