Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

In the older version I was able to just make a copy of the table.php file and name it table2.php and table3.php but I can not get that to work in version 2.3.1. I went to Languages and made copies of the table.php to table2.php and table3.php.

In the includes/modules/shipping/table2.php i changed the class declaration to table2 to get rid of the error for duplicating the class.

 

class table2 {

var $code, $title, $description, $icon, $enabled;

 

// class constructor

function table2() {

global $order;

 

$this->code = 'table2';

 

When I go to install the module even though I changed the title and description in laguages/modules/shipping/table2.php to something different they all still had the same name and description.

 

How can I duplicate the table.php I need 1 table for standard shipping, 1 table for Air Shipping, and 1 table for Oversees Shipping. Can this be done?

 

I had my site all setup and everything was great for 4 years, hackers destroyed the whole thing, I am starting again from scratch and can not get aanything to work the way it did in the older version.

 

I would appreciate all the help I could get, my PHP skills have dropped since I have not had to do anything to my site in 4 years but I will get the hhang of it again , I HOPE.

 

Thank You,

PVC

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