QuestionQ38

VerifiedTroubleshoot to identify the root cause of issues with Adobe Commerce

A merchant uses an out-of-the-box Adobe Commerce application and requests new reward-card functionality for customers. During code review, the Adobe Commerce Architect finds that the reward_card_number attribute setup created for this functionality makes the customer attribute unavailable in the My account/My rewards page template.

Question Image

What should be added to configure the customer attribute correctly?

Explanation

A custom customer EAV attribute must be assigned to the appropriate customer attribute group in the default customer attribute set. Adding group with the value 1 provides that assignment. The attribute should remain non-system; setting system to true is inappropriate for a merchant-defined attribute. Customer account scope does not assign an attribute to the customer attribute set or make it available to the template.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!