Page 1 of 1
<A HREF="{{ CATEGORY.HREF }}">{{ CATEGORY.NAME }}
Posted: Thu Jan 20, 2022 7:30 pm
by loucospormusica
Can anyone tell me why in one menu gets the url friendly and the other does not
here doesn't get

Re: <A HREF="{{ CATEGORY.HREF }}">{{ CATEGORY.NAME }}
Posted: Thu Jan 20, 2022 7:55 pm
by thekrotek
Because it doesn't have alias defined or link generated improperly.
In the future add more explanatory titles to your posts, do not just copy the code in Title field.
Re: <A HREF="{{ CATEGORY.HREF }}">{{ CATEGORY.NAME }}
Posted: Thu Jan 20, 2022 9:37 pm
by straightlight
Re: <A HREF="{{ CATEGORY.HREF }}">{{ CATEGORY.NAME }}
Posted: Fri Jan 21, 2022 1:15 am
by rjcalifornia
loucospormusica wrote: ↑Thu Jan 20, 2022 7:30 pm
Can anyone tell me why in one menu gets the url friendly and the other does not
In the category settings, did you set up the SEO keyword?
Re: <A HREF="{{ CATEGORY.HREF }}">{{ CATEGORY.NAME }}
Posted: Fri Jan 21, 2022 3:06 am
by loucospormusica
Good afternoon, yes is configured the friendly url, note that I made a red cross in each image in the footer to show the difference
Re: <A HREF="{{ CATEGORY.HREF }}">{{ CATEGORY.NAME }}
Posted: Fri Jan 21, 2022 3:18 am
by xxvirusxx
Contact theme developer
Re: <A HREF="{{ CATEGORY.HREF }}">{{ CATEGORY.NAME }}
Posted: Fri Jan 21, 2022 3:19 am
by mikeinterserv
Its not an OC theme - the problem may be there.
Re: <A HREF="{{ CATEGORY.HREF }}">{{ CATEGORY.NAME }}
Posted: Fri Jan 21, 2022 6:22 pm
by loucospormusica
can you give me a hint of the specific file?
Re: <A HREF="{{ CATEGORY.HREF }}">{{ CATEGORY.NAME }}
Posted: Fri Jan 21, 2022 7:17 pm
by paulfeakins
loucospormusica wrote: ↑Fri Jan 21, 2022 6:22 pm
can you give me a hint of the specific file?
Look in the theme folder.
Re: <A HREF="{{ CATEGORY.HREF }}">{{ CATEGORY.NAME }}
Posted: Fri Jan 21, 2022 8:18 pm
by straightlight
loucospormusica wrote: ↑Fri Jan 21, 2022 6:22 pm
can you give me a hint of the specific file?
Already provided on my previous post.
Re: <A HREF="{{ CATEGORY.HREF }}">{{ CATEGORY.NAME }}
Posted: Fri Jan 21, 2022 10:59 pm
by by mona
in default OC, the sub categories listed on a parent category page have a link like:
Code: Select all
index.php?route=product/category&path=[ID-OF-PARENT]_[TARGET-ID]
done via:
Code: Select all
$data['categories'][] = array(
'name' => $result['name'] . ($this->config->get('config_product_count') ? ' (' . $this->model_catalog_product->getTotalProducts($filter_data) . ')' : ''),
'href' => $this->url->link('product/category', 'path=' . $this->request->get['path'] . '_' . $result['category_id'] . $url)
);
Your link only shows:
Code: Select all
index.php?route=product/category&path=[TARGET-ID]
(For all sub categories so it is not a single keyword issue)
That stripping of the parent in itself is not a problem but it indicates that either your theme or an extention or yourself changed code.
So therein lies the problem.
If you did not change this yourself, then you need, as has been said already above, to contact the theme or extension developer to get it resolved.