VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: FrankA on August 11, 2012, 18:54:47 PM

Title: Latest products - controls? (Solved with hack)
Post by: FrankA on August 11, 2012, 18:54:47 PM
vm2.08e

I can switch on a display latest products but is is defaulting to 5 products, a row of 3 then a row of 2... looked everywhere for how to adjust this... wiki suggests it is in config but it is not aand only related thread I could find here appears to be for a third party module?

Is this just hard coded somewhere?
Title: Re: Latest products - controls?
Post by: FrankA on August 12, 2012, 13:26:06 PM
Firebug shows
<h4>Latest Products</h4>
<div class="row">
<div class="product floatleft width33 vertical-separator">
<div class="product floatleft width33 vertical-separator">
<div class="product floatleft width33 ">
<div class="clear"></div>
</div>
<div class="horizontal-separator"></div>
<div class="row">
<div class="product floatleft width33 vertical-separator">
<div class="product floatleft width33 vertical-separator">
<div class="clear"></div>
</div>


In templates there is a setting for number of featured products in a row and number of top ten products in a row.... so why does latest products default to 5 products and how can it be changed.... is there a reason for it being split into two lines one of 3 items and on of 2? I added 60+ products so far so it could be showing more....

Title: Re: Latest products - controls?
Post by: bytelord on August 12, 2012, 15:00:49 PM
Hello,

Please take a look on that post and let me know if everything is ok. You need  to change a core file to achieve that.

http://forum.virtuemart.net/index.php?topic=105925.msg353126#msg353126

Regards,
BL
Title: Re: Latest products - controls?
Post by: FrankA on August 17, 2012, 00:01:51 AM
Thank you, hope that gets changed in next version, too many VM sites, prefer to stick to core  ;)