double space between first and last name in order

19.01.2025 14:49
#1
kreativ quadrat
User kreativ quadrat
Name: garry
25.11.2010
Posts: 405
Quote
double space between first and last name in order

we always have a double space between first and last name if there is no m_name

could you change getFullName Function to this in OrderTable.php in core in next version?

public function getFullName($prefix = '') {
$JshopConfig = JSFactory::getConfig();
$of = $JshopConfig->ordering_full_name;
$name_parts = array_filter([
$this->{$prefix . $of[0]},
$this->{$prefix . $of[1]},
$this->{$prefix . $of[2]}
]);
$full_name = implode(' ', $name_parts);
return $full_name;
}

 
19.01.2025 16:03
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 28287
Quote
Aw: double space between first and last name in order

Will be in JoomShopping 5.5.4

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.