VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: jenborn on September 10, 2014, 17:29:49 PM

Title: Only Parent Should Show on Product Category Page
Post by: jenborn on September 10, 2014, 17:29:49 PM
My client is running Joomla 2.5.24 and VirtueMart 2.6.6.  I am fairly new to all of this (Joomla and VirtueMart).  I moved him to a new host and updated Joomla and VirtueMart.  Now on one of his Product Category pages both the parent and child product are showing when JUST the parent products should be showing. http://rthum.com/store/workshop-cds (http://rthum.com/store/workshop-cds).  On the Product Detail page of the parent products, everything is fine.  I'm not sure what I need to change in the configuration or if this is even possible in the updated versions.  The rest of the products appear to be working correctly within his inventory, it's just these parent/child relationships that I need to fix.

So on the above Product Category link, this product should be showing:
Blackberry Blossoms Workshop
http://rthum.com/store/workshop-cds/view/productdetails/virtuemart_product_id/7/virtuemart_category_id/2

But these should NOT because they're children (it's also messing with the pagination):
Blackberry Blossoms Workshop
http://rthum.com/store/workshop-cds/view/productdetails/virtuemart_product_id/83/virtuemart_category_id/2
Blackberry Blossoms Workshop
http://rthum.com/store/workshop-cds/view/productdetails/virtuemart_product_id/84/virtuemart_category_id/2

And when you go to the Product Detail page for the parent (7):
http://rthum.com/store/workshop-cds/view/productdetails/virtuemart_product_id/7/virtuemart_category_id/2
Everything is fine.  But if you click on the children from the Product Category page, it's all messed up, because you shouldn't be able to get to those anyway.

(//)

[attachment cleanup by admin]
Title: Re: Only Parent Should Show on Product Category Page
Post by: jenkinhill on September 10, 2014, 18:10:49 PM
What are you using for SEF?  Try with SEF off, flushe caches & have a look.
Title: Re: Only Parent Should Show on Product Category Page
Post by: jenborn on September 12, 2014, 21:22:14 PM
Quote from: jenkinhill on September 10, 2014, 18:10:49 PM
What are you using for SEF?  Try with SEF off, flushe caches & have a look.

What is SEF?
Title: Re: Only Parent Should Show on Product Category Page
Post by: GJC Web Design on September 13, 2014, 22:25:49 PM
Search Engine Friendly urls 
the std Joomla and VM urls look like /index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=23&virtuemart_category_id=7

they can be rewritten to look like /myproduct4.html etc either by the native SEF (set in Joomla admin) or there are 3rd party components (that IMHO are worse than the disease)
In debugging it always pays to start with knowns - so try what happens with all sef off first..