VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: uschmi on September 06, 2012, 10:42:16 AM

Title: Related products display seems buggy
Post by: uschmi on September 06, 2012, 10:42:16 AM
In case a related product is disabled or not showing because the stocklevel is 0, it is not omited but there is displayed blank space instead.
How to check, whether a related product is displayed or not to avoid the blank space (see image attached)?


[attachment cleanup by admin]
Title: Re: Related products display seems buggy
Post by: uschmi on September 11, 2012, 10:42:31 AM
Anyone?
Title: Re: Related products display seems buggy
Post by: John2400 on September 11, 2012, 14:05:47 PM
uschmi,

Yes maybe you are correct - I don't think I have seen too many people add so many related products and then as the products reached 0 stock the images looked as you have shown. What you really want is the images to correct themselves and move over. Actually that would be a great idea as a selling point.

Really you may not get a direct answer as this might be a bug and has to be corrected. Or even tested. Or should I say developed as a good selling point - "like hurry now before they all go" -  other similar ideas are in extensions like :
http://breakdesigns.net/extensions/vm-product-builder

sorry not the answer you really wanted.
Title: Re: Related products display seems buggy
Post by: uschmi on September 11, 2012, 14:16:35 PM
Thanks John2400 for your answer.
I just took a quick look to this product builder, but I don´t think it´s just what I need.

So, it have to be a bug and have to be solved   ;D
The big problem is, as I can see, that you not only have to check the stock value for the related product, but also for its childs...