New answers tagged

0 votes

add categories tree to customer eav attribute

You can reuse some Catalog resources and you need to define custom Source Model 1. Source Model app/code/Acme/StackExchange/Model/Source/CategoriesTree.php <?php declare(strict_types=1); namespace ...
user avatar
1 vote
Accepted

Showing customer eav attrribute in product page always shows cached data

Here is example of same code but without using of customer data (private data). Note: Complete code can be found in the same repo on GitHub. First you need to define your block inside another product ...
user avatar
0 votes

How can we add custom customer attributes in admin grid

Here is best reference I can see. https://magentodeveloper.in/add-custom-attribute-to-customer-magento2.html Please try and let me know if you need any help.
user avatar
  • 2,356
0 votes
Accepted

How can we add custom customer attributes in admin grid

Create customer_listing.xml app/code/Vendor/Module/view/adminhtml/ui_component/customer_listing.xml <?xml version="1.0" encoding="UTF-8"?> <listing xmlns:xsi="http:/...
user avatar
1 vote

Showing customer eav attrribute in product page always shows cached data

The private content (sections.xml) was designed for this, but in you example you are using it wrong way: <?xml version="1.0" encoding="UTF-8"?> <config xmlns:xsi="...
user avatar

Top 50 recent answers are included