Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Override for dual pricing, min. order, etc.

Override for dual pricing, min. order, etc.

Locked

Views: 1,338

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
16 Jan 2007, 5:07 PM
#1
sunabac avatar

sunabac

Zen Follower

Join Date:
Dec 2006
Location:
Summer:Ontaio, Winter:Texas
Posts:
211
Plugin Contributions:
0

Override for dual pricing, min. order, etc.

When adding modules like: ceon cc, minimum order, dual pricing etc. should I put all the necessary new files into /MyCustom folder??

like these :
includes/extra_configures/minorderamount.php
includes/modules/minorderamount.php

should they go to:
includes/extra_configures/MyCustom/minorderamount.php
includes/modules/MyCustom/minorderamount.php

and like
admin/attributes_controller.php
admin/customers.php

into
admin/MyCustom/attributes_controller.php
admin/MyCustom/customers.php

If yes, are they suppose to overwrite the same file names of original zencart??

16 Jan 2007, 6:20 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Override for dual pricing, min. order, etc.

Most all modules are packaged as to where the files contained are to be located.

So you need to see the install instructions for each individual module

16 Jan 2007, 6:44 PM
#3
sunabac avatar

sunabac

Zen Follower

Join Date:
Dec 2006
Location:
Summer:Ontaio, Winter:Texas
Posts:
211
Plugin Contributions:
0

Re: Override for dual pricing, min. order, etc.

Should two modules overwrite the same file, what is the proper procedure??

16 Jan 2007, 7:16 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Override for dual pricing, min. order, etc.

If you have 2 mods that have alterations to the same file first you have to determine if they conflict by setting the same fields/functions differently.

If not, the you must merge the contents into a single file to get both the functions.

Make good notes on this for future upgrades and issues.