Community Add-Ons

Maintainers: wenddy
Add file to this package
Top » Features

fixed prices for different currencies
for osCommerce Online Merchant v2.2

This contribution makes possible for you to manually enter a different price for each currency set up in your administration.
Prices can be choosen instead of beeing depending on the change rate.
For example, if you set up US dollars and Euros, you can choose to have a product at 10$ and 30€ or 10$ and 5€...instead of just puting 10$ and have the price in Euro calculated automatically. You will have as many price fields to fill as you have currencies. If you don't fill the field of on particular currency, your product will not be shown when the client chooses that currency.

Legend:  Download   Report
Expand All / Collapse All
four small fixes JimbobobHacker2 23 Jun 2008  

Fixes for small problems in the fixed_prices contribution.

Fixes:
1. When copying a product the fixed prices are copied incorrectly.
2. The variable $ajout_prix is built twice. The second time is done incorrectly. It is also redundant. Remove it.
3. The variable $product_prices_array is left undefined when the fixed_prices table is empty, resulting in error on OSCommerce pages. Fix by initializing the variable at all times.
4. Include example of how to import the prices for the default currency.

Problems left unfixed:
A. When editing a product the preview will not show the price. This could be fixed by previewing the price in the store's default currency.
B. The install instructions contain a few replacements where the only change is to add code that is commented out. These changes could be removed.
C. This contribution breaks specials. This could be fixed by adding a per-currency specials table.
D. This contribution breaks the JavaScript on the product edit page that updates the Products Price (Gross) field. This could be fixed by updating the Gross field based on the store's default

Fixed prices for different currencies (ITALIANO) SonSt4R 8 May 2008  
new email address wenddy 19 Oct 2006  
Fixed Price for different currencies KPGroup 3 Oct 2006  
fixed prices 1.1 wenddy 17 Aug 2006  
fixed prices for different currencies wenddy 8 Aug 2006