catalinbombea
Member
was able to fix the subcontroller, stupid mistakes in there…
Should be:
if ($b) {
$order_data->update_meta_data(“xlspadlock_activations_$product_id”, $existing_activations_str);
$order_data->save_meta_data();
}
before, was: if (!$b)
However, since wp 6.3.0, there are many issues that need to be fixed,
$order_item->product_id fails, should be now:
$order_item->get_product_id()
And many similar changes
Should be:
if ($b) {
$order_data->update_meta_data(“xlspadlock_activations_$product_id”, $existing_activations_str);
$order_data->save_meta_data();
}
before, was: if (!$b)
However, since wp 6.3.0, there are many issues that need to be fixed,
$order_item->product_id fails, should be now:
$order_item->get_product_id()
And many similar changes