Hi,

I'm trying to use Hotel Booking System for Ubercart on my site
http://edsapartments.co.uk:8000/eds

but keep getting the following error message:

warning: call_user_func_array() [function.call-user-func-array]: First
argument is expected to be a valid callback, 'uc_catalog_buy_it_now_form_11'
was given in /opt/lampp/htdocs/eds/includes/form.inc on line 376.

Can you help

Comments

terell’s picture

Assigned: terell » Unassigned
larowlan’s picture

Title: otel Booking System for Ubercart » Hotel Booking System for Ubercart
Category: bug » support
Priority: Major » Normal
Status: Active » Fixed

I assume you're trying to get the hotel nodes to show in the Ubercart catalog.
The module isn't built to support the catalog with the 'buy it now' form - as we need the extra fields like the check in date etc. As such this isn't a bug, but a support request.
You can either
a) Write your own implementation of the ubercart catalog theme functions in your theme's template.php that uses the book now form for the room (see hotel_booking_view in hotel_booking.room_type.inc) for hotel_room_type nodes
b) Remove the buy it now form from your catalog fields at admin->store settings->configure->catalog settings.

Lee

retrosetro’s picture

pls can anyone help me on how to change the dollar($) sign in the UC_HOTEL ubercart code. I will so much appreciate your assistance. thanks in advance

larowlan’s picture

@retrosetro
Please don't hijack a closed thread, file a new one here: http://drupal.org/node/add/project-issue/uc_hotel
Your request is a simple one, but belongs in a new thread so others with a similar issue can find it.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.