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

Commit 0517de6

Browse files
authored
Merge pull request magento-commerce/devdocs/pull#2778 from magento-devdocs/em_prex-showcustattributes
Enabling custom attributes
2 parents 736e7b2 + 3a40140 commit 0517de6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/recommendations/customize.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ When you [create a recommendation]({{ site.user_guide_url }}/marketing/create-ne
9797
9898
Refer to [layout overview]({{ site.gdeurl }}/frontend-dev-guide/layouts/layout-overview.html) for more information about the types of blocks on the page.
9999
100-
<!--## Custom Product attributes
100+
## Custom Product attributes
101101
102102
Developers often 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
@@ -107,4 +107,4 @@ For example, if your store sells some organic products, you might have a custom
107107
108108
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
110-
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.-->
110+
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.

0 commit comments

Comments
 (0)