Zen Cart Logo
Forums / General Questions / Interesting idea I'm trying to implement for the sales section

Interesting idea I'm trying to implement for the sales section

Locked

Views: 955

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
28 Mar 2010, 7:52 AM
#1
rickwilliams avatar

rickwilliams

New Zenner

Join Date:
Jul 2009
Posts:
48
Plugin Contributions:
0

Interesting idea I'm trying to implement for the sales section

Hey all, I've got an idea I want to try out on a clients website.

I've had a search around the forums the other day and didn't find anything that would work or like what I'm trying to do.

Basics of it is,

I want all sale products to show on main page (I know this can be turned on/off in the admin panel) but I also want to be able to edit the sales main heading text via the admin panel in the define pages editor if possible, this saves me training my client how to alter files on the server and gives them an easy way to do it themselves, which is also a semi request from them.

So if this possible? And if so how easy can it be done?

29 Mar 2010, 11:15 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Interesting idea I'm trying to implement for the sales section

I guess I don't know what you mean by the 'sales main heading text'.

31 Mar 2010, 6:07 AM
#3
rickwilliams avatar

rickwilliams

New Zenner

Join Date:
Jul 2009
Posts:
48
Plugin Contributions:
0

Re: Interesting idea I'm trying to implement for the sales section

stevesh:

I guess I don't know what you mean by the 'sales main heading text'.

Ok so you know how if you have the Specials enabled on the main page or even say featured products or this months new products there is a heading in there that says Specials, well I want to find out if there is a way to make it possible to edit that text and add more text via a system like the define pages editor in the admin panel.

I know I can edit the file directly and change the heading, but my client isn't capable of editing this stuff directly without screwing it up and they want to keep costs down so getting me to change it every month etc isn't ideal. So ideally a system like the define pages editor would work best.

31 Mar 2010, 11:24 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Interesting idea I'm trying to implement for the sales section

The only built-in way to edit the headings of the content-boxes showing in the middle of your pages is via the language files.
ie: your english.php file:```
define('TABLE_HEADING_FEATURED_PRODUCTS','Featured Products');
define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');
define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');
define('TABLE_HEADING_SPECIALS_INDEX', 'Monthly Specials For %s');

1 Apr 2010, 7:48 AM
#5
rickwilliams avatar

rickwilliams

New Zenner

Join Date:
Jul 2009
Posts:
48
Plugin Contributions:
0

Re: Interesting idea I'm trying to implement for the sales section

DrByte:

The only built-in way to edit the headings of the content-boxes showing in the middle of your pages is via the language files.
ie: your english.php file:```
define('TABLE_HEADING_FEATURED_PRODUCTS','Featured Products');
define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');
define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');
define('TABLE_HEADING_SPECIALS_INDEX', 'Monthly Specials For %s');


Mmm still not the most optimal way for me to get the client not to muck around with internal files they shouldn't touch.

Could a module be made to do this?
1 Apr 2010, 8:20 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Interesting idea I'm trying to implement for the sales section

Yes, you're certainly welcome to custom-code anything you like. :blush:

2 Apr 2010, 10:51 AM
#7
rickwilliams avatar

rickwilliams

New Zenner

Join Date:
Jul 2009
Posts:
48
Plugin Contributions:
0

Re: Interesting idea I'm trying to implement for the sales section

DrByte:

Yes, you're certainly welcome to custom-code anything you like. :blush:

hah but where to start and my php sucks!

14 Apr 2010, 8:09 AM
#8
rickwilliams avatar

rickwilliams

New Zenner

Join Date:
Jul 2009
Posts:
48
Plugin Contributions:
0

Re: Interesting idea I'm trying to implement for the sales section

Right so I'm back on this subject again.

Are there some tuts for pointers out there on making custom modules and how to get them to interface with the admin panel etc?