On Hotel room view page if we book the particular room on the CART page it gives the NOTICE

Notice: Undefined property: stdClass::$price in hotel_booking_uc_cart_display() line 111 of hotel_booking.ubercart.inc

Comments

Status:Active» Fixed

While looking at the code of [hotel_booking.ubercart.inc] line #111

$element['#total'] = $item->price;

There is no variable value for the [$item->price] instead should have been $item->data['total'] as show in the attached screenshot.

Please let me know in case any further assistance required.

While looking at the code of [hotel_booking.ubercart.inc] line #111

$element['#total'] = $item->price;

There is no variable value for the [$item->price] instead should have been $item->data['total'] as show in the attached screenshot.

Please let me know in case any further assistance required.

hotel

Status:Fixed» Closed (fixed)

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