PDA

View Full Version : Small Idea re Postage


benFF
03-28-2007, 05:25 AM
Just a small box to allow max postage (either in total or per vendor).

So for example (with £2 each or max £5):

1 item £2
2 items £4
3+ hit the max of £5

Mythotical
04-04-2007, 02:31 AM
Small idea but a good one, I will discuss the idea with The Geek for future versions.

benFF
04-06-2007, 07:56 PM
Cool - per vendor would be particularly useful ;)

benFF
04-11-2007, 06:08 AM
Hmm... this is causing trouble now. Someone just ordered 10 items, so their postage came to £20.95! I refunded the excess in PayPal, but it sent the IPN back, so now their order shows as refunded.

Is there someone in the code I can quickly hack in a :

If vendor_id=2 and postage > 495 then postage = 495

?

The Geek
04-11-2007, 12:00 PM
hmmm... ill have to comb through the code to see if I can find something for you. Technically a module should be able to do it for you - just give me a few to find

benFF
04-11-2007, 05:21 PM
Cheers! :)

The Geek
04-11-2007, 05:31 PM
hmmm. A mod wont do it. You will need to edit the set_postage function in gmart_cart.php how you want. It would be a nice feature for the future (at least a nice hook location!)