News:

Support the VirtueMart project and become a member

Main Menu

Categories showing only one product

Started by mrtechguy, April 12, 2016, 17:58:27 PM

Previous topic - Next topic

mrtechguy

Hi All,
I am having an issue with specific categories on Virtuemart showing a single product. When I click on a few different categories (seemingly random ones) I get a single product details page show up. It is always the same product, and the same categories doing this. If I click on the back to [category name] button it reloads the same product.

My Virtuemart version is 3.0.145 and Joomla (updated about an hour ago from 3.5 to) 3.5.1.

I have recently upgraded from 2 so I suspect this issue may have been caused by the upgrade, however, I was unaware of whether it a) existed before the upgrade and b) existed immediately after the upgrade.

If it was happening for every category it would make sense, but considering it is only certain categories I am really confused. There seems to be no pattern to it. As far as I am aware it hasn't always been the case.

If anyone is after an example look at https://wsh1-3e-mel.hostyourservices.net/~piperimp/index.php The Accessories category works find and the Axe category doesn't. If I turn on debugging I do seem to get a whole heap of Notice: Undefined property: stdClass::$childs in .../modules/mod_virtuemart_category/tmpl/all.php on line 20 errors (one for each category to be precise.

For the products that show up directly no prices are shown. I have modified code to show specials pricing, but this works on other categories so I believe this isn't the issue.

Any help would be appreciated. Please let me know if you would like me to setup a sandbox environment and I will pm you the link (due to wholesale prices I cannot make public access available)

Thanks in advance.
MTG

PhotonVideo

#1
I am having the same problem and can't seem to figure it out.  I see that your site is now working properly, so I'm wondering what you did.  Please do tell.

EDIT: I simply created a new category and moved my products into the new category.  I then deleted the old category and renamed the new one to match the name of the old category.  Hope this helps anyone who reads this.

mrtechguy

Hi,
I ended up creating a brand new install and then migrating everything in the database manually. There is still one subcategory that is doing this. Even the Virtuemart developers couldn't help with this one

GJC Web Design

IMHO you have a product alias the same as a category name and no url product suffix

who were the "Virtuemart developers"?


GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

mrtechguy


GJC Web Design

and this?
Quoteyou have a product alias the same as a category name and no url product suffix
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Studio 42

Please provide the new link , first post link is not working.
But i mean the problem is what GJC Web Design (or any Joomla menu conflict). SO it should be solved on changing the category or product alias.