remove customer address restrictions in payment and also removed auto address creating during account creation from order page

This commit is contained in:
Shreesh Arora
2023-12-07 14:10:55 +05:30
parent 8cff333d57
commit c84adf5bf7
8 changed files with 13 additions and 51 deletions

View File

@@ -465,7 +465,7 @@ class OrderOpcControllerCore extends ParentOrderController
// 'allDemands' => $allDemands,
// 'defaultcurrencySign' => $objCurrency->sign,
'THEME_DIR' => _THEME_DIR_,
'PS_CUSTOMER_ADDRESS_CREATION' => Configuration::get('PS_CUSTOMER_ADDRESS_CREATION'),
'PS_REGISTRATION_PROCESS_TYPE' => Configuration::get('PS_REGISTRATION_PROCESS_TYPE'),
'PS_ROOM_PRICE_AUTO_ADD_BREAKDOWN' => Configuration::get('PS_ROOM_PRICE_AUTO_ADD_BREAKDOWN'),
'free_shipping' => $free_shipping,
'isGuest' => isset($this->context->cookie->is_guest) ? $this->context->cookie->is_guest : 0,