Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
now that ubercart uses uc_order-customer.tpl.php is there a simple way of getting the following information (from the order pane) into the template?
Penthouse (3 Nights, 1 Adult, 2 Children))
The following table breaks down your stay by day, listing price per night of the room .
Dates Total
Sunday August 15, 2010 Night 1 Check-In £100.00
Monday August 16, 2010 Night 2 £100.00
Tuesday August 17, 2010 Night 3 £100.00
Wednesday August 18, 2010 Check-Out
or at the very least " we look forward to welcoming you on the [check-in-date]"
corrently I am just adding [check-in-date] to the subject (better than nothing :-)
Comments
Comment #1
larowlanHi
There are two tokens defined by hotel_booking, one of them is the order pane.
I've not looked at UC 2.3 yet but it is on my to-do list (in the sooner category).
I think the module will need to provide it's own tpl.php for users to copy to their theme folder - the other option is to override the default one using hook_theme_registry but I feel this is too invasive for where the user is selling standard UC products alongside hotel products.
Lee
Comment #2
artatac CreditAttribution: artatac commentedThanks lee
If it would be helpful to you to have access to my 2.3v demo site and FTP please let me know
Regards
Joe
Comment #3
ookello CreditAttribution: ookello commentedIn the meanwhile, Joe, can you please suggest how to add check-in/check-out date to the email subject line?
Thanks,
okello
Comment #4
ookello CreditAttribution: ookello commentedSorry, was using beta3. Did not realize these tokens were introduced in beta4.
Comment #5
artatac CreditAttribution: artatac commentedsure - go to
admin/store/ca/uc_checkout_customer_notification/edit/actions
> Subject: > replace with Your Order at [store-name] [check-in-date]
although this effects all orders it is ignored on non hotel orders