Commit ae37da792970ca15e987c866ff4348d8ad5d8423
1 parent
bc3a0c00
catalog url manager "/"
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
common/modules/product/CatalogUrlManager.php
... | ... | @@ -209,7 +209,7 @@ class CatalogUrlManager implements UrlRuleInterface { |
209 | 209 | case 'catalog/category': |
210 | 210 | if (!empty($params['category'])) { |
211 | 211 | $category_alias = is_object($params['category']) ? $params['category']->alias : strtolower($params['category']); |
212 | - $url = 'catalog/'. $category_alias.'/'; | |
212 | + $url = 'catalog/'. $category_alias; | |
213 | 213 | unset($params['category']); |
214 | 214 | } else { |
215 | 215 | $url = 'catalog/'; |
... | ... | @@ -274,7 +274,7 @@ class CatalogUrlManager implements UrlRuleInterface { |
274 | 274 | } |
275 | 275 | } |
276 | 276 | if (!empty($filter)) { |
277 | - $url .= 'filters:'. implode(';', $filter); | |
277 | + $url .= '/filters:'. implode(';', $filter); | |
278 | 278 | } |
279 | 279 | unset($params['filters']); |
280 | 280 | } | ... | ... |