uShop English (U.S.) for 179!

uStorekeeper English (U.S.) for 149!

 Tech Support
       Support Policy
       Knowledge Base
       Reference Sites
       Software Piracy
       Legal Notices
       Privacy Policy
       Reseller Info
       Contact Us
       Site Map
Reading values for currency conversion

Knowledge Base Lobby : uShop Support Conference : Programmer Tips
Jul-20-18 04:19 PM EST
Original Message
Reading values for currency conversion
Author Ben Muis on 07-01-2001 at 16:43 (EST)
I am using XE's currency conversion integrated in a site. The only location I have not been able to integrate it is in the 'view cart' page.

I am looking for a way to read the TOTAL value from the cart applet so that I can write it in a hidden field that then gets sent to XE if a customer wishes to see how much this total is in their own currency.

The whole thing runs smooth in the rest of the site already, so the basic concept of it works fine.

Any ideas?

Thanks and regards,
Ben Muis

Table Of Contents
  Web address for this site Ben Muis, 2001-07-01 16:45:12 (1)
            RE: Web address for this site Bill Weiner, 2001-07-01 23:16:27 (2)
                 Thanks Ben Muis, 2001-07-02 13:05:37 (3)

Messages In This Discussion
         1. Web address for this site
        Author Ben Muis on 07-01-2001 at 16:45 (EST)
By the way.......

the address of the existing site is

Go to the shop area to see examples of the currency conversion.

                 2. RE: Web address for this site
                Author Bill Weiner on 07-01-2001 at 23:16 (EST)
The only way to access the total on that page would be to use uShop's JavaScript API. In particular, the "getSubtotal()" function.

You may be able to add your own button to the page that "onClick()" initiates a JavaScript function that gets the subtotal (via the document.uShopJSI.getSubtotal() function) and POSTs it to your conversion service.

See the uShop Programmer's Guide for more information about using uShop's JavaScript API:
                         3. Thanks
                        Author Ben Muis on 07-02-2001 at 13:05 (EST)
Thanks, I'll give that a go!
Good service as always.

Ben Muis

© 2003 Microburst Technologies, Inc.