Dirty Butter Posted June 6, 2015 Share Posted June 6, 2015 I know it's already been solved sometime in the past, but the Search on here is not cooperating. So, I am again trying to adapt an old mod to 6.0.5 Foundation. This is a Homepage Sales Items mod. It's working and now on plushcatalog. It does seem to randomize the products when I re-open the browser, although I can't find any code that appears to be controlling the random function. But I had hoped it would show different sales items each time the customer returned to the homepage during the same browser session. Maybe it never did that. I haven't used it for some time now, so my memory is foggy. Is this something Foundation can do? I couldn't find anything about randomizing on zurb.com. Quote Link to comment Share on other sites More sharing options...
bsmither Posted June 6, 2015 Share Posted June 6, 2015 "the Search on here is not cooperating."I've given up using the search on these new forums. I now use Google.random sale product site:forums.cubecart.com Quote Link to comment Share on other sites More sharing options...
bsmither Posted June 6, 2015 Share Posted June 6, 2015 "Is this something Foundation can do?"No. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted June 6, 2015 Author Share Posted June 6, 2015 OK, Thanks for that. I'll quit searching then. lolI was leaving site: off in my Google search. Quote Link to comment Share on other sites More sharing options...
bsmither Posted June 6, 2015 Share Posted June 6, 2015 Is it this mod? Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted June 6, 2015 Author Share Posted June 6, 2015 No, it's an older one I've had for some time. I wish it had been SemperFi's. He's always very quick to respond and give help with his mods and plugins.I had the Fusion version working on an early v5, and then had problems upgrading. But yesterday I was able to get it to work with Foundation. The more I try, the more I can do - it's just slow going with lots of crashes while I figure stuff out the hard way. LOL Quote Link to comment Share on other sites More sharing options...
bsmither Posted June 6, 2015 Share Posted June 6, 2015 "But yesterday I was able to get it to work with Foundation."So, it's a done deal?"I had hoped it would show different sales items each time the customer returned to the homepage during the same browser session."You can get Smarty to (sort of) randomize an array and only show the first X items (limits exactly like the mini-basket).But there is no legitimate randomizing function in Foundation - it's just a skin. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted June 7, 2015 Author Share Posted June 7, 2015 I might come back to this at a later date, but for now, I'll leave it alone as is. Thanks!! Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted April 18, 2016 Author Share Posted April 18, 2016 I'm going to re-visit this for v6. I have the old Homepage Sale Items mod working OK on 6.0.11, but I would like it to randomize the display. Quote You can get Smarty to (sort of) randomize an array and only show the first X items (limits exactly like the mini-basket). Could you elaborate on this, @bsmither ? Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 18, 2016 Share Posted April 18, 2016 A skin solution? As opposed to a core code solution? Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted April 18, 2016 Author Share Posted April 18, 2016 I apologize, as I have been fiddling with various odds and ends today, and something I tried must have conflicted with the random display. It's working now. Sorry. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.