add new categories in demo data
This commit is contained in:
@@ -555,14 +555,22 @@ class HotelHelper
|
||||
|
||||
// create service categories
|
||||
$categories = array(
|
||||
'meals' => array(
|
||||
'name' => 'Meals',
|
||||
'restaurant' => array(
|
||||
'name' => 'Restaurant',
|
||||
'id_category' => 'to_be_set_below',
|
||||
),
|
||||
'transfers' => array(
|
||||
'name' => 'Transfers',
|
||||
'id_category' => 'to_be_set_below',
|
||||
)
|
||||
),
|
||||
'activities' => array(
|
||||
'name' => 'Activities',
|
||||
'id_category' => 'to_be_set_below',
|
||||
),
|
||||
'charges' => array(
|
||||
'name' => 'Supplementary charges',
|
||||
'id_category' => 'to_be_set_below',
|
||||
),
|
||||
);
|
||||
|
||||
foreach ($categories as &$category) {
|
||||
@@ -574,7 +582,7 @@ class HotelHelper
|
||||
$serviceProducts = array(
|
||||
array(
|
||||
'name' => 'Room Maintenance Fees',
|
||||
'id_category_default' => $idCategoryServices,
|
||||
'id_category_default' => $categories['charges']['id_category'],
|
||||
'description' => 'Ensure a comfortable stay with our room maintenance service, keeping your accommodation pristine and hassle-free throughout your visit.',
|
||||
'price' => '250',
|
||||
'auto_add_to_cart' => 1,
|
||||
@@ -584,7 +592,7 @@ class HotelHelper
|
||||
),
|
||||
array(
|
||||
'name' => 'Internet Handling Charges',
|
||||
'id_category_default' => $idCategoryServices,
|
||||
'id_category_default' => $categories['charges']['id_category'],
|
||||
'description' => 'Navigate our website effortlessly with seamless handling, ensuring reliable, high-speed access for an enjoyable browsing experience throughout your online journey.',
|
||||
'price' => '250',
|
||||
'auto_add_to_cart' => 1,
|
||||
@@ -614,7 +622,7 @@ class HotelHelper
|
||||
),
|
||||
array(
|
||||
'name' => 'Breakfast',
|
||||
'id_category_default' => $categories['meals']['id_category'],
|
||||
'id_category_default' => $categories['restaurant']['id_category'],
|
||||
'description' => 'Start your day right with a delicious and hearty breakfast, thoughtfully prepared to fuel your adventures and make your mornings exceptional.',
|
||||
'price' => '350',
|
||||
'auto_add_to_cart' => 0,
|
||||
@@ -624,7 +632,7 @@ class HotelHelper
|
||||
),
|
||||
array(
|
||||
'name' => 'Dinner',
|
||||
'id_category_default' => $categories['meals']['id_category'],
|
||||
'id_category_default' => $categories['restaurant']['id_category'],
|
||||
'description' => 'Wind down in the evening with a delectable dinner spread, offering a culinary journey that delights your taste buds and completes your day with satisfaction.',
|
||||
'price' => '450',
|
||||
'auto_add_to_cart' => 0,
|
||||
|
||||
Reference in New Issue
Block a user