Unexpected output: Affected paths: no mapping - resubmit patch.
⚙ D195 MINC-144 - Don't use Web Request, when building product "add to cart" link
Page MenuHomeIn-Portal Phabricator

MINC-144 - Don't use Web Request, when building product "add to cart" link
ClosedPublic

Authored by glebs on Feb 5 2016, 3:06 AM.

Details

Test Plan
NOTE: Make all tests in advanced theme

Prepare

  1. open themes/advanced/in-commerce/elements/products.elm.tpl file for editing
  2. in the product_element block above the line with AddToCartLink tag usage add <inp2:m_Set {$PrefixSpecial}_id="1"/> code
  3. save changes

Testing

  1. Go to Admin Console, Website & ContentStructure & DataProducts.
  2. Switch to the Products tab.
  3. Create a couple of the products, when there are none (goal is to have 2 products at least)
  4. Go to Front-End, Products.
  5. Click on the Buy now link on 1st of the products in the main list (right part of the page)
  6. Confirm that you redirected to the shopping cart with your chosen product added
  7. Click on the Buy now link on 2nd of the products in the main list (right part of the page)
  8. Confirm that you redirected to the shopping cart with your chosen product added

Diff Detail

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

Event Timeline

glebs updated this revision to Diff 481.Feb 5 2016, 3:06 AM
glebs retitled this revision from to MINC-144 Don't use Web Request, when building product "add to cart" link.
glebs updated this object.
glebs edited the test plan for this revision. (Show Details)
glebs added 1 JIRA issue(s): MINC-144.
glebs edited the test plan for this revision. (Show Details)Feb 5 2016, 3:06 AM
glebs edited edge metadata.
glebs edited the test plan for this revision. (Show Details)
glebs edited the test plan for this revision. (Show Details)
glebs edited the test plan for this revision. (Show Details)
alex added a project: Restricted Project.Mar 10 2016, 5:11 AM
alex accepted this revision.Jul 28 2022, 3:03 AM
alex edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Jul 28 2022, 3:04 AM
alex retitled this revision from MINC-144 Don't use Web Request, when building product "add to cart" link to MINC-144 - Don't use Web Request, when building product "add to cart" link.Aug 3 2022, 4:43 AM
This revision was automatically updated to reflect the committed changes.