Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I'm developing a website and I need to input the price gradually increasing according to the weight:

the website trades in fabrics so the weight is little.. say 150g (or 0.150 kg)

so i made a list of weight/price as follow:

0.1:9.50,0.3:10.50,0.6:12.00,0.8:13.40,1.1:14.70,1.3:16.00,1.6:17.30,1.9:18.70,2.1:20.20,2.5:21.50,3:24.25,3.5:26.70,4:29.50,5:34.70,6:40.25,7:45.50,10:61.60,14:88.20,20:115.00

 

where 100g = to 9.50 ..600g = to 12.00 .. 1.1 kg = to 14.70 so on..

I set the weight of the product as 0.15 (which should mean 150g per item (each item would be 1metre (or 1 yard whatever))

if i purchase 3 items (should be 150gx3=450g right?) the shipping is calculate as 38.60!!!!! what m'I doing wrong?

this list of price is applicable for all countries.

 

one more problem I keep getting this error message even with the price set as default:

 

Deprecated: Function ereg() is deprecated in C:\wamp\www\admin\modules.php on line 237

 

Call Stack

# Time Memory Function Location

1 0.0012 851976 {main}( ) ..\modules.php:0

Posted

Sam,

 

You are using a pre 2.3.1 version of osCommerce. Having said that, you will find MANY deprecated ereg functions with prior versions. I suggest creating a new website with v2.3.1

 

 

 

 

 

Chris

Posted

Sam,

 

You are using a pre 2.3.1 version of osCommerce. Having said that, you will find MANY deprecated ereg functions with prior versions. I suggest creating a new website with v2.3.1

 

 

 

 

 

Chris

 

thanks Chris,

just want to add some information hoping that this is not the case..

 

I'm working on local host using (wampserver) at the moment and I'm working on a template that is all set already I just add some text and pictures and as i said shipping prices.

I did download a oscommerce version but can't remember which one was it.. can I just upgrade the OSCommerce file cause i wouldn't know how to re-make the whole website as it is..

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