-
Notifications
You must be signed in to change notification settings - Fork 471
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new rooms programmatically. #97
Comments
To save the room information of a room type you have to make an entry in the htl_room_information table. To save the disable dates information of a room, you have to make entries in the table htl_room_disable_dates. Find all the above classes and tables in the module "hotelreservationsystem". |
Hello sir, can I have your email for an easy communication? |
@piyushvostro Thanks |
I have to create rooms(product) programmatically from a custom module. $default_lang = Configuration::get('PS_LANG_DEFAULT'); This code is successfully creating a new product as can be seen in 'manage room types' tab under catalog tab in admin panel and also a new entry is created in ps_product table. But how should I save additional information of this product (name, short_desc, desc, etc). Thanks in Anticipation. |
We have built this software on the Prestashop eCommerce platform. The room was additionally added and we have told ou the process to add rooms in the previous reply. |
How to add new rooms programmatically from custom modules?
The text was updated successfully, but these errors were encountered: