VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: FICBA on August 05, 2015, 11:41:52 AM

Title: Products not showing
Post by: FICBA on August 05, 2015, 11:41:52 AM
Hi All,

I'm obviously doing something wrong, but I can't get any products to show on a page when going through a category layout.

I'm using Joomla 3.4.3 and Virtuemar 3.0.9 the link to my shop is http://new.fhwrestling.co.uk/index.php?option=com_virtuemart&view=category&virtuemart_category_id=1&virtuemart_manufacturer_id=0&categorylayout=default&showcategory=1&showproducts=1&productsublayout=0&Itemid=138

I have debugging on currently and I get the following:-
vmdebug $siteLang: en-GB self::$_jpConfig->lang en_gb
vmdebug vmTime: time to load config: 0.0253639221191406
vmdebug Start used Ram 4.25M
vmdebug exeSortSearchLIstquery orderby ORDER BY p.`created_on`
vmdebug Memory limit reached in model product getProduct(13), consumed: 6.37M
vmdebug Memory limit reached in model product getProduct(14), consumed: 6.38M
vmdebug Memory limit reached in model product getProduct(15), consumed: 6.38M
vmdebug Memory limit reached in model product getProduct(16), consumed: 6.38M
vmdebug Memory limit reached in model product getProduct(1), consumed: 6.38M
vmdebug Memory limit reached in model product getProduct(2), consumed: 6.38M
vmdebug Memory limit reached in model product getProduct(3), consumed: 6.38M
vmdebug Memory limit reached in model product getProduct(4), consumed: 6.38M
vmdebug Memory limit reached in model product getProduct(5), consumed: 6.38M
vmdebug Not a vendor
vmdebug vmTime: vm view Finished task : 0.245077133178711
vmdebug End used Ram 7.5M
vmdebug Peak memory peak 7.5M

Am I missing a setting somewhere?  As far as I can tell all the settings match a previous shop that I have setup.

This is most frustrating!! any help would be gratefully appreciated

Thanks in advance - Julian
Title: Re: Products not showing
Post by: GJC Web Design on August 05, 2015, 17:51:10 PM
are they published??

http://new.fhwrestling.co.uk/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=13 gives a 404
Title: Re: Products not showing
Post by: FICBA on August 05, 2015, 18:00:49 PM
Hi, yes all published!
Title: Re: Products not showing
Post by: GJC Web Design on August 05, 2015, 18:15:29 PM
shopper groups? stock management?
Title: Re: Products not showing
Post by: FICBA on August 06, 2015, 10:21:44 AM
All correct....

Bizarrely, I've changed the pagination figure in the category....and although the products aren't displayed, it thinks there are 2 pages worth of products....which is correct....I just can't figure out why the products won't show!
Title: Re: Products not showing
Post by: FICBA on August 11, 2015, 17:09:21 PM
I'm still scratching my head on this one!!

Any help would be greatly received

Thanks

Julian
Title: Re: Products not showing
Post by: GJC Web Design on August 12, 2015, 12:04:21 PM
from a frontend url no one can help you...  you need to start digging thru the code to troubleshoot what is happening
if pagination knows there are 2 pages of products then it must be a display issue as the query is returning products
Title: Re: Products not showing
Post by: FICBA on August 14, 2015, 02:22:48 AM
Hi, thanks for the reply......can you recommend a template that you know works with 3.0.9 & Joomla 3.4.3?

i've tried 3 different templates and get the same results......would that then point to my server setup do you think??
Title: Re: Products not showing
Post by: GJC Web Design on August 14, 2015, 12:43:44 PM
try first always with the core templates -- protostar
if u have the same problems with that then it isn't template related
Title: Re: Products not showing
Post by: FICBA on August 14, 2015, 14:01:32 PM
Ok, I'm definitely doing something wrong......

I've done a complete fresh install of Joomla 3.4.3 and Virtuemart 3.0.9 I have configured everything as far as I can tell......and the same thing has happened.

http://www.it-support.me.uk/index.php/shop

The pagination is showing 1 of 1 product which is correct. but no products are being displayed.....I'm using the prostar template as you directed.

What am I doing wrong???

Julian
Title: Re: Products not showing
Post by: FICBA on August 14, 2015, 14:52:28 PM
Phew, I've finally figured it out!!!!

In my php.ini the memory_limit was set to 1G - i saw a post in a different forum that said set this it -1 for unlimited and hey presto the products are now showing :-)

Thanks everyone for taking the time to try and help me with this.

Julian