Jump to content
spacegremlin

shipping cost values

Recommended Posts

can someone tell me how i can doe the shippingcosts correctly

i tried every thing, but if do

20 grams for 0.91 euro

and i do

90 grams for 1.82 euro

it doesnt add up correctly.

if i do 21 in the item, it does not do the 1.82 euro wich i would assume it would do.

i also tried maybe he wants it in lbs, but stil it does not go.

thank you

 

 

Share this post


Link to post
Share on other sites

Here is how I enter it in my shipping modules.

0.1:0.83,0.25:1.32,0.50:1.72,0.75:2.33,1:3.00,2:4.05,

The first 0.1 is 100g so if you want 20g it will need to be 0.02 and 90g will need to be 0.09

the next 0.83 is the cost in GBP that's 83p

And so on. The 0.25 is 250g

eventually getting to 2 which is 2kg

Hopefully that makes sense.

You will need to write yours as

0.02:0.91,0.09:1.82, and continue adding the weight and the cost separated by a :

I did also change the weight in the database to be something like decimal(5,3) wherever weight is mentioned (mainly product wieght), if its not already that so you get the correct places after the decimal point. 5:3 is five places before the decimal point and three after.  I think I seem to remember that in standard osc it may only be 5:2.

 


REMEMBER BACKUP, BACKUP AND BACKUP

Get the latest Responsive osCommerce CE (community edition) here

It's very easy to over complicate what are simple things in life

Share this post


Link to post
Share on other sites

i gonna try that.

but what values are these, 
i assume the money is GBP?? because i use euro, but i have to work with gbp, thats no problem
only if i now the correct values, if this works, then i know

and the 0.1 is pounds to 100gram?

and if i do your example, in the product weigt i use 20gramm.

or do i use 0,02

 

Edited by spacegremlin

Share this post


Link to post
Share on other sites

The money is the stores currency. So euros or GBP it makes no different its the way they are entered that you are interested in. The 0.83 could be cents, euros or pounds. It would be 0.83 of a euro. One Euro will be wrote as 1.0 or even just 1.

Again the weight makes no difference as nowhere in your store does it require a specific weight entry. If your shippers charge you in pounds rather in in kilogrammes use pounds. All my shippers use kilogrammes. but you have to figure out and stay consistent with the way you enter the weights throughout your store. Again 1 can be either 1kg or one pound, its what comes after the decimal point that will make the difference..

What have you tied so far. Post how you have entered something in the shipping section to calculate the costs and may be I could see where you are going wrong.


REMEMBER BACKUP, BACKUP AND BACKUP

Get the latest Responsive osCommerce CE (community edition) here

It's very easy to over complicate what are simple things in life

Share this post


Link to post
Share on other sites

i m first reinstalled  my store.
but i also noticed, if i was testing, after each other again and again.
it took also some values out of my cache very strange, so when i have the main shop , correct again.
i m going to look at the weight think, because with the new installed shop, it looks like it does work
like would expected.

But what im doing is.
the product gets a weight of 15 (thats 15 gram to me)

The store settings 19:0.91,49:1.82,99:2.73

19 is 19gram
99 is 99 gram

when i have a product of 70gram i place 70 in the item weight.

i also encounterd the problem i wanted to place 2000gram in the item weight.
but i say it doesnt go higher then 999.99

thank you.

 

Share this post


Link to post
Share on other sites
On 1/25/2020 at 6:46 PM, spacegremlin said:

i m first reinstalled  my store.
but i also noticed, if i was testing, after each other again and again.
it took also some values out of my cache very strange, so when i have the main shop , correct again.
i m going to look at the weight think, because with the new installed shop, it looks like it does work
like would expected.

But what im doing is.
the product gets a weight of 15 (thats 15 gram to me)

The store settings 19:0.91,49:1.82,99:2.73

19 is 19gram
99 is 99 gram

when i have a product of 70gram i place 70 in the item weight.

i also encounterd the problem i wanted to place 2000gram in the item weight.
but i say it doesnt go higher then 999.99

thank you.

 

1 gram = 0.001
10 grams = 0.01
100 grams = 0.1
1 kilogram = 1

You have to change the setting of number of decimals after zero in phpmyadmin before because oscommerce is setting by default with only 2 decimals after zero.

Edited by milerwan

Osc v2.3.4 BS "custom"
PHP 7.3 compatible (710 modified files => o_O')

Share this post


Link to post
Share on other sites
19 hours ago, spacegremlin said:

okey gonna do that.

 

I suggested that as the first reply to your question, so why didn't you do it then. You could have saved yourself a lot of trouble.


REMEMBER BACKUP, BACKUP AND BACKUP

Get the latest Responsive osCommerce CE (community edition) here

It's very easy to over complicate what are simple things in life

Share this post


Link to post
Share on other sites

i see, i tough he was talking about another option.

your solution did not work, im not sure if i already tried that on the new installed shop

so im gonna try again. thank you.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×