VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: pivovary on July 29, 2020, 10:05:32 AM

Title: Use full category tree for product links
Post by: pivovary on July 29, 2020, 10:05:32 AM
Hi,
i have problem in cart with short link if disable Use full category tree for product links link is /cart/product instead of /category/product, if enable all ok link is /category/subcategory/product.
Title: Re: Use full category tree for product links
Post by: pinochico on July 29, 2020, 10:15:25 AM
For seo is better link /category/product or we use the best option /eshop/product.

Do you use override template?
Title: Re: Use full category tree for product links
Post by: AH on July 29, 2020, 10:31:40 AM
The option below creates more work for you

You can get what you want by creating a "non visible" joomla menu item for every category and make that joomla link the single VMcategory link

Regardless of how deep your subcategories go - you will then see links:

domain/category

domain/category/product

Title: Re: Use full category tree for product links
Post by: pivovary on July 29, 2020, 11:09:04 AM
Now let's not deal with seo but real bug if disable Use full category tree for product links, link to product in cart links to cart page not to product page.