[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
[mv] Add shipping to subtotal
****** message to minivend-users from "Paul Burden" <paul_burden@tribalinternet.co.uk> ******
How do you add shipping to subtotal and then display it.
My shipping and subtotals works.
I tried inventing a USERTAG [total-ship] in the catalog.cfg
# SUBTOTAL AMENDMENT
# Subtotal includes the shipping
UserTag subtotal-ship Routine <<EOR
sub {
my $subt = '[[subtotal]]';
my $ship = '[[shipping]]';
$totalship = $subt + $ship;
return $totalship;
}
EOR
So I could just display this subtotal-ship value like so.
<FONT COLOR="red">[subtotal-ship]</FONT>
Please can someone ASAP
Paul Burden
-
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