Show full selected hotels list in tooltip, keep badge count as remaining

This commit is contained in:
aradhana kumari
2026-08-25 11:43:51 +05:30
parent 9d28a35b35
commit f1d84ae24c
2 changed files with 2 additions and 1 deletions

View File

@@ -92,6 +92,7 @@ class AdminCartRulesControllerCore extends AdminController
$this->context->smarty->assign(array(
'hotel_names_first' => !empty($hotels) ? $hotels[0] : null,
'hotel_names_remaining' => count($hotels) > 1 ? array_slice($hotels, 1) : array(),
'selected_hotels' => $hotels,
));
return $this->context->smarty->fetch(