Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Automatic Conditions of usage: HELP!


mushindo

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...