Post by MrConn » Wed Apr 14, 2010 1:41 am

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!

Image
Nemmelig.no - Billige Gadgets!


Active Member

Posts

Joined
Tue Mar 23, 2010 8:08 am

Post by Qphoria » Wed Apr 14, 2010 3:00 am

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

Attachments


Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by muhupower » Wed Apr 14, 2010 7:56 am

Thanks Q!

Newbie

Posts

Joined
Sat Apr 10, 2010 1:37 am

Post by MrConn » Wed Apr 14, 2010 4:24 pm

Thanks!
Worked like a charm!

Image
Nemmelig.no - Billige Gadgets!


Active Member

Posts

Joined
Tue Mar 23, 2010 8:08 am

Post by neuvo » Fri Apr 30, 2010 4:29 pm

is there a way to do this on open cart v1.3.4 ? thanks.

Newbie

Posts

Joined
Thu Apr 29, 2010 8:30 pm

Post by Xsecrets » Fri Apr 30, 2010 8:54 pm

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

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by vsailo » Wed Jun 02, 2010 6:04 am

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.

Newbie

Posts

Joined
Wed Jun 02, 2010 6:01 am

Post by fido-x » Wed Jun 02, 2010 6:21 am

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.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by dragonfly » Thu Jul 15, 2010 6:42 am

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!

New member

Posts

Joined
Sat Jan 30, 2010 8:13 pm
Location - Wiltshire, UK

Post by fido-x » Thu Jul 15, 2010 1:51 pm

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?

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by Qphoria » Thu Jul 15, 2010 11:55 pm

Ive also updated the quickndirty above to fix the zip

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by dragonfly » Fri Jul 16, 2010 9:05 am

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! :)

New member

Posts

Joined
Sat Jan 30, 2010 8:13 pm
Location - Wiltshire, UK
Who is online

Users browsing this forum: naveen433 and 71 guests