[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: Need help: Adjusting checkout.html
****** message to minivend-users from Dan Busarow <dan@dpcsys.com> ******
On Thu, 4 Mar 1999, Oliver Schade wrote:
> a) I need all prices including VAT (which is simple, I stored them in
> prices.asc) and need on the checkout.html-page a line with VAT, e.g.:
>
> Sum: DM X XXX,XX
> (VAT of this: DM XXX,XX) <--- which is [subtotal]/1.16
> P&P: DM XX,XX (16% VAT in Germany)
> Total: DM X XXX,XX
I'm guessing that what you really want for VAT is subtotal - (subtotal//1.16)
Try this
UserTag vat HasEndTag
UserTag vat Interpolate
UserTag vat Routine sub { ($a) = @_; return $a-$a/1.16; }
with
[vat][subtotal][/vat]
in the page. Requires [new] syntax, err, the new parser :)
> b) I tried to localize the SUBMIT-Button, which is marked with 'Place Order!'
> and '(Update without placing)' using the locale.asc-mechanism. But this
> does not work, minivend did not recognized the translated string and
> reported a ugly error-page...
>
> Again, which source-file do I have to patch?
Don't know
> c) How do I disable UPS-shipping and configure minivend to a 'Germany'-
> default-value?
See pages/hintfile.html and make <OPTION SELECTED> Germany your first
choice in the country SELECT. That assumes you are using [help country]
like the sample catalog does.
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