Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 VP-ASP 6.00 Questions
 Convert to Currency Link
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Jill
VP-CART Super User

USA
249 Posts

Posted - October 20 2003 :  00:11:49  Show Profile  Reply with Quote
I seem to have lost the "Convert to Your Currency" link from the cart pages. Does anyone have that, and was it just a simple link, or did it carry the cart amount with it to the converter?

Thanks!
Jill

Habitue
VP-CART New User

USA
90 Posts

Posted - October 20 2003 :  04:52:28  Show Profile  Reply with Quote
Do you mean "xcurrencylink" in the configuration?

The currency link does carry the cart amount to the site, http://www.x-rates.com, to a list of other currency values.

Peace,

~Habitue~

----------------------------------
"I've heard that it's good to think before you speak..." - TBC

Edited by - Habitue on October 20 2003 04:54:10
Go to Top of Page

Jill
VP-CART Super User

USA
249 Posts

Posted - October 20 2003 :  10:06:10  Show Profile  Reply with Quote
Thanks Habitue,

I'm still having problems.

I have xcurrencylink set to yes in the configuration, but it isn't showing up on the pages.

Do you have any idea what I should check for?

Thanks, Jill

Go to Top of Page

Habitue
VP-CART New User

USA
90 Posts

Posted - October 20 2003 :  14:40:38  Show Profile  Reply with Quote
Hmmm...I'm not an expert, but this much I know:

  • "xnavigateminicart" must be set to yes for the currency link to show up. It is linked from the minicart display (Section: 33.11 International Currency Conversion, VP-ASP Developer Guide)

  • The code for "xcurrencylink" is found within the "Sub NavigateShowMiniCart", in shopproductsubs.asp. You can do a search for If Getconfig("xcurrencylink")="Yes" Then @ line 350-365 and see if the code is intact


After checking if "xnavigateminicart" is set to yes, see if the actual code , <%Navigateshowminicart ""%>, is still present in shoppage_trailer.htm.

By looking at the code, it does seem possible to seperate it from the minicart and make it a Subroutine on its own (just a suggestion). Backup before any changes are made

Hopefully, a "Guru" will jump in the thread with some better suggestions.

Peace,

~Habitue~

----------------------------------
"I've heard that it's good to think before you speak..." - TBC

Edited by - Habitue on October 20 2003 15:14:17
Go to Top of Page

Habitue
VP-CART New User

USA
90 Posts

Posted - October 21 2003 :  04:52:41  Show Profile  Reply with Quote
In reading the Developer's Guide a little further, the "Xcurrencybase" must have an abbreviation for the currency (e.g. USD) for x-rates.com to work.

Peace,

~Habitue~

----------------------------------
"I've heard that it's good to think before you speak..." - TBC
Go to Top of Page

Jill
VP-CART Super User

USA
249 Posts

Posted - October 21 2003 :  19:33:54  Show Profile  Reply with Quote
I think my problem may be the minicart. I have different headers and footers in the cart, and they don't have the minicart. I kind of figured - You're in the cart, so you should know what you've got in the cart.

I guess I'll either add it back in, maybe in a white font or something so it won't show, or just link to x-rates.com without carrying the price.

Thanks for your help!

Jill

Go to Top of Page

Habitue
VP-CART New User

USA
90 Posts

Posted - October 21 2003 :  20:18:06  Show Profile  Reply with Quote
(Just an idea; haven't verified it)

At a quick glance at the code, you can probably delete the code after the if statement:

If getconfig("Xnavigateminicart")="No" then exit sub
response.write "<center>"


and everything in between until you reach:

If Getconfig("xcurrencylink")="Yes" Then

The idea is that even though "xnavigateminicart" is set to yes, it will only show the International currency link (also set to yes). It will also retain the total of the order, I believe.

Like I said in the previous post, I'm not an expert. Backup shopproductsubs.asp file first before anything is done, so you can revert any changes, or for possible future use

Good Luck!

~Habitue~

----------------------------------
"I've heard that it's good to think before you speak..." - TBC

Edited by - Habitue on October 21 2003 21:03:47
Go to Top of Page

arte
Starting Member

30 Posts

Posted - October 24 2003 :  15:36:58  Show Profile  Reply with Quote
JFI,

xe.com also provide a free link service to currency conversions. Personally, I find it more flexible and able to make it more customer friendly - eg I only list European currncies then US etc as my target market is european customers.

Also, you can add your own header and footer.

They include one (not too intrusive banner) but you have to pay for full customisation with no banner.

Go to Top of Page

Cam
VP-CART Super User

Australia
361 Posts

Posted - October 26 2003 :  19:02:14  Show Profile  Visit Cam's Homepage  Reply with Quote
I agree with Arte. You can format the display for Xe.com quite a bit.

For example we have our base rate in US dollars.

In the tmp_product.htm page we have inserted the following code:

<a href="http://www.xe.com/pca/launch.cgi?Amount=[formatcurrency cprice]&From=USD&ToSelect=GBP">Convert into your currency</a>

This means that your visitor only needs to push convert and they have the product total in their own currency.

Cheers,
Cam


*************************************
Cam Flanigan
YourVirtualStore Sales
e-mail:
http://www.vpasp.com/sales/shopcustcontact.asp
web: http://www.yourvirtualstore.net

Build you own YourVirtualStore!!!
www.yourvirtualstore.net
*************************************
Go to Top of Page

Jill
VP-CART Super User

USA
249 Posts

Posted - November 10 2003 :  18:15:44  Show Profile  Reply with Quote
And a long time later.....

What would be the right thing to use to get the amount when it is the cart total, instead of [formatcurrency cprice]?


Thanks,

Jill

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00