Page MenuHomeIn-Portal Phabricator

MINC-132 - Round discounted/couponed price on MySQL side
ClosedPublic

Authored by alex on Sep 7 2015, 9:54 AM.

Details

Test Plan
NOTE: The only way to test is to place breakpoint at OrderCalculator::getDiscountInfo method.
  1. in Admin Console:
    1. go to E-commerceDiscounts & Certificates section
      • create 15% discount for Whole Order to Everybody user group on Discounts tab
      • create 15% coupon for Whole Order on Coupons tab
    2. go to Website & ContentStructure & DataProducts section
      • create Tangible product with 39.5 price
  2. on Front-End:
    • add product created before to cart
    • confirm, that $discounted_price variable value is 33.5750
    • disable discount in Admin Console
    • confirm, that $discounted_price variable value no longer contains discount
    • enter code of previously created coupon
    • confirm, that $couponed_price variable value is 33.5750

Diff Detail

Repository
rINP In-Portal
Branch
/in-portal/branches/5.2.x
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 139
Build 139: arc lint + arc unit

Event Timeline

alex updated this revision to Diff 301.Sep 7 2015, 9:54 AM
alex retitled this revision from to MINC-132 - Round discounted/couponed price on MySQL side.
alex updated this object.
alex edited the test plan for this revision. (Show Details)
alex added 1 JIRA issue(s): MINC-132.
glebs accepted this revision.Sep 11 2015, 2:12 AM
glebs edited edge metadata.
This revision is now accepted and ready to land.Sep 11 2015, 2:12 AM
This revision was automatically updated to reflect the committed changes.
alex edited edge metadata.Mar 10 2016, 5:44 AM
alex added a project: Restricted Project.