Announcement

Collapse
No announcement yet.

USD eqv of NETQUOTEVAR:ACTINICORDERTOTAL

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    USD eqv of NETQUOTEVAR:ACTINICORDERTOTAL

    Hi

    I use a dual currency patch (Norman's, which is very good) on my site.

    I have set-up some conversion tracking on my order confirmation page that obtains various details including order value in £GBP. This works great but I have need to set-up another peice of tracking that will track different order and obtain the order value in $USD.

    At present to track order value I use:

    var orderValue = NETQUOTEVAR:ACTINICORDERTOTAL*0.01;

    which obtains GBP. But I cant figure out what I need to change the above to, to grab the USD equivilient. I know it must be possible becuase the USD value is passed through to Worldpay.

    Can anyone suggest what value/propertu I should change the above to to get USD?

    Paul
    KJ Beckett
    Men's Clothing & Accessories
    Cufflinks, Underwear, Ties, Grooming Products
    Bath, England
    Fast delivery to UK, USA and worldwide.
    Men's Fashion Blog

    #2
    Paul,

    The value will depend on the exchange rate, if you display prices in pounds and dollars then check in Design | Options | Miscellaneous and copy the value in exchange to

    For example:
    var orderValue = NETQUOTEVAR:ACTINICORDERTOTAL*1.72;
    This should give you the US equivelent of the Price.

    Kind regards,
    Bruce King
    SellerDeck

    Comment


      #3
      var orderValue = NETQUOTEVAR:ACTINICORDERTOTAL*1.72;
      will be
      var orderValue = NETQUOTEVAR:ACTINICORDERTOTAL*.0172;
      will it not?
      Bill
      www.egyptianwonders.co.uk
      Text directoryWorldwide Actinic(TM) shops
      BC Ness Solutions Support services, custom software
      Registered Microsoft™ Partner (ISV)
      VoIP UK: 0131 208 0605
      Located: Alexandria, EGYPT

      Comment


        #4
        Or try
        Code:
        var orderValue = NETQUOTEVAR:ACTINICORDERTOTAL / 100 * CUSTOMVAR:USEXCHANGERATE;
        and use a Custom Property to hold the rate (e.g. 1.79). It may be easier to amend than editing a template.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment

        Working...
        X