News:

Support the VirtueMart project and become a member

Main Menu

VM URLs error virtuemart_category_id

Started by rubenal26, June 23, 2014, 10:35:33 AM

Previous topic - Next topic

rubenal26

Hi

The problem is that the url´s are:


http://www.depurativoantartico.com/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=231&virtuemart_category_id=www.depurativoantartico.com

The category id is incorrect. Fail run In the gavick module NSP to. In the gavick modules, te urls of product of landing page is:



http://www.depurativoantartico.com/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=212&virtuemart_category_id=16&Itemid=

Dont´show item id... This is problem...
Any idea why do this? Any solution?

Thanks!!

Tiger78

#1
That is my experience:

There are several problems when the product url in product information is not empty, e.g. the category id in http-URL (back to category - button) is wrong. In this case the product url is assigned to category id.
I think this is a bug.
Otherwise everything is running correctly.

I use custom fields for product url. So I can leave it blank in product information. Unfortunately I had to change the core.


jjk

Quote from: Tiger78 on July 30, 2014, 20:36:37 PM
...when the product url in product information is not empty,

The product url is supposed to be used for links to external sites. For example a link to the product on the manufacturer website.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Tiger78

#3
Quote from: jjk on August 01, 2014, 23:39:44 PM
The product url is supposed to be used for links to external sites. For example a link to the product on the manufacturer website.

Of course! But in this case there are some problems:

All URLs from category view to product detail page have /vm-startseite/ in the URL, if I use links to external pages.
e.g. www.example.de/vm-startseite/product_a.html
or www.example.de/vm-startseite/product_b.html

It´s independent of the vm-category in which the product is located. The "back to category"- button on product detail page goes back to vm-startseite on clicking and not to virtuemart category in which the product is located.

If I don´t use links to external pages, the URLs are like this:
www.example.de/category1/sub_category1/product_a.html

That´s what I want. Then the "back to category"-button returns to the correct vm-category in which the product is located.

What could be the cause? A former migration from vm1 to vm2. Or is it normal?

p.s. I use joomla menue links to the vm-categories.