danbeckett / door4-customer-prefix-patch Goto Github PK
View Code? Open in Web Editor NEWModule which works around issue in Magento 2.4.2 where prefixes in Customer Addresses are being returned as integers
License: GNU General Public License v3.0
Module which works around issue in Magento 2.4.2 where prefixes in Customer Addresses are being returned as integers
License: GNU General Public License v3.0
Hello,
Thanks for the patch, I'm upgrading a Magento which is using your patch, is it still needed on version 2.4.5(-p1) ?
Thank you.
Hey there, thank you for sharing that code. I tried deploying it and it does not di:compile.
Removing Line 8 and not declaring the variable here works just fine.
PHP Parse error: syntax error, unexpected 'Options' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /app/code/Door4/CustomerPrefixPatch/Plugin/Sales/Model/Order/Address/PrefixPatch.php on line 8
It would be awesome, if a new version could be released, so that one can require the module in a real version and not as dev dependency.
Getting an undefined index error because the array_key_exist function is missing in line 34 in the PrefixPatch.php. New if statement should be:
if (is_array($result) && array_key_exists('prefix', $result) && (!empty($result['prefix']) || $result['prefix'] === "0")) {
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.