Jump to content

Problem with Latest Products on Homepage


Guest

Recommended Posts

Hi all,

I have a problem with displaying the latest products on the homepage. I have it set to show 6 latest products, but they won't line up and I have no idea why.

I've tried using different thumbnail sizes etc. but I still seem to have the problem. It works upto 5 latest products, but as soon as it displays 6 one of them gets out of line (and it is doing my head in :( )

Any ideas ? You can see what I mean at my test website:

www.need2shop.co.uk

I've had this problem both in 3.0.1 and 3.0.2 versions of Cubecart.

thanks,

Mark

Link to comment
Share on other sites

Hopefully Brooky or someone else can help, as I assume everyone is having this issue - as I'm just using the standard template.

Anyone know how to fix this ?

Thanks,

Mark

Link to comment
Share on other sites

I managed to fix my problem (though I'm not sure exactly what I've done - but it works :innocent: )

For my problem I ended up modifying the \includes\content\index.inc.php file and modifying the following line:

$index->assign("VAL_WIDTH", $config['gdthumbSize']+75);

I changed it to:

$index->assign("VAL_WIDTH", $config['gdthumbSize']+170);

and now my 'latest products' appear to be lined up correctly !

I guess I got this problem because I had modified the width of the template.

Mark.

Link to comment
Share on other sites

Guest iantresman

I have a problem with displaying the latest products on the homepage.  I have it set to show 6 latest products, but they won't line up and I have no idea why.

I solved this by editing one of the templates in my chosen skin in the file styleTemplates\content\index.tpl by changing

FROM

  <!-- BEGIN: repeat_prods -->

 	 <div style="float: left; text-align: center; width: {VAL_WIDTH}px;">




TO:


  <!-- BEGIN: repeat_prods -->

 	 <div style="float: left; text-align: center; width: {VAL_WIDTH}px; height: 150px;">

This seems to set the product item height.

Regards,

Ian Tresman

Derby, UK

Link to comment
Share on other sites

  • 2 months later...

Hi all,

I have a problem with displaying the latest products on the homepage. I have it set to show 6 latest products, but they won't line up and I have no idea why.

I've tried using different thumbnail sizes etc. but I still seem to have the problem. It works upto 5 latest products, but as soon as it displays 6 one of them gets out of line (and it is doing my head in ;) )

Any ideas ? You can see what I mean at my test website:

www.need2shop.co.uk

I've had this problem both in 3.0.1 and 3.0.2 versions of Cubecart.

thanks,

Mark

hello, i have problems for view latest product....

you have mod? send by email? msn = [email protected]

mi cubecart version is 2

help me please !!!

Link to comment
Share on other sites

If you had done a simple search for 'latest products' you would have come up with this:

Yes, but it would be of no avail to him:

mi cubecart version is 2

This guy is spamming the v.3 forum by pasting that post everywhere "latest products" has been mentioned ;)

Lottsa luck with your prob, buddy :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...