Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I need help on where to put printorder.sql


Tom knight

Recommended Posts

I am sorry i start a New Post the Post for this is [Contribution] osC-PrintOrder with Store Logo v1.1.

Here what it have in the printorder.sql i'am lost on this.

 

# Add a column in the orders table to store the info transaction

 

ALTER TABLE `orders` ADD `payment_info` TEXT AFTER `payment_method` ;

 

# Adds a new row to the Configuration Table

 

INSERT INTO configuration VALUES ('', 'Store Logo', 'STORE_LOGO', 'YourStoreLogo.gif', 'This is the logo for my store', 1, 2, '', '', NULL, NULL);

Link to comment
Share on other sites

I do but i read a Error ever time i upload it to my database table

here the Error

 

 

Error

 

SQL-query :

 

ALTER TABLE `orders` ADD `payment_info` TEXT AFTER `payment_method`

 

MySQL said:

 

 

Duplicate column name 'payment_info'

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