PluginProbe
Timetics – Appointment Booking Calendar & Scheduling / 1.0.38
Timetics – Appointment Booking Calendar & Scheduling v1.0.38
1.0.62 1.0.63 1.0.61 1.0.60 1.0.59 1.0.58 1.0.57 1.0.56 trunk 1.0.0 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 1.0.19 1.0.2 1.0.20 1.0.21 1.0.22 All 64 releases
← All changes | core/integrations/woocommerce/product.php +0 -7 1.0.63 → 1.0.38 View file →
@@ -5,10 +5,8 @@
5 5 * @package Timetics
6 6 */
7 7 namespace Timetics\Core\Integrations\Woocommerce;
8 8
9 -defined( 'ABSPATH' ) || exit;
10 -
11 9 /**
12 10 * WooCommerce Product class
13 11 */
14 12 class Product {
@@ -35,13 +33,8 @@
35 33 $product->set_status( 'publish' );
36 34 $product->set_category_ids( [$product_category_id] );
37 35
38 36 $product->update_meta_data( 'timetics_meeting_id', $meeting->get_id() );
39 -
40 - // Store meeting details as product meta for checkout/email display
41 - $product->update_meta_data( 'timetics_duration', $meeting->get_duration() );
42 - $product->update_meta_data( 'timetics_timezone', $meeting->get_timezone() );
43 -
44 37 $product_id = $product->save();
45 38
46 39 $meeting->update( [
47 40 'wc_product_id' => $product->get_id(),