Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

On my oscommerce database, it allows only flate rate shipping method (Registered mail for US$ 5.00 or whatever currency I may select).

It is looks that the configuration is set at .../includes/modules/shipping/flat.php however I have no idea ow can I change the "flat rate" value and/or how to add additional shipping methods.

 

1. (how to) Changing the flat fee to another value

I find the value 5.00 in line 76 in flat.php file (see pls below), I changed the value to 0.00, however the US$5.00 remains firm! in the <checkout_shopping.php> file where the Delivery Information is presented.

 

Anyone can help please?

A. How to change teh flate rate fee.

B. How to add additional delievrymethodes (self collection / Fedex etc.)

 

Thank you, Roni

 

In flat.php :

line 74 = function install() {

line 76 = tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Shipping Cost', 'MODULE_SHIPPING_FLAT_COST', '5.00', 'The shipping cost for all orders using this shipping method.', '6', '0', now())");

Posted
On my oscommerce database, it allows only flate rate shipping method (Registered mail for US$ 5.00 or whatever currency I may select).

It is looks that the configuration is set at .../includes/modules/shipping/flat.php however I have no idea ow can I change the "flat rate" value and/or how to add additional shipping methods.

 

1. (how to) Changing the flat fee to another value

I find the value 5.00 in line 76 in flat.php file (see pls below), I changed the value to 0.00, however the US$5.00 remains firm! in the <checkout_shopping.php> file where the Delivery Information is presented.

 

Anyone can help please?

A. How to change teh flate rate fee.

B. How to add additional delievrymethodes (self collection / Fedex etc.)

 

Thank you, Roni

 

In flat.php :

line 74 = function install() {

line 76 = tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Shipping Cost', 'MODULE_SHIPPING_FLAT_COST', '5.00', 'The shipping cost for all orders using this shipping method.', '6', '0', now())");

 

I'm a newbie so this response is worth what you paid for it, but if I had to guess - and I am - then I'd say that this function gets run when you first install the shipping module. So my guess, is the $5 is in the database, and you have to modify the value in the database. Either reiinstall the shipping module with your change, or reinstall all of osCommerce with your change, or simply edit the database and change the value.

 

Again - I'm a newbie and I'm just guessing based purely on what you posted.

  • 4 weeks later...
Posted

Hi

Do you only want to change the flat fee to something else? Go to admin > modules > shipping > Flat fee and change it to whatever you want. No need to change the pages themselves.

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