Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

[mv] Re: final mv3 -> mv4 puzzle [MV Bug, fixed]



******    message to minivend-users from Dan Busarow <dan@dpcsys.com>     ******

On Thu, 20 Apr 2000, Dan Busarow wrote:
> With MV3 we had
> 
> [if data session ship_message]  
> <B>Note:</B> [data session ship_message]
> [/if]
> 
> and this is what the MV4 simple demo has as well.  It's not working though,
> session ship_message is not getting set.
> 
> Possibly related is that the shipping method calculation using the
> country table to get the shipmodes also fails for these over 150#
> orders, that is the page ends up with a <select></select>.  I
> changed that to a [loop arg="upsg upsb upsr"] and then get the
> selections with the "correct" shipping of 0.00 for these.

Found it!  Bug in Interpolate.pm.  Here's the diff

stores $ diff -c Interpolate*
*** Interpolate.pm      Fri Apr 21 15:39:34 2000
--- Interpolate.pm.orig Fri Apr 21 15:37:30 2000
***************
*** 4822,4828 ****
                        last SHIPIT unless $o->{continue};
                }
                elsif ($what =~ s/^e\s*//) {
!                       $error_message = $what;
                        $error_message =~ s/^e\s*//;
                        $error_message =~ s/\@\@TOTAL\@\@/$total/ig;
                        $final = 0 unless $final;
--- 4822,4828 ----
                        last SHIPIT unless $o->{continue};
                }
                elsif ($what =~ s/^e\s*//) {
!                       $error_message = $
                        $error_message =~ s/^e\s*//;
                        $error_message =~ s/\@\@TOTAL\@\@/$total/ig;
                        $final = 0 unless $final;
stores $

This is MV4.03

Dan
-- 
 Dan Busarow                                                  949 443 4172
 Dana Point Communications, Inc.                            dan@dpcsys.com
 Dana Point, California  83 09 EF 59 E0 11 89 B4   8D 09 DB FD E1 DD 0C 82

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: