Jump to content

Different Options


Guest Zikofski

Recommended Posts

Guest Zikofski

Hi,

I have seen many stores world wide, and I'm not sure if this is right but I believe all the major stores have a different store home feature, like with CC it has the Latest product's, but I don't want my customers to see the latest products, what would be nice is if I could chose between Latest products or Random Products, similar to the feature Products that CC has, I would love to have this added into the next version of CC or even if some one could tell me how I could add this in.

Link to comment
Share on other sites

To make the Featured Products random:

includes/content/index.inc.php (line 49) Replace with:

$latestProducts = $db->select("SELECT productId, image, price, name, sale_price FROM ".$glob['dbprefix']."CubeCart_inventory WHERE `showFeatured` = 1 ORDER BY RAND() DESC LIMIT ".$config['noLatestProds']);

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...