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

larowlan’s picture

Assigned: Unassigned » larowlan
Category: support » feature
Issue tags: +Release blocker

Hi
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

artatac’s picture

Thanks 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

ookello’s picture

In the meanwhile, Joe, can you please suggest how to add check-in/check-out date to the email subject line?

Thanks,
okello

ookello’s picture

Sorry, was using beta3. Did not realize these tokens were introduced in beta4.

artatac’s picture

sure - 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