If this is your first visit, check our documentation. To post, register or login.
Forums / Managing Customers and Orders / Button to Convert Currencies

Button to Convert Currencies

Locked

Started by kinethic on 25 Jul 2006, 12:29 PM · Views: 1,460

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
25 Jul 2006, 12:29 PM
#1
kinethic avatar

kinethic

New Zenner

Join Date:
Jul 2006
Location:
Brownsville, Texas, USA.
Posts:
22
Plugin Contributions:
0

Button to Convert Currencies

Hello, everyone.

I'm using Zen Cart 1.3.0.2

When you look at Admin/Orders/Edit, in an order you can see the customer's data including the cc number masked, the cvv, the product's name and price, the subtotal and the total in dollars.

Question:

May I know how to add a new button in that section (Admin/Orders/Edit) that whenever clicking on it can convert the total (in this case dollars) to total euros so that finally I can have both totals in the order?

I'll appreciate your ideas.

Best regards.

Kinethic.

Best regards.
Kirk Neaven.


Zen Cart Contributions: Kinethic Realm Buttons Set (an enhanced buttons set)

25 Jul 2006, 12:33 PM
#2
bluedotgames avatar

bluedotgames

New Zenner

Join Date:
Jul 2006
Posts:
24
Plugin Contributions:
0

Re: Button to Convert Currencies

I'm sure if you look through the source you will find currency routines and it would probably be trivial to add an extra display for euros in the order listing...it would be harder to make a dynamic button though.

I'd start at the source the produces the page you want to alter and work backwards.

26 Jul 2006, 11:35 AM
#3
kinethic avatar

kinethic

New Zenner

Join Date:
Jul 2006
Location:
Brownsville, Texas, USA.
Posts:
22
Plugin Contributions:
0

Re: Button to Convert Currencies

bluedotgames:

I'm sure if you look through the source you will find currency routines and it would probably be trivial to add an extra display for euros in the order listing...it would be harder to make a dynamic button though.

I'd start at the source the produces the page you want to alter and work backwards.

Hi, bluedotgames.
Thank you for your time.

Kirk.

Best regards.
Kirk Neaven.


Zen Cart Contributions: Kinethic Realm Buttons Set (an enhanced buttons set)

26 Jul 2006, 12:35 PM
#4
vanna avatar

vanna

New Zenner

Join Date:
Jul 2006
Posts:
5
Plugin Contributions:
0

Re: Button to Convert Currencies

kinethic:

Hello, everyone.

I'm using Zen Cart 1.3.0.2

When you look at Admin/Orders/Edit, in an order you can see the customer's data including the cc number masked, the cvv, the product's name and price, the subtotal and the total in dollars.

Question:

May I know how to add a new button in that section (Admin/Orders/Edit) that whenever clicking on it can convert the total (in this case dollars) to total euros so that finally I can have both totals in the order?

I'll appreciate your ideas.

Best regards.

Kinethic.

Well, I guess you could make a new field and a button adding a script so that you can calculate the exchange rates manually. Say, create a new field; input an exchange rate in that new field and click on the new button which code multiplies your order's total by the exchange rate. You should get the equivalence of the money. Make it to display under the order's total.

I hope this helps.

Vanna.