我正在使用woo商务预订插件来预订旅游,但我想得到每个人类型的名字在结帐页面上分别取决于人数的动态。我发现堆栈溢出上的post对我不起作用,它在结帐页面上显示未定义的偏移量0作为错误。 I tried this function already. //* Add a new checkout fieldfunction ppp_filter_checkout_fields($fields){
$fields[&
但是当我在那个时间范围内检查预订时,创建的预订并不存在.我认为这与"get_bookings_in_date_range()“的兑现有关。如果是的话,我该如何结清现金?//This works fine, it returns all the bookingids
$booking_ids = WC_Bookings_Controller::get_bookings_in_date_rangethe backend but doesnt get recognized by the code below,
我收到以下错误消息: TypeError at /bookings/ 'OnlineForm‘对象不可调用 form = OnlineForm(request.POST) return render(request, 'bookings.htmlapp_name = 'bookingsystem'
ur