Page 1 of 1

Flatrate Shipping - Weight Expression not working

Posted: Thu Apr 30, 2020 9:13 am
by Edwin_IandD
Good morning all,

I am trying to use the Weight Expression in the CGFlatRateShipping module, but it doesn't seem to be working.

I have copied this "{$weight/1000} * 4.5" from the module's help file and changed the 4.5 to 6. This should cause the shipping to change to multiples of 6, but for some reason it doesn't it stays at 6.

The 6 comes from the minimum value in the shipping module. If I leave this blank, postage is set at 0.

I've tried removing the spaces from the expression, but that doesn't change either.

Any ideas?

Many thanks,
Edwin

Re: Flatrate Shipping - Weight Expression not working

Posted: Sat May 09, 2020 12:56 pm
by Edwin_IandD
Nobody any ideas?

Re: Flatrate Shipping - Weight Expression not working

Posted: Sat May 09, 2020 1:04 pm
by velden
Without knowing anything about the module, what happens if you change it to:

Code: Select all

{$weight/1000 * 4.5}

Re: Flatrate Shipping - Weight Expression not working

Posted: Mon May 11, 2020 1:20 pm
by Edwin_IandD
Thanks for your reply velden. Unfortunately it's not that simple.. I think I tried every single combination of the code - with and without spaces in almost every spot...

I can't seem to make it work.

Calguy himself not on here anymore, by the way?
I thought he was a moderator at some stage.