Post by t0r » Mon Jun 07, 2010 10:43 pm

Hi,
as the subject says, is there a way to show special offers in home page without a box?
What I mean is, in the home page, below the initial products box (the middle class), I'd also like to show the special offers.

E.G.:

Code: Select all

                                             HEADER
LEFT COLUMN                                                                        |RIGHT COLUMN
                    |       Welcome to my store                                 | 
                    |        Product 1 | Product 2 | Product 3              |
                    |        -----------------------------------------            |
                    |        SPECIAL OFFERS                                       |
                    |         Product 1 | Product 2 | Product 3             |
-----------------
------------------------------------------FOOTER-------------------------------

t0r
Newbie

Posts

Joined
Mon Apr 19, 2010 4:42 pm

Post by jefrey1983 » Tue Jun 08, 2010 4:46 am

you can replace the latest with special i forgot the link but its somewhere here in the forum try this " latest to best seller"

User avatar
Active Member

Posts

Joined
Sat Jan 30, 2010 6:58 pm

Post by dpDesignz » Tue Jun 08, 2010 5:06 am

Try looking at the homepage module from fido-x. This may be what your looking for.
http://www.fido-x.net/index.php?route=p ... duct_id=81

http://dpDesignz.webs.com Web & Publication Designer


User avatar
New member

Posts

Joined
Thu Jun 03, 2010 1:45 pm
Location - Waikato, New Zealand

Post by t0r » Fri Jun 18, 2010 5:48 pm

dpDesignz wrote:Try looking at the homepage module from fido-x. This may be what your looking for.
http://www.fido-x.net/index.php?route=p ... duct_id=81
That was exactly what I was looking for. Thank you very much ;)

t0r
Newbie

Posts

Joined
Mon Apr 19, 2010 4:42 pm

Post by Qphoria » Fri Jun 18, 2010 8:00 pm

t0r wrote:
dpDesignz wrote:Try looking at the homepage module from fido-x. This may be what your looking for.
http://www.fido-x.net/index.php?route=p ... duct_id=81
That was exactly what I was looking for. Thank you very much ;)
FYI, You won't need this in 1.4.8

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by allenshea » Fri Jun 18, 2010 9:10 pm

Qphoria wrote:
t0r wrote:
dpDesignz wrote:Try looking at the homepage module from fido-x. This may be what your looking for.
http://www.fido-x.net/index.php?route=p ... duct_id=81
That was exactly what I was looking for. Thank you very much ;)
FYI, You won't need this in 1.4.8

I like Homepage module from Fido-X, because the module makes SPECIAL products more flexible.
1.4.8 is good, but the SPECIAL products on homepage is fixed, not like the module from FIDO-X.

If OC term can make SPECIAL products flexible in homepage would be great.

Allen

I know nothing about PHP and SQL, but I still try my best to understand it.


Active Member

Posts

Joined
Mon Dec 14, 2009 10:01 pm

Post by Qphoria » Fri Jun 18, 2010 9:32 pm

allenshea wrote: I like Homepage module from Fido-X, because the module makes SPECIAL products more flexible.
1.4.8 is good, but the SPECIAL products on homepage is fixed, not like the module from FIDO-X.

If OC term can make SPECIAL products flexible in homepage would be great.

Allen
WTF does that mean?

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Qphoria » Fri Jun 18, 2010 9:47 pm

I just dl'd the homepage 148 module. There are no longer any of the module things in this version. Seems to be just homepage news entries now.

FYI to fido-x, there are a few issues I've noticed
- the image manager link for homepage entries needs the token tag added in the tpl
- The home page entries are missing the top and sides. Only the bottom rounded line is showing
- Since home is the only option you are using in position, you could probably just hardcode that.

I don't know what flexible means tho, A specials module simply shows specials. Looking at the code in the 1.4.6 version of the homepage mod for specials shows the exact same code that the one in 1.4.8 shows so I have no idea what you are talking about allen

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by allenshea » Fri Jun 18, 2010 9:52 pm

Qphoria wrote:
allenshea wrote: I like Homepage module from Fido-X, because the module makes SPECIAL products more flexible.
1.4.8 is good, but the SPECIAL products on homepage is fixed, not like the module from FIDO-X.

If OC term can make SPECIAL products flexible in homepage would be great.

Allen
WTF does that mean?

If you have the module from Fido-X. You will find out that once you refresh homepage, the SPECIAL products on homepage are always changing. Not like what we have in 1.4.8.

The Special function from Fido-X is very cool, the one from 1.4.8 is too simple.

Allen

I know nothing about PHP and SQL, but I still try my best to understand it.


Active Member

Posts

Joined
Mon Dec 14, 2009 10:01 pm

Post by Qphoria » Fri Jun 18, 2010 10:08 pm

allenshea wrote: If you have the module from Fido-X. You will find out that once you refresh homepage, the SPECIAL products on homepage are always changing. Not like what we have in 1.4.8.

The Special function from Fido-X is very cool, the one from 1.4.8 is too simple.

Allen
Lol wtf.. thats a 2 word change. Why not ask how to do it rather than use ambiguous words like "Flexible"

1. EDIT: catalog/model/catalog/product.php

2. FIND (under getProductSpecials function):

Code: Select all

$sql .= " ORDER BY LCASE(" . $sort . ")";
3. REPLACE WITH:

Code: Select all

$sql .= " ORDER BY rand()";
Was that so hard?

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by allenshea » Fri Jun 18, 2010 10:18 pm

Qphoria wrote:
allenshea wrote: If you have the module from Fido-X. You will find out that once you refresh homepage, the SPECIAL products on homepage are always changing. Not like what we have in 1.4.8.

The Special function from Fido-X is very cool, the one from 1.4.8 is too simple.

Allen
Lol wtf.. thats a 2 word change. Why not ask how to do it rather than use ambiguous words like "Flexible"

1. EDIT: catalog/model/catalog/product.php

2. FIND (under getProductSpecials function):

Code: Select all

$sql .= " ORDER BY LCASE(" . $sort . ")";
3. REPLACE WITH:

Code: Select all

$sql .= " ORDER BY rand()";
Was that so hard?

Thanks Q, this works great.

I know nothing about PHP and SQL, but I still try my best to understand it.


Active Member

Posts

Joined
Mon Dec 14, 2009 10:01 pm

Post by namasy » Thu Aug 05, 2010 1:51 am

i can't download any free mod in http://www.fido-x.net

and i need buy news mod

What to do if you were my place ?

Newbie

Posts

Joined
Thu Apr 01, 2010 6:22 am

Post by sunsys » Sat Mar 28, 2015 9:21 pm

Qphoria wrote: 1. EDIT: catalog/model/catalog/product.php

2. FIND (under getProductSpecials function):

Code: Select all

$sql .= " ORDER BY LCASE(" . $sort . ")";
3. REPLACE WITH:

Code: Select all

$sql .= " ORDER BY rand()";
Was that so hard?

Thanks a lot Q sir, this worked great on OC-1564, even after 5 years.

Regards,
Sun Systems
Industrial Electronics and Instrumentation


User avatar
Active Member

Posts

Joined
Tue Jan 27, 2015 5:19 am
Who is online

Users browsing this forum: No registered users and 114 guests