GX-Abgewiesen #66264 » refs_#66264_If_GX-Customizer_Set_is_assigned_to_an_item_and_the_Google_Analytics_module_is.patch
| src/GXModules/Gambio/GoogleECommerce/Shop/Classes/Repositories/GoogleAnalyticsTrackingRepositoryReader.inc.php (date 1583935813017) | ||
|---|---|---|
| 128 | 128 |
} |
| 129 | 129 |
|
| 130 | 130 |
if ($variant->attributesOnly()) {
|
| 131 |
return $this->_fetchByAttributeVariant($productId, $customerGroupId, $languageId, $variant); |
|
| 131 |
try {
|
|
| 132 |
return $this->_fetchByAttributeVariant($productId, $customerGroupId, $languageId, $variant); |
|
| 133 |
} catch (\UnexpectedValueException $e) {}
|
|
| 132 | 134 |
} |
| 133 | 135 |
|
| 134 | 136 |
$result = $this->_productDataQuerySetup($customerGroupId, $languageId) |
| ... | ... | |
| 790 | 792 |
->row_array(); |
| 791 | 793 |
|
| 792 | 794 |
$customerGroupDiscount = $this->_customerGroupsMaxDiscount($customerGroupId); |
| 795 |
|
|
| 796 |
if (null === $result) {
|
|
| 797 |
throw new UnexpectedValueException(); |
|
| 798 |
} |
|
| 793 | 799 |
$this->_prepareImpressionResult($result, $productId->asInt(), $customerGroupDiscount); |
| 794 | 800 |
|
| 795 | 801 |
return $result; |