Zen Cart Logo
Forums / Code Collaboration / old programmer, new zenner

old programmer, new zenner

Views: 2,179

Results 1 to 6 of 6
29 Jun 2014, 02:27
#1
kurtrr avatar

kurtrr

New Zenner

Join Date:
Sep 2013
Location:
Yukon, Oklahoma, USA
Posts:
10
Plugin Contributions:
0

old programmer, new zenner

First: I've produced code to handle comodity prices that change by the second. However, to keep a customer from playing the system I need to be sure the commit time on the purchase is in a resonable time and that the price hasn't changed too much from the time they selected it.

I'm not havving much luck with the Dev Tools under administrator. Doing that and just greping for keywords keeps me going back to includes/classes/order.php and order_total.php plus the includes/modules/order_total directory.

Is there an overview of what each of the classes/modules/functions do? The commenting is a bit terse and sparse to me as a newcommer.

What I need is how to find where to put my time/price checking and if necessary bring the customer back to the shopping cart.
Also, if someone just happens to know class(es) or module(s) or function(s) I should start at that would be great too.
TIA

29 Jun 2014, 09:51
#2
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: old programmer, new zenner

kurtrr:

Is there an overview of what each of the classes/modules/functions do? The commenting is a bit terse and sparse to me as a newcommer.

You may find this useful.
http://www.zen-cart.com/wiki/index.php/Developers_API

Cheers
RodG

29 Jun 2014, 12:27
#3
kurtrr avatar

kurtrr

New Zenner

Join Date:
Sep 2013
Location:
Yukon, Oklahoma, USA
Posts:
10
Plugin Contributions:
0

Re: old programmer, new zenner

Wonderfull. This should help alot. EXCEPT that now I'll have to redo my existing code per the guide lines. Thanks!

30 Jun 2014, 14:22
#5
kurtrr avatar

kurtrr

New Zenner

Join Date:
Sep 2013
Location:
Yukon, Oklahoma, USA
Posts:
10
Plugin Contributions:
0

Re: old programmer, new zenner

Thanks lat9. This format makes clear where the overides go and how to do them. It will help too.

30 Jun 2014, 18:06
#6
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,760
Plugin Contributions:
9

Re: old programmer, new zenner

Zen Cart is in the process of leaving behind the foundation that was OSC. One big hint (which you've probably already figured out) is that a lot of the admin (backend) is manipulated in switches sometimes located in funny places.
Many of us had the problem of saying "I can do that" without taking the time to find out how ZC did it. Really comes back to haunt you at upgrade.
lat9's chart is an excellent tool and the developers tool kit in the Admin >> Tools menu is a great way to trace down an item.
Welcome to Zen Cart. With your background, you'll appreciate how powerful a solution it is.