Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / need some advice - "Item of the Month"

need some advice - "Item of the Month"

Started by wmorris on 8 Dec 2011, 4:31 AM · Views: 830

Results 1 to 11 of 11
8 Dec 2011, 4:31 AM
#1
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Post #1 by wmorris

I am looking a module or a contribution. What I am looking for to do is a "Item(s) of the month. It's like the specials module that shows on the main page. But just shows the item(s) of the month that's not on special. I hope someone understands what I going with this.

8 Dec 2011, 4:42 AM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,758
Plugin Contributions:
0

Post #2 by Kim

Like the Featured products?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

8 Dec 2011, 5:06 AM
#3
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Post #3 by wmorris

yes is it possible to change from "Featured Products" to "Products of the month"?

8 Dec 2011, 6:52 AM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Post #4 by gjh42

Certainly - you can redefine displayed text to anything you want in the language files. Search in Tools > Developers Toolkit for Featured Products and find the file where it is defined. There may be more than one, so be aware of which one(s) you are changing.

8 Dec 2011, 3:59 PM
#5
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Post #5 by wmorris

I have change some files but nothing changed

8 Dec 2011, 4:14 PM
#6
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Post #6 by gjh42

Locate all instances of defines for the text you want to change. Do another search for uses of the constants being defined in each case; one or more of those will be used in the file(s) which handle your desired output. That define will be the one to change.

8 Dec 2011, 4:18 PM
#7
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Post #7 by wmorris

When I change this:

/home/xxxxxx/public_html/morrisgiftshop.biz/includes/languages/english/featured_products.php

Line #22 : define('NAVBAR_TITLE', 'Featured Products');

Line #23 : define('HEADING_TITLE', 'Featured Products');

/home/xxxxxx/public_html/morrisgiftshop.biz/includes/languages/english/index.php

Line #23 : //define('TABLE_HEADING_FEATURED_PRODUCTS','Featured Products');

to this:

/home/xxxxx/public_html/morrisgiftshop.biz/includes/languages/english/featured_products.php

Line #22 : define('NAVBAR_TITLE', 'Products of the Month');

Line #23 : define('HEADING_TITLE', 'Products of the Month');

/home/xxxxx/public_html/morrisgiftshop.biz/includes/languages/english/index.php

Line #23 : //define('TABLE_HEADING_FEATURED_PRODUCTS','Products of the Month');

Nothing changes

8 Dec 2011, 4:22 PM
#8
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Post #8 by gjh42

/includes/languages/english/index.php

You are editing the core versions of those files, which most likely already have template override versions. Edit

/includes/languages/english/your_template/index.php

and the like instead.

8 Dec 2011, 4:27 PM
#9
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Post #9 by wmorris

gjh42:

/includes/languages/english/index.php

You are editing the core versions of those files, which most likely already have template override versions. Edit

/includes/languages/english/your_template/index.php

and the like instead.

there is no index.php file in my template folder.

and the template I am using is "ItsChristmas-1.1"

8 Dec 2011, 4:31 PM
#10
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Post #10 by gjh42

Do you already have a folder named /includes/languages/english/ItsChristmas-1.1/ ?
What is in it?

The process I described will let you find out for sure which file to edit, rather than us playing guessing games.

8 Dec 2011, 4:32 PM
#11
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Post #11 by wmorris

account_history_info.php

thats it