Jump to content

CubeCart 3Beta Featured Product


Guest Lunnmh
 Share

Recommended Posts

Guest Lunnmh

I Installed version 3 beta, and found that the Image wouldn't display in the Featured Product area...

but I managed to fix it..

Goto /includes/boxes/

and edit randomProd.inc.php

Near the bottom of the page there is an if statement like this

if(!empty($result[0]['image'])){

  $box_content->assign("IMG_SRC","images/uploads/thumbs/thumb_".$result[0]['image']);

} else {

  $box_content->assign("IMG_SRC","skins/".$config['skinDir']."/styleImages/thumb_nophoto.gif");

}

change the bold areas to the following... and all works fine again.

if(!empty($randProd[0]['image'])){

  $box_content->assign("IMG_SRC","images/uploads/thumbs/thumb_".$randProd[0]['image']);

} else {

  $box_content->assign("IMG_SRC","skins/".$config['skinDir']."/styleImages/thumb_nophoto.gif");

}

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
  • 3 months later...
Guest cycles

Mine already says "rand" - why is my picture not displaying?

thanks!

I also have this warning on entering admin:

Warning: stat failed for (errno=2 - No such file or directory) in /home/virtual/site74/fst/var/www/html/cart/admin/index.php on line 101

190 KB

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.

 Share

×
×
  • Create New...