|
@@ -456,7 +456,7 @@ discard block |
|
|
block discarded – undo |
|
456
|
456
|
// and prepare the attributes for each URL rewrite |
|
457
|
457
|
foreach ($this->productCategoryIds as $this->categoryId) { |
|
458
|
458
|
try { |
|
459
|
|
- $preparedAttributes = $this->prepareAttributes($storeViewCode); |
|
|
459
|
+ $preparedAttributes = $this->prepareAttributes($storeViewCode); |
|
460
|
460
|
$this->urlRewrites[$this->categoryId] = $preparedAttributes; |
|
461
|
461
|
} catch (\Exception $e) { |
|
462
|
462
|
// query whether or not strict mode has been enabled |
|
@@ -657,8 +657,7 @@ discard block |
|
|
block discarded – undo |
|
657
|
657
|
|
|
658
|
658
|
// load the product URL suffix to use |
|
659
|
659
|
$productUrlSuffix = isset($configData['product_url_suffix']) ? |
|
660
|
|
- (!empty($configData['product_url_suffix']) ? '.' . $configData['product_url_suffix'] :$configData['product_url_suffix']) : |
|
661
|
|
- '.html'; |
|
|
660
|
+ (!empty($configData['product_url_suffix']) ? '.' . $configData['product_url_suffix'] : $configData['product_url_suffix']) : '.html'; |
|
662
|
661
|
$urlSuffix = $this->getSubject()->getCoreConfigData(CoreConfigDataKeys::CATALOG_SEO_PRODUCT_URL_SUFFIX, $productUrlSuffix); |
|
663
|
662
|
|
|
664
|
663
|
// query whether or not, the category is the root category |
Please login to merge, or discard this patch.