Skip to content

Commit

Permalink
Add product name to Tab Title
Browse files Browse the repository at this point in the history
  • Loading branch information
Jwager-SBRx committed Jun 18, 2021
1 parent 3a4efbd commit 1c52bbb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion screen/store/product.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,14 @@ along with this software (see the LICENSE.md file). If not, see
<return error="true" message="Product not found with ID ${productId}"/>
</then>
</if>

<service-call name="popstore.ProductServices.get#ProductInfo" out-map="product" in-map="[productId:productId]"/>
<if condition="product.productName != null">
<set field="pageTitle" from="product.productName"/>
</if>
</pre-actions>
<actions>
<service-call name="popstore.ProductServices.get#ProductInfo" out-map="product" in-map="[productId:productId]"/>
<!-- <service-call name="popstore.ProductServices.get#ProductInfo" out-map="product" in-map="[productId:productId]"/> -->
<service-call name="popstore.ProductServices.get#ProductQuantity" out-map="productQuantity" in-map="[productId:productId]"/>
<service-call name="popstore.ProductServices.get#ProductReviews" out-map="reviewsList" in-map="[productId:productId]"/>
<service-call name="popstore.ProductServices.find#ProductAvailability" in-map="context" out-map="context" />
Expand Down

0 comments on commit 1c52bbb

Please sign in to comment.