| @@ -171,9 +171,18 @@ | ||
| 171 | 171 | 'email_template_admin_scheduled_payment_failed' => true, |
| 172 | 172 | 'email_template_enquiry_received' => true, |
| 173 | 173 | 'email_template_enquiry_admin' => true, |
| 174 | 174 | 'email_template_enquiry_response' => true, |
| 175 | - 'email_template_review_request' => true, | |
| 175 | + // Off by default, unlike the other templates. A review request is the | |
| 176 | + // one transactional email that is not a response to something the | |
| 177 | + // customer just did, and several jurisdictions treat it as advertising | |
| 178 | + // rather than service mail — in Germany the BGH (VI ZR 225/17) holds it | |
| 179 | + // needs prior consent, and the existing-customer exemption in | |
| 180 | + // §7 Abs. 3 UWG does not cover it. Shipping it on would have every new | |
| 181 | + // site mailing customers for consent it has not collected, so the | |
| 182 | + // operator turns it on once they have decided how they collect it. | |
| 183 | + // Sites that already have it on are untouched. | |
| 184 | + 'email_template_review_request' => false, | |
| 176 | 185 | 'email_template_abandoned_booking_recovery_first' => true, |
| 177 | 186 | 'email_template_abandoned_booking_recovery_second' => true, |
| 178 | 187 | 'email_template_abandoned_booking_recovery_final' => true, |
| 179 | 188 | // Customer-registration gate (AuthController::register reads |
| @@ -218,9 +227,13 @@ | ||
| 218 | 227 | 'require_booking_to_review' => false, |
| 219 | 228 | 'auto_approve_reviews' => false, |
| 220 | 229 | 'enable_review_moderation' => true, |
| 221 | 230 | 'minimum_rating' => 1, |
| 222 | - 'review_reminder_days' => 7, | |
| 231 | + 'review_reminder_days' => 3, | |
| 232 | + // Never ask about a trip that ended longer ago than this. The | |
| 233 | + // reminder is anchored to the tour's end date, so a backlog of | |
| 234 | + // bookings completed late is skipped rather than mailed in bulk. | |
| 235 | + 'review_reminder_max_age_days' => 14, | |
| 223 | 236 | |
| 224 | 237 | // Tax |
| 225 | 238 | 'enable_tax' => false, |
| 226 | 239 | 'tax_rate' => 0, |
| @@ -244,8 +257,15 @@ | ||
| 244 | 257 | 'trip_category_base' => 'trip-category', |
| 245 | 258 | |
| 246 | 259 | // SEO |
| 247 | 260 | 'enable_sitemap' => true, |
| 261 | + // Which Yatra content types appear in /yatra-sitemap.xml. Defaults to | |
| 262 | + // every type, so a site that never touches this keeps today's sitemap. | |
| 263 | + 'sitemap_types' => ['archive', 'trip', 'destination', 'activity', 'category'], | |
| 264 | + // Opt-in, and deliberately separate from the list above: dropping a type | |
| 265 | + // from the sitemap is housekeeping, while noindex de-indexes pages that | |
| 266 | + // may currently rank. That should never happen as a side effect. | |
| 267 | + 'sitemap_noindex_excluded' => false, | |
| 248 | 268 | |
| 249 | 269 | // Advanced |
| 250 | 270 | 'enable_debug_mode' => false, |
| 251 | 271 | 'delete_data_on_uninstall' => false, |