Add support for catgory/subcategory alias.

17.01.2012 15:15
#1
simbus82
Joomshopping forum user no avatar
Name: sim
21.02.2011
Posts: 40
Quote
Add support for correct generation of category/subcategory links

This absence causes non-optimal SEO results and also makes links not user/human friendly.


Letzte Änderung: 17.01.2012 17:45
 
17.01.2012 16:20
#2
swissa
Joomshopping forum user no avatar
Name: swissandy
10.10.2011
Posts: 166
Quote
Aw: Add support for catgory/subcategory alias.

All my links are human friendly.

You have to give the alias to categories and products. It is not automatic like Joomla.


Website Url: david-online.ch
 
17.01.2012 16:43
#3
simbus82
Joomshopping forum user no avatar
Name: sim
21.02.2011
Posts: 40
Quote
Aw: Add support for correct generation of category/subcategory links

swissandy - 17.01.2012 16:20
All my links are human friendly.

You have to give the alias to categories and products. It is not automatic like Joomla.


No, joomshopping does not create full links including subcategories!

Of course I speak of the situation with alias for categories, subcategories and products fully and correctly compiled.

An example.

Joomshopping catalog is a menu voice "products".

I have one "parent" category1: under category1 i have subcategory1 and inside this i have some products.

if i go inside my catalog (menu "Products" to see the category list) i see this link:

www.mysite.com/products/

joomla breadcrumbs in this case are:

Home->Products.

All is correct.

Now i go to a product in subcategory1. The link is:

www.mysite.com/products/subcategory1/productname !!!!!!

Where is my "parent" category1???

The breadcrumbs are correct and are:

Home->Products->Category1->Subcategory1->ProductName

Joomshopping write in the links ONLY the last category of the "tree"...

... and it is really WRONG!!!

Perhaps it is a design choice, but I would like to have correct links: this problem also falls on Xmap that creates wrong sitemaps!


Letzte Änderung: 17.01.2012 17:46
 
21.01.2012 21:57
#4
raziel70
Joomshopping forum user no avatar
Name: raziel70
09.07.2011
Posts: 36
Quote
Aw: Add support for catgory/subcategory alias.

Hi!
I have the same problem! :(

This situation is only by clicking the category pictures on the category list page. But...
If you add a new menu item by adding a Joomshopping menu item then is the url will be correct and will be shown all subcategories too.

I was searching the solution but i am not a big programmer. :D
I think the problem in this template can be find:
components/com_joomshopping/templates/default/category/category_default.php
Maybe this one: "< ?php print $category_id->category_id_link;?>"
There can you see the url to the category image and also there is the category url.
I tried modify it but not can be.

By adding a new menu if you had choosed the menu type can be see the complet url of the new joomshopping menu item below. It will be not all "function" shown but if you add a category ID on the right side then this ID will be added to this url. Example:
Choose a new menu item joomshooping categories then on the right side add a category id e.g. 2. Look the url it will be:
option=com_jshopping&controller=category&task=view&category_id=2&manufacturer_id=&label_id=&vendor_id=&page=

If your "category1" = ID 2. In your example this category is the second category.

I too the Xmap use and the url and breadcrumbs are correct.


Letzte Änderung: 21.01.2012 22:16
 
Copyrights MAXXmarketing GmbH. All Rights Reserved