In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Simple Details Jump to Notes ] Wiki ]  Related Changesets ] View Advanced ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0001305 [In-Portal CMS] Front End feature request N/A 2012-05-29 07:45 2012-07-25 05:30
Reporter alex View Status public Project Name In-Commerce
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.2.0-RC1
Status closed Product Version 5.2.0-B3 Target Version 5.2.0
Time EstimateNo estimate
Summary 0001305: Support for alternative currency on per-record basis
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.
Additional Information 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 it
This tag still works: <inp2:p_Field name="Price" currency="primary"/>
Tags No tags attached.
Reference https://groups.google.com/d/topic/in-portal-dev/Q91z0qNT2W4/discussion
Change Log Message Allow specifying alternative product-based primary currency
Estimate Points 1
Attached Files patch file icon alternative_currency_field_core.patch [^] (4,228 bytes) 2012-05-29 07:45 [Show Content]
patch file icon alternative_currency_field_modules.patch [^] (1,748 bytes) 2012-05-29 07:45 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
User avatar (0004678)
alex (manager)
2012-05-29 07:50

Will test all together later.
User avatar (0004679)
alex (manager)
2012-05-29 07:51

Fix committed to 5.2.x branch. Commit Message:

Fixes 0001305: Support for alternative currency on per-record basis
User avatar (0004883)
alex (manager)
2012-07-25 05:30

Since 5.2.0/1.2.0 versions was released.

- Related Changesets
In-Portal CMS: 5.2.x r15368
Timestamp: 2012-05-29 07:51:06
Author: alex
Details ] Diff ]
Fixes 0001305: Support for alternative currency on per-record basis
mod - /in-portal/branches/5.2.x/core/kernel/db/db_tag_processor.php Diff ] File ]
Modules :: In-Commerce: 5.2.x r15367
Timestamp: 2012-05-29 07:50:41
Author: alex
Details ] Diff ]
Bug 0001305: Support for alternative currency on per-record basis
mod - /w/in-commerce/branches/5.2.x/units/helpers/currency_rates.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2012-07-25 05:30 alex Note Added: 0004883
2012-07-25 05:30 alex Status resolved => closed
2012-05-29 07:55 alex Additional Information Updated View Revisions
2012-05-29 07:51 alex Note Added: 0004679
2012-05-29 07:51 alex Status reviewed and tested => resolved
2012-05-29 07:51 alex Fixed in Version => 5.2.0-RC1
2012-05-29 07:51 alex Resolution open => fixed
2012-05-29 07:51 alex Changeset attached 5.2.x r15368
2012-05-29 07:50 alex Changeset attached 5.2.x r15367
2012-05-29 07:50 alex Note Added: 0004678
2012-05-29 07:50 alex Assigned To Dmitry => alex
2012-05-29 07:50 alex Status needs testing => reviewed and tested
2012-05-29 07:49 alex Assigned To => Dmitry
2012-05-29 07:49 alex Developer => alex
2012-05-29 07:49 alex Status active => needs testing
2012-05-29 07:49 alex Reference => https://groups.google.com/d/topic/in-portal-dev/Q91z0qNT2W4/discussion
2012-05-29 07:45 alex File Added: alternative_currency_field_modules.patch
2012-05-29 07:45 alex New Issue
2012-05-29 07:45 alex File Added: alternative_currency_field_core.patch
2012-05-29 07:45 alex Change Log Message => Allow specifying alternative product-based primary currency
2012-05-29 07:45 alex Estimate Points => 1



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker