VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: EIF on June 18, 2013, 09:57:25 AM

Title: Can't display product in particular category
Post by: EIF on June 18, 2013, 09:57:25 AM
I had some product categories with some products. Everything was ok. I deleted these categories for some reason and later I created the same categories again for the same products.

But now the products won't display in the new (but same) productcategory. It only displays in other categories.
I figured out that if I change the category alias, it will display the products again. So using the same alias as I used before the deletion, will not work somehow.

How can I fix this?

I am using virtuemart 2.0.20b and also the default virtuemart SEF.



Title: Re: Can't display product in particular category
Post by: Milbo on June 19, 2013, 14:19:02 PM
I fear there are old relations in the database, because I added a fix in the new release http://forum.virtuemart.net/index.php?topic=115877.0
Title: Re: Can't display product in particular category
Post by: EIF on June 19, 2013, 17:25:15 PM
Ehm, is it caused by a fix, or is this fixed in the new release?

Is it possible to delete these old relations?
Title: Re: Can't display product in particular category
Post by: Milbo on June 19, 2013, 20:52:49 PM
It is fixed in the new release, but I do not really understand how it happened. Of course you can delete the old relations, if you know the old category id.
Title: Re: Can't display product in particular category
Post by: EIF on June 20, 2013, 12:56:14 PM
Yes, I do know the ID, but I don't know what to delete.
Where can I find this relation? Do I just need to delete the category itself in table virtuemart_product_categories? Or are there other tables where I have to delete or edit something?
Title: Re: Can't display product in particular category
Post by: EIF on June 25, 2013, 12:01:26 PM
Can someone please help me out with this?
Products (both new products and existing products) won't display in the category. I need to use the same alias of the product category.
Title: Re: Can't display product in particular category
Post by: jenkinhill on June 25, 2013, 13:41:21 PM
You will probably need to edit these directly in the database using phpMyAdmin.
Title: Re: Can't display product in particular category
Post by: EIF on June 25, 2013, 15:32:11 PM
Yes, I do understand that, but my question actually is: which tables/fields do I need to edit in the database?
Title: Re: Can't display product in particular category
Post by: Milbo on June 26, 2013, 01:21:13 AM
Every table starting with #_virtuemart_category_ I think.