Zen Cart Logo
Forums / General Questions / I'm trying to find define('STORE_OWNER', ... but cannot find

I'm trying to find define('STORE_OWNER', ... but cannot find

Views: 749

Results 1 to 5 of 5
12 Feb 2014, 11:13 PM
#1
tcarden avatar

tcarden

Zen Follower

Join Date:
Oct 2012
Posts:
282
Plugin Contributions:
0

I'm trying to find define('STORE_OWNER', ... but cannot find

i want to create a new constant and put in the same file where STORE_OWNER is created but can't find.

i went Tools/Developer Took Kit and entered in: define('STORE_OWNER
and nothing is coming up. also check languages/english.php in both admin and store.

or maybe it gets created via a DB query? i dunno, can someone clue me.

we just want a custom CONSTANT and have it occur in place of STORE_OWNER

thank you,

12 Feb 2014, 11:22 PM
#2
stevesh avatar

stevesh

Black Belt

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

Re: I'm trying to find define('STORE_OWNER', ... but cannot find

It's in the configuration table in the DB and is set by the entry in Admin - Configuration - My Store - Store Owner.

13 Feb 2014, 1:13 AM
#3
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: I'm trying to find define('STORE_OWNER', ... but cannot find

Also, in searches for constants, it generally is better to leave off the additional/surrounding text. That type of search should have identified that the info was stored in the database.

13 Feb 2014, 1:30 AM
#4
tcarden avatar

tcarden

Zen Follower

Join Date:
Oct 2012
Posts:
282
Plugin Contributions:
0

Re: I'm trying to find define('STORE_OWNER', ... but cannot find

mc12345678:

Also, in searches for constants, it generally is better to leave off the additional/surrounding text. That type of search should have identified that the info was stored in the database.

ok, thanks guys

13 Feb 2014, 10:47 AM
#5
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,701
Plugin Contributions:
56

Re: I'm trying to find define('STORE_OWNER', ... but cannot find

The Search Configuration Keys mod can help you track things like this down yourself: http://www.zen-cart.com/downloads.php?do=file&id=1107