Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-1648

Support alternative currency on per-record basis

    XMLWordPrintable

    Details

    • Additional information:
      Hide

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

      • <inp2_Field name="Price" currency="selected" currency_field="Currency"/> - display price in user selected currency and add currency sign to it
      • <inp2_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 it
        This tag still works: <inp2_Field name="Price" currency="primary"/>
      Show
      Here are the example usage tags (presuming that products have Currency field in database, that contains ISO3 currency code): <inp2 _Field name="Price" currency="selected" currency_field="Currency"/> - display price in user selected currency and add currency sign to it <inp2 _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 it This tag still works: <inp2 _Field name="Price" currency="primary"/>
    • Change Log Group:
      Added
    • Change Log Message:
      Allow specifying per-record primary currency (e.g. in "Products" table).
    • Story Points:
      1
    • External issue ID:
      1305
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: