Zen Cart Logo
Forums / General Questions / Store_phone

Store_phone

Locked

Views: 1,078

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
25 Mar 2009, 10:15 AM
#1
buster52 avatar

buster52

New Zenner

Join Date:
Feb 2009
Location:
Carlisle, Cumbria, UK
Posts:
28
Plugin Contributions:
0

Store_phone

Where can i find the place to enter the STORE_PHONE in the conditions of use php there is the following

General email: <?php echo STORE_OWNER_EMAIL_ADDRESS; ?><br />
Telephone number: <?php echo STORE_PHONE; ?><br /><br />

The email address is coming up but I am not seeing the place to replace the line your Phone
I have looked in Configuration/My Store I can see the line for name address and phone number but not one just for your phone

25 Mar 2009, 12:47 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,176
Plugin Contributions:
0

Re: Store_phone

buster52:

Where can i find the place to enter the STORE_PHONE in the conditions of use php there is the following

General email: <?php echo STORE_OWNER_EMAIL_ADDRESS; ?><br />
Telephone number: <?php echo STORE_PHONE; ?><br /><br />

The email address is coming up but I am not seeing the place to replace the line your Phone
I have looked in Configuration/My Store I can see the line for name address and phone number but not one just for your phone

Bu,
admin panel/ configuration/ my store/ Store Address and Phone

Ex:
Busters, Inc.
111 Oak Street
Oak Cliff, NY 11111
333-333-3333

Now you will see a phone number appear

25 Mar 2009, 3:03 PM
#3
buster52 avatar

buster52

New Zenner

Join Date:
Feb 2009
Location:
Carlisle, Cumbria, UK
Posts:
28
Plugin Contributions:
0

Re: Store_phone

I have this In this panel

Crafty Ann's Shop
8 Holmrook Road,
Carlisle,
Cumbria,
CA2 7TG,
United Kingdom,
01228 540089

But I still get this

Our contact details are as follows:
Crafty Ann's Shop
8 Holmrook Road,
Carlisle,
Cumbria,
CA2 7TG,
United Kingdom,
01228 540089

General email: [email protected]
Telephone number: STORE_PHONE

does the phone number need to be somewhere else as well

25 Mar 2009, 3:52 PM
#4
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,176
Plugin Contributions:
0

Re: Store_phone

Buster,
Have you added this to the contact page???
Telephone number: STORE_PHONE

Need a link to view please

25 Mar 2009, 4:59 PM
#5
buster52 avatar

buster52

New Zenner

Join Date:
Feb 2009
Location:
Carlisle, Cumbria, UK
Posts:
28
Plugin Contributions:
0

Re: Store_phone

OK I give up where is the contact page

25 Mar 2009, 5:43 PM
#6
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,176
Plugin Contributions:
0

Re: Store_phone

buster52:

Where can i find the place to enter the STORE_PHONE in the conditions of use php there is the following

General email: <?php echo STORE_OWNER_EMAIL_ADDRESS; ?><br />
Telephone number: <?php echo STORE_PHONE; ?><br /><br />

The email address is coming up but I am not seeing the place to replace the line your Phone
I have looked in Configuration/My Store I can see the line for name address and phone number but not one just for your phone

Bu,
There is no entry for Store phone for you to echo.
So lets try this:

General email: <?php echo STORE_OWNER_EMAIL_ADDRESS; ?><br />
Store Information: <?php echo STORE_NAME_ADDRESS; ?><br /><br />

  1. It is the only way I could get the phone number to show up
25 Mar 2009, 6:23 PM
#7
buster52 avatar

buster52

New Zenner

Join Date:
Feb 2009
Location:
Carlisle, Cumbria, UK
Posts:
28
Plugin Contributions:
0

Re: Store_phone

Hi thanks for the help
I tried that but ended up with the address ect doubled up so I decided to delete the line in condition.php that was looking for store_phone now it looks ok.
and the phone number is in with the address line

25 Mar 2009, 6:31 PM
#8
buster52 avatar

buster52

New Zenner

Join Date:
Feb 2009
Location:
Carlisle, Cumbria, UK
Posts:
28
Plugin Contributions:
0

Re: Store_phone

A separate thing but do you know where I can find the page that lays out the log in register page I have removed the check box for news letter but I would like to completely remove the frame itself we do not intend to have a news letter ever and leaving the box there suggests that there might be a news letter

17 Apr 2009, 9:27 AM
#9
paddy100 avatar

paddy100

New Zenner

Join Date:
Feb 2007
Location:
UK &amp; Germany
Posts:
52
Plugin Contributions:
1

Re: Store_phone

buster52:

I tried that but ended up with the address ect doubled up so I decided to delete the line in condition.php that was looking for store_phone now it looks ok.
and the phone number is in with the address line

Copy and paste the code below to insert the STORE_PHONE variable. It will appear in Configuration->My Store.

Tested on 1.3.7 and 1.3.8. Code is taken from my Database so I know it works, however, NO WARRANTIES, NO Comebacks and BACKUP BACKUP BACKUP!!!!!!!!!!:cry:

INSERT INTO `configuration` (`configuration_id`, `configuration_title`, `configuration_key`, `configuration_value`, `configuration_description`, `configuration_group_id`, `sort_order`, `last_modified`, `date_added`, `use_function`, `set_function`) VALUES
(777, 'Store Phone', 'STORE_PHONE', '0', 'Enter the phone number for your store.<br>You can call upon this by using the define <strong>STORE_PHONE</strong>.', 1, 4, '2009-03-13 11:15:06', '2008-04-12 10:02:51', NULL, NULL);