Book Image

Deep Inside osCommerce: The Cookbook

By : Monika Mathe
Book Image

Deep Inside osCommerce: The Cookbook

By: Monika Mathe

Overview of this book

osCommerce has been around since March 2000. At present there are over 10,000 live, registered osCommerce sites, and about 100,000 registered community members. Apart from providing ready-made solutions to problems, as well as a huge repository of information, the osCommerce community is a living entity with which we can all interact. With the rising success and popularity of this remarkable piece of software, things can only get better.
Table of Contents (17 chapters)
Deep Inside osCommerce: The Cookbook
Credits
Foreword
About the Author
About the Reviewers
Introduction

69. Allow Entering Products in an Additional Currency


This recipe will be invaluable for you if you purchase some of the products you sell in a currency that differs from the default currency of your shop. You will be able to add products in a predefined secondary currency with prices converted immediately to your default currency during data entry. A link to a synchronizer file has been added to the left column for updating currency via xe or oanda exchange rate servers, while prices for all products added in your second currency will be recalculated using the latest exchange rates.

Note

Chef's suggestion:

While manual updating is always an option, this synchronizer file should be scheduled as a cron job and executed daily if you are dealing with fast-fluctuating exchange rates.

Presentation

The following screenshot shows Administration | Catalog | Categories/Products with the new module that enables you to add products in your second currency:

Note that the label of the entry field displays...