[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Another $0.00 Shipping Charges Problem
On Sun, 10 Oct 1999, you wrote:
> ****** message to minivend-users from "Cameron B. Prince" <princecb@inetexpertsinc.com> ******
>
> He guys,
>
> I solved this. It was another case of lack of RTFM. :)
>
> The code should be:
>
> [if value shipping == 0]
>
> Thanks again for your help,
>
> Cameron B. Prince
Hmm, this looks interesting. So, how do you prevent an old shipping
choice from remaining active? I.e. the user chooses to ship to his uncle
in the US and chooses UPS Ground as the shipping method. After hitting
'update' the user decides to ship the order directly to Botswana. Since
the shipping choice is still UPS Ground, the shipping comes to $0.00 even
though the shipping choices no longer include UPS Ground. The problem can
be seen in the mini receipt that is at the top of the checkout page.
Any ideas?
The following might work, but I wanted to know if anyone else had a
solution.
Here's what I was thinking.
- at the top of the page, before the section that shows the totals for the
order, check the shipping.
- if the shipping is zero _and_ the country has been set, then use the
country to select a shipping mode (first one probably) and put that into
mv_shipmode.
Would this work?
Best,
Kyle (KH)