sohelrana09 / modified-checkout Goto Github PK
View Code? Open in Web Editor NEWMove billing address under shipping address in checkout in magento 2
Move billing address under shipping address in checkout in magento 2
Hi, after installation I can see the Billing address section twice. I use Firecheckout, is this a bug or a local problem?
If activated, getting this js error. Any idea?
Sorry Rana, It's not an issue. i have new step in checkout page and i want to billing address in that new step.
I approached like below but it's not displaying in my new step.
checkout_index_index.xml
`
<item name="steps" xsi:type="array">
<item name="children" xsi:type="array">
<!-- The new step added here -->
<item name="check-login-step" xsi:type="array">
<item name="component" xsi:type="string">Package_Module/js/view/checkout-login-step</item>
<item name="sortOrder" xsi:type="string">2</item>
<item name="children" xsi:type="array">
</item>
</item>
</item>
</item>`
and i am adding in plugin LayouProcess.php
$elements = $this->getAddressAttributes(); $jsLayoutResult['components']['checkout']['children']['steps']['children']['check-login-step'] ['children']['billing-address'] = $this->getCustomBillingAddressComponent($elements);
The prefix field is displayed as a input field. But that is not possible because these values are defined inside the admin panel. It should be by default displayed as a select box.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.