diff --git a/Model/Client/Request/Recommendations/ProductRequest.php b/Model/Client/Request/Recommendations/ProductRequest.php index c9ef94b8..6dd50661 100644 --- a/Model/Client/Request/Recommendations/ProductRequest.php +++ b/Model/Client/Request/Recommendations/ProductRequest.php @@ -72,7 +72,11 @@ public function getPathSuffix() $groupCode = $this->product->getData('groupcode'); if (empty($groupCode)) { - $groupCode = $this->product->getId(); + if ($this->product->hasData('parent_id')) { + $groupCode = $this->product->getData('parent_id'); + } else { + $groupCode = $this->product->getId(); + } } $groupCode = $this->helper->getTweakwiseId($this->product->getStoreId(), $groupCode);