Tested on latest 11.0.5, working
Remove from page assumption "Please do it only if you really know what you're doing, though." which is true for every doc page on drupal.org
This is a scenario where modules need one eachother.
They can all be disabled via
drush pm:uninstall module1 module2 etc
What you are correctly pointing out is a UI limit discussed here
https://www.drupal.org/project/drupal/issues/3374766
📌
Allow uninstalling modules and the modules which are dependent in the same action
Needs work
Please update BAT at latest
https://www.drupal.org/project/bat/releases/8.x-10.2 →
If the issue still exists, put a note here
Thanks
Please update BAT at latest
https://www.drupal.org/project/bat/releases/8.x-10.2 →
If the issue still exists, put a note here
Thanks
* data_table = "bat_event__event_dates"
removed in latest dev
afagioli → created an issue.
afagioli → created an issue.
Value of content type > occupancy field must match with product variation type max occupancy
See
https://www.drupal.org/docs/extending-drupal/contributed-modules/contrib... →
> #B
patch #2 seems to work
See https://www.drupal.org/project/drupal/issues/3300835#comment-14861838 🐛 Title not translateable Closed: duplicate
I'd suggest price alterators, for a better flexibility.
"if a 'double room', for example, needs to have a different price for one guest and a higher price for two guests"
use the "Occupancy" alterator.
if existing alterators won't be enough, write a custom price alterator to override price at wish, limitless.
Even is BEE HOTEL is not meant to be used in a multistore enviroment, the node control may help you splitting units across more owners. it may be an interesting implementation. Please share with us your progress
You may set the weekly time table with desidered price.
What is you set your X price for every day/season?
afagioli → created an issue.
you have it fixed already in 8.x-10.x
https://git.drupalcode.org/project/bat/-/blob/8.x-10.x/modules/bat_event...
That's why was that difficult to re-create. Better use latest release where possible
ah! Thanks a lot Carlitus
It's my bad really
I must extend the phpcs check to *modules
Thanks for pointing that out!
Next release will have something like
/**
...
use Drupal\image\Entity\ImageStyle;
/**
* Implements hook_requirements().
*/
function bee_hotel_requirements($phase) {
$requirements = [];
/*
* Check image styles
*/
// Required image styles.
$data['required']['styles'] = [
"cover_image_teaser",
"thumbnail",
];
$styles = ImageStyle::loadMultiple();
foreach ($data['required']['styles'] as $required_style) {
$key = 'bee_hotel_style_' . $required_style;
$missings_styles[$required_style] = FALSE;
$requirements[$key] = [
'title' => t('Required image style'),
'description' => t('@style not fund. Please <a href="/admin/config/media/image-styles">check or create image style @style', ['@style' => $required_style]),
'severity' => REQUIREMENT_ERROR,
];
foreach (ImageStyle::loadMultiple() as $id => $object) {
if ($required_style == $id ) {
unset($requirements[$key]);
}
}
}
return $requirements;
}
inside bee_hotel.install, reporting missing requirements, as styles.
To be noted also required styles are created by the samplehotel_beehotel module
Done!
Thanks a lot
https://www.drupal.org/project/bee_hotel/issues/3443554 🐛 'Room search' crash for bad image style Needs review
How do we know whether this page is related to Drupal 7 or later?
Inactivity and lack of details. Closing
I'm afraid this is not related to #3411329
Note: The https://git.drupalcode.org/project/bee/-/merge_requests/4/diffs:206 part is removing argument description, required as Drupal code standard.
Patch is facing more that this issue.
Better split in smaller pieces to be evaluated one by one
More real world use cases would be welcome...
BeeHotel works with daily units.
You can of course have more BAT hourly entity not managed byt BEE HOTEL of course (IE: upsells)
If an error occors, that would be a bug
Please follow the guide with beehotel_samplehotel to get rid of the "field_availability_daily" issue
@londova, drupal.org needs best positive contributions.
BeeHotel also needs best positive contribution.
...module cannot be installed from Admin interface...
not true
...should be removed from the Drupal website...
not true.
Maybe you need to discuss this with more people.
The guide is for a error free install. I'd suggest:
* start a fresh Drupal instance
* follow the guide
* report details
* post new issues when different problems come up
Going academically, following the install guide, at which point you receive?
"Drupal\Component\Plugin\Exception\PluginNotFoundException: The "commerce_checkout_flow" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 139 of core/lib/Drupal/Core/Entity/EntityTypeManager.php)."
Please share modules already installed before the exception.
BeeHotel setup is a strict sequence of steps really. Drush makes it doable. I'm just not sure you can run a business based on Beehotel without drush at all.
This issue is to be closed "works as designed". Please closed it back once we agree this concept is acceptable.