MiniVend Akopia Services

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

Re: minivend-users V1 #283



G'day Brian,

 > I would add something similar to the following to your basket page:
 > 
 > [perl interpolate=1]
 > 	my $var = [subtotal] || 0;
 > 	if ($var => 80) {
 >     $out = '[order insurance]Click here to add shipping insurance[/order]';
 > 	$out;
 > [/perl]
 > 
 > and then put items in your products.asc to represent insurance costs.
 > I'm not sure how the subtotal item is stored ($80, 80, $80.00) so
 > you may have to strip some stuff off. But this should work 

Thanks for this... it comes up regardless of the subtotal (ie, it
still doesn't seem to pickup the value of the subtotal), but... 

It gave me a different way of approaching things...  I could have
Insurance as an accessory or related item... hmm.  Thanks for feeding
the thought process.  :-)  


Cheers,
Gaelyne


 //\         /\\    Gaelyne R. Gasson        gaelyne@videocam.net.au
|| * \ . . / * ||   90 Hilliers Rd           Phone: +61 8 8322-2716
 \\____\X/____//    Reynella, S.A. 5161      Fax:   +61 8 8387-5810
  / *  /O\  * \     Australia                ICQ:   5069384
  \__/  "  \__/     http://videocam.net.au   http://vcsweb.com
                    C64/128 Support  *  Web Hosting  *  Web Design



Search for: Match: Format: Sort by: