Zen Cart Logo

Zen-Cart Flow

Views: 10,508

Results 1 to 7 of 7
3 May 2011, 8:33 PM
#1
g2ktcf avatar

g2ktcf

Totally Zenned

Join Date:
Feb 2011
Location:
Lumberton, TX
Posts:
636
Plugin Contributions:
0

Zen-Cart Flow

I recently had a problem that took me three days to find. Stupid thing really but I could have looked in the right place if I knew how Zen-Cart "flows" from one page to another.

One thing I was looking for is the "continue" button on page 1 of the checkout page. What command does it call? What function? Is there something out there that shows the interaction of all the pages/commands?

3 May 2011, 10:19 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Zen-Cart Flow

See "Similar Threads" below.

13 Oct 2015, 12:39 PM
#3
jpda avatar

jpda

Zen Follower

Join Date:
Jun 2014
Posts:
157
Plugin Contributions:
0

Re: Zen-Cart Flow

Looking for "Program Flow" I have found this one for v1.3. Is a v1.5 version available?

Thanks in advance,

jpda

13 Oct 2015, 1:07 PM
#4
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Zen-Cart Flow

jpda:

Looking for "Program Flow" I have found this one for v1.3. Is a v1.5 version available?

Thanks in advance,

jpda

I haven't looked at the details of the download referenced by following the bouncing ball on zen-cart program flow, but the general flow remains the same, it is some/significant detail that changes along with added security/checks. But same basic process still applies.

Another way to see/review the program flow is to start with the index.php file in the store root and pull in all of the details/pieces as necessary to gain the desired understanding. Someone may/may have updated such a document, but I would think it would be along the lines to make a profit as enough has stayed the same for that to generally still apply.

13 Oct 2015, 2:17 PM
#5
jpda avatar

jpda

Zen Follower

Join Date:
Jun 2014
Posts:
157
Plugin Contributions:
0

Re: Zen-Cart Flow

Thanks mc for your quick reply, I will follow your advice!
I have been working with ZC since 2009, mostly installing, adding/adapting mods and modifying the visual aspect of templates for customers. Now I want to know about the do's and dont's of developing mods for ZC.

Cheers,

jpda

13 Oct 2015, 3:42 PM
#6
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Zen-Cart Flow

jpda:

Thanks mc for your quick reply, I will follow your advice!
I have been working with ZC since 2009, mostly installing, adding/adapting mods and modifying the visual aspect of templates for customers. Now I want to know about the do's and dont's of developing mods for ZC.

Cheers,

jpda

Well, dos and donts is a separate topic than the flow of the code... There is this FAQ on program plugins, but I'm also sure there are more related links available. https://www.zen-cart.com/content.php?42-plugin-contribution-guidelines

I look at it from, do be helpful, don't break things, do test as much as possible/feasible, don't forget security/how things can go wrong and what will happen if they do, try not to alter core code and instead provide the solution from the approach of the template or other overrideable aspect, sometimes a minor override is necessary to offer addtional capability and if/when so try to add the functionality using a notifier/observer pair.

Just some big picture dos/donts... Biggest thing: do give it your best and have fun with it, and don't be surprised to make a mistake and start all over... Life happens... :)

13 Oct 2015, 5:17 PM
#7
jpda avatar

jpda

Zen Follower

Join Date:
Jun 2014
Posts:
157
Plugin Contributions:
0

Re: Zen-Cart Flow

mc12345678:

Well, dos and donts is a separate topic than the flow of the code... There is this FAQ on program plugins, but I'm also sure there are more related links available. https://www.zen-cart.com/content.php?42-plugin-contribution-guidelines

I look at it from, do be helpful, don't break things, do test as much as possible/feasible, don't forget security/how things can go wrong and what will happen if they do, try not to alter core code and instead provide the solution from the approach of the template or other overrideable aspect, sometimes a minor override is necessary to offer addtional capability and if/when so try to add the functionality using a notifier/observer pair.

Just some big picture dos/donts... Biggest thing: do give it your best and have fun with it, and don't be surprised to make a mistake and start all over... Life happens... :)
Thanks again mc!

Cheers,

jpda