New answers tagged

0

you can go into Store >> Configuration >> Customers >> Customer Configuration >> Address Templates >> HTML. It is formatted address template you can adjust like below: {{depend prefix}}{{var prefix}} {{/depend}}{{var firstname}} {{depend middlename}}{{var middlename}} {{/depend}}{{var lastname}}{{depend suffix}} {{var suffix}}{{/depend}}{{depend firstname}...


0

create Model app/code/VendoreName/ModuleName/Model CustomerAddress.php <?php namespace VendoreName\ModuleName\Model; use Magento\Framework\Model\AbstractModel; use VendoreName\ModuleName\Model\ResourceModel\CustomerAddress as CustomerAddressResourceModel; class CustomerAddress extends AbstractModel { protected function _construct() { ...


0

Once your forgot this line we got same error. $customer = $this->accountManagement ->createAccount($customer, $password, $redirectUrl);


1

please try this out to your setup script. public function install( ModuleDataSetupInterface $setup, ModuleContextInterface $context ) { $customerSetup = $this->customerSetupFactory->create(['setup' => $setup]); $customerAddressEntity = $customerSetup->getEavConfig()->getEntityType('customer_address'); $attributeSetId = $...


2

I had exactly the same issue. I set a JS breakpoint in the line, which threw the error and looked at the attributes variable. There were multiple old attributes, which were migrated from M1. They lead to these issues. I simply deleted those old attributes in the database (table eav_attribute) and the error was gone.


3

For this kind of issue, it's really hard to find the root cause. Magento is hard, Js is hard. My suggestion is to use Debugger. Chrome Devtools: https://developers.google.com/web/tools/chrome-devtools/javascript https://devdocs.magento.com/guides/v2.3/ui_comp_guide/troubleshoot/ui_comp_troubleshoot_js.html Debugging KnockoutJs How to debug in ko template ...


Top 50 recent answers are included