Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit eacfcef

Browse files
committed
Updating image
1 parent 243ad7a commit eacfcef

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/recommendations/customize.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,12 @@ Refer to [layout overview]({{ site.gdeurl }}/frontend-dev-guide/layouts/layout-o
9999
100100
## Custom Product attributes
101101
102-
Often developers need access to custom product attribute values in recommendations units on storefront so that they can add visual treatments to products based on those attributes.
102+
Often developers need access to custom product attribute values in recommendations units on storefronts so that they can add visual treatments to products based on those attributes.
103103
104-
For example, if your store sells some organic products, you might have a custom attribute on those products designating them as "Organic = true". You may need access to this attribute value on the storefront so that you can give these products special visual treatment when they appear in Recommendations. Similarly, access to these custom product attribute values allows you to badge products or drive custom logic in the presentation layer of your site.
104+
For example, if your store sells some organic products, you might have a custom attribute on those products designating them as `Organic = true`. You may need access to this attribute value on the storefront so that you can give these products special visual treatment when they appear in Recommendations. Similarly, access to these custom product attribute values allows you to badge products or drive custom logic in the presentation layer of your site.
105105
106106
![Add Badge]({{ page.baseurl }}/recommendations/images/unit.png)
107107
108-
To make sure a custom product attribute in available when you render the recommendation unit on the page, set the `Used in Product Listing` property to `Yes` in the [Product Attributes](https://docs.magento.com/user-guide/stores/attribute-product-create.html#step-4-describe-the-storefront-properties) page in the Admin.
108+
To make sure a custom product attribute is available when you render the recommendation unit on the page, set the `Used in Product Listing` property to `Yes` in the [Product Attributes](https://docs.magento.com/user-guide/stores/attribute-product-create.html#step-4-describe-the-storefront-properties) page in the Admin.
109109
110110
When this property is set, that custom product attribute value is included in the JSON payload when the recommendations service fetches the product metadata. You can then apply custom storefront styling based on this attribute value.

src/recommendations/images/unit.png

-83.5 KB
Loading

0 commit comments

Comments
 (0)