Page 1 of 1
How can I get LatesProducts AND FeaturedProducts on homepage
Posted: Wed Apr 14, 2010 1:41 am
by MrConn
Hi,
How can I get both LatestProducts (as now) and FeaturedProducts on the homepage?
I was thinking 4 latest products and 8 or 12 featured...
Thanx!
Re: How can I get LatesProducts AND FeaturedProducts on home
Posted: Wed Apr 14, 2010 3:00 am
by Qphoria
In the next version, this will be configurable from the admin.
For now, in 1.4.7 I added featured products support so I hacked together this quick n dirty method
Re: How can I get LatesProducts AND FeaturedProducts on homepage
Posted: Wed Apr 14, 2010 7:56 am
by muhupower
Thanks Q!
Re: How can I get LatesProducts AND FeaturedProducts on homepage
Posted: Wed Apr 14, 2010 4:24 pm
by MrConn
Thanks!
Worked like a charm!
Re: How can I get LatesProducts AND FeaturedProducts on homepage
Posted: Fri Apr 30, 2010 4:29 pm
by neuvo
is there a way to do this on open cart v1.3.4 ? thanks.
Re: How can I get LatesProducts AND FeaturedProducts on homepage
Posted: Fri Apr 30, 2010 8:54 pm
by Xsecrets
neuvo wrote:is there a way to do this on open cart v1.3.4 ? thanks.
on 1.3.4 this module is your best bet.
http://www.fido-x.net/index.php?route=p ... duct_id=64
Re: How can I get LatesProducts AND FeaturedProducts on home
Posted: Wed Jun 02, 2010 6:04 am
by vsailo
Qphoria wrote:In the next version, this will be configurable from the admin.
For now, in 1.4.7 I added featured products support so I hacked together this quick n dirty method
Can you please verify the zip file or reupload. I downloaded the file many times, using various browsers, from various computers. All the downloads are corrupted.
Many thanks.
Re: How can I get LatesProducts AND FeaturedProducts on home
Posted: Wed Jun 02, 2010 6:21 am
by fido-x
Rather than using Q's "quick and dirty hack", you could try using my Homepage package, available from
here. Allows you to position the Latest Products, Featured Products and Special Offers modules, either on the homepage or in the column. You can also set limits on how many items are displayed within each individual module.
Re: How can I get LatesProducts AND FeaturedProducts on home
Posted: Thu Jul 15, 2010 6:42 am
by dragonfly
I'm using a customised template which isn't yet compatible with 1.4.8 so I thought I would find a way of replacing the 'Latest Products' on my home page with my 'Featured Products' for my current 1.4.7 install.
The zipped quick n dirty method posted by Q above is corrupted and I can't open that file.
Please could someone re-upload it?
I'd like to try this quick fix and see if it works with my template, if possible.
I have also tested the Homepage147 package, kindly provided by fido-x, but this gives me some 'Undefined variable' errors, so I'd rather not use that at the moment (regrettably).
Thanks in advance!
Re: How can I get LatesProducts AND FeaturedProducts on home
Posted: Thu Jul 15, 2010 1:51 pm
by fido-x
dragonfly wrote:I'm using a customised template which isn't yet compatible with 1.4.8 so I thought I would find a way of replacing the 'Latest Products' on my home page with my 'Featured Products' for my current 1.4.7 install.
...
I have also tested the Homepage147 package, kindly provided by fido-x, but this gives me some 'Undefined variable' errors, so I'd rather not use that at the moment (regrettably).
Thanks in advance!
First up, which version of OpenCart are you using, 1.4.7 or 1.4.8?
Second, could you be more specific with the "Undefined variable" errors you're getting?
Re: How can I get LatesProducts AND FeaturedProducts on home
Posted: Thu Jul 15, 2010 11:55 pm
by Qphoria
Ive also updated the quickndirty above to fix the zip
Re: How can I get LatesProducts AND FeaturedProducts on home
Posted: Fri Jul 16, 2010 9:05 am
by dragonfly
I'm using a fresh install of 1.4.7 but with a customised template.
The template isn't quite compatible with 1.4.8 but as it has been customised quite a lot, I'm reluctant to upgrade to 1.4.8 at the moment.
Instead, I found Fido's Homepage147 package, which I thought could help me change the items shown in the centre of my home page.
The errors were similar to the ones I got when I tried to upgrade to 1.4.8 and that were caused by the template.
I therefore assume they are caused by my template, rather than the Homepage147 files.
The 'undefined variable' errors all related to the home.tpl file, eg in:
Code: Select all
<div class="heading"><?php echo $text_latest; ?></div>
and
Code: Select all
<?php for ($i = 0; $i < sizeof($products); $i = $i + 4) { ?>
I will initially test the quickndirty file provided by Q (it unzips fine now you've changed it Q, many thanks!).
This could be a quick fix for what I'm trying to achieve.
I could then look again at Fido's Homepage147 solution to get more flexibility and options.
Thanks v much for your help!
