Child pages
  • [in-commerce] Support for alternative currency on per-record basis
Skip to end of metadata
Go to start of metadata

Imported from:

Currently all product prices in In-Commerce are stored in primary currency.

For example 100 in database means:

  • 100$ when USD is primary currency
  • 100 ?. when RUB is primary currency
  • etc.

Also In-Commerce does automatic currency conversion (before it is displayed to user) based on same rule: from PRIMARY to user-selected.

I'm proposing to allow PRIMARY currency be specified in each product separately (if there is a need). This of course would only affect currency display on product detail page, but won't affect subtotal amount calculation and such code.
These other things can be done as an improved that idea version.



Related Tasks

MINC-96 - Getting issue details... STATUS

1 Comment

  1. Here are the example usage tags (presuming that products have Currency
    field in database, that contains ISO3 currency code):

       - <inp2:p_Field name="Price" currency="selected"
       currency_field="Currency"/> - display price in user selected currency and
       add currency sign to it
       - <inp2:p_Field name="Price" currency="field"
       currency_field="Currency"/> - display price in original currency from
       "Currency" field (despite what user have selected) and add currency sign to

    This tag still works: <inp2:p_Field name="Price" currency="primary"/>