Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Jun 20, 2019
1 parent 3f12b97 commit 2c605d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Block/Registration.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ final protected function _toHtml() {return df_tag('div'
* return null;
* }
* https://github.com/magento/magento2/blob/2.3.1/app/code/Magento/Customer/Controller/Account/CreatePost.php#L240-L242
* 3) All inputs inside the .toggled block are disabled and not sent to the server
* if the «Retail Registration?» checkbox is unchecked,
* so Magento will not create an address in this case.
* https://github.com/kingpalm-com/b2b/blob/1.3.1/view/frontend/web/main.js#L18-L26
*/
,df_tag('input', ['type' => 'hidden', 'name' => 'create_address', 'value' => 1])
])
Expand Down

0 comments on commit 2c605d3

Please sign in to comment.