Jump to content
Sign in to follow this  
mushindo

Automatic Conditions of usage: HELP!

Recommended Posts

Hello,

 

Sorry for repeat topic, but I am desperate..lol.

 

I am still a bit of a newbie to PHP, but am currently working on a template for conditions of usage that I plan to use as a contribution once complete.

 

Basically what I am trying to do is this:

 

1. Using a basic e-commerce conditions of usage text information.

2. Pulling company name variable as stored in database, and seen in admin configuration page.

3. Pulling default email address as stored in database, and seen in admin configuration page.

 

The first part is done, the basic text, but being new to PHp I have no clue how to go about automatically pulling the company name and default email address into my conditions text dynamically. This would be of course place into the following file:

 

/catalog/includes/languages/english/conditions.php

 

And must work with the current default shnapshot of this file:

 

define('TEXT_INFORMATION', 'My template conditions text'');

?>

 

I was looking for a quick fix on some of these sections so I don't have to retype everything, etc, for each customer I have.

 

Any help is greatly appreciated and I will be sure to send you a copy once complete!

:P


Sincerely,

Bruce

 

19 contributions submitted

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×