New answers tagged

0

display address fields using customer_account_create.xml as below: <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <body> <referenceBlock name="customer_form_register"> <arguments> <argument name="...


0

$ private $customerFactory; public function __construct( \Magento\Customer\Model\CustomerFactory $customerFactory, Context $context ) { parent::__construct($context); $this->customerFactory = $customerFactory; } public function execute() { $customerId = 1; $customer = $this->customerFactory->create(); echo "<pre&...


0

To archive this, you can fallback from your theme to Magento_Checkout/js/checkout-data.js and change the function initData to add your default postcode value, as you can see here: /** * @return {*} */ initData = function () { return { 'selectedShippingAddress': null, //Selected shipping address pulled from persistence ...


2

To move email field at bottom of shipping address create "shipping.html" file in below path app/design/frontend/[Theme_Vendor]/[Theme]/Magento_Checkout/web/template/shipping.html Add code <!-- /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ --> <li id="shipping" class="checkout-shipping-address" ...


Top 50 recent answers are included