Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hi, Iam trying to install an email template contribution. The 2nd step in the install file is:

 

Step 2:	Add the following to the database:# Table structure for table `email_templates`CREATE TABLE email_templates (  id smallint(6) NOT NULL auto_increment,  grp varchar(50) NOT NULL default '',  title varchar(255) NOT NULL default '',  subject varchar(255) NOT NULL default '',  contents text NOT NULL,  updated datetime NOT NULL default '0000-00-00 00:00:00',  PRIMARY KEY  (id)) TYPE=MyISAM;# Template examplesINSERT INTO email_templates VALUES (1, 'Customer', 'Happy Birthday', 'Happy Birthday To You', '<P><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Dear [CUSTOMER_NAME], <BR>Warmest greeting from our store.</FONT></P>\r\n<P><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2><FONT color=#ff6600 size=5>HAPPY BIRTHDAY<BR></FONT>Your Birthday: [CUSTOMER_DOB]<BR>Your Email: [CUSTOMER_EMAIL]<BR>Your Phone: [CUSTOMER_PHONE]<BR>Your Fax: [CUSTOMER_FAX]<BR><BR></FONT></P>\r\n<P><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Regards,<BR><STRONG><FONT color=#0066ff>Online Store</FONT></STRONG></FONT><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2><BR></P></FONT>', '2005-01-25 10:16:47');INSERT INTO email_templates VALUES (2, 'Order', 'Order has been completed', 'Your order has been completed', '<P>Dear [CUSTOMER_NAME],</P>\r\n<P>We have completed your order and now on the way to your place. Thank you and enjoy our products.</P>', '2005-01-25 10:22:56');

 

I have know idea how to perform this step. I have installed contribution where I have had to execute an sql file using phpMyadmin which I can do. Is this step a similar process? Could someone please step me through how to do it?

 

Much appreciated.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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...