[ECOMMERCE-348] SF COMMERCE. 'Product Detail' component do not show price Created: 16/Dec/20  Updated: 15/Apr/21  Resolved: 15/Apr/21

Status: Closed
Project: E-commerce
Component/s: None
Affects Version/s: 1.2.3
Fix Version/s: 1.2.5

Type: Bug Priority: Neutral
Reporter: Christopher Zimmermann Assignee: Antonín Juran
Resolution: Not an issue Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File product-teaser-is-a-detail.png     PNG File siteId_RefArch.png    
Issue Links:
Cloners
clones ECOMMERCE-347 SF COMMERCE. 'Product Teaser' compone... Closed
is cloned by ECOMMERCE-387 DOC: SFCC if no siteID, the price won... Closed
dependency
is depended upon by ECOMMERCE-349 TEST ONLY. Magnolias ecommerce API re... Closed
relation
is related to ECOMMERCE-349 TEST ONLY. Magnolias ecommerce API re... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Documentation update required:
Yes
Date of First Response:
Epic Link: Commerce fixes and improvements 1.2.4 - 1.2.5
Sprint: Add-Ons 59, Content Mngmt 01, Content Mngmt 02
Story Points: 3

 Description   

Steps to reproduce

  1.  Connect to Salesforce Commerce Cloud
  2. Create an 'Ecommerce' page.
  3. Add a 'Product Detail' component to the page with a product from SFCC.
  4.  

Expected results

Price is displayed.

Actual results

Price is not displayed.

Workaround

Development notes

  • if there's not site ID, the price won't show <-- test and if this is the case, let's update documentation with some instructions on how to show the price 


 Comments   
Comment by Antonín Juran [ 14/Apr/21 ]

SFCC returns product without price when it's requested without site ID (siteId is configured with no-site in connection configuration). If it's requested with valid site ID and product has configured price in SFCC, product detail component displays the price. 

Comment by Christopher Zimmermann [ 14/Apr/21 ]

I'm going to reopen this just to suggest some followup actions, otherwise I think others will run into the same issue.

  1. Should this be documented in our SFCC documentation with a note? (Im not sure why I was using "no-site"?)
  2. Are we providing "no-site" somewhere in our sample connection?

On this page: https://docs.magnolia-cms.com/product-docs/Connector-Packs/Commerce-Connector-Pack/E-commerce-module.html I see this comment in tghe SF section: "Tip: Set this property to no-site to create a connection to all unassigned Salesforce catalogs." 

This should be updated to include some information about the price not being displayed in this case.

Comment by Christopher Zimmermann [ 14/Apr/21 ]

Or close this ticket and open a new one and link it, and ideally add it to the sprint or the next one - as I think that is the true resolution for this ticket.

Comment by Antonín Juran [ 15/Apr/21 ]

Generated at Mon Feb 12 01:43:12 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.