Enter your gift card infomation
Amount
<?php
$product = \WC_Product_Wgm_Gift_Card::__set_state(array(
'id' => 6460,
'data' =>
array (
'name' => 'On Season Meals eGift Card',
'slug' => 'e-gift-card',
'date_created' =>
\WC_DateTime::__set_state(array(
'utc_offset' => 0,
'date' => '2023-11-10 03:12:45.000000',
'timezone_type' => 1,
'timezone' => '+00:00',
)),
'date_modified' =>
\WC_DateTime::__set_state(array(
'utc_offset' => 0,
'date' => '2023-11-21 14:11:13.000000',
'timezone_type' => 1,
'timezone' => '+00:00',
)),
'status' => 'publish',
'featured' => false,
'catalog_visibility' => 'visible',
'description' => '',
'short_description' => '',
'sku' => '',
'price' => '150',
'regular_price' => '150',
'sale_price' => '',
'date_on_sale_from' => NULL,
'date_on_sale_to' => NULL,
'total_sales' => 10,
'tax_status' => 'none',
'tax_class' => '',
'manage_stock' => false,
'stock_quantity' => NULL,
'stock_status' => 'instock',
'backorders' => 'no',
'low_stock_amount' => '',
'sold_individually' => false,
'weight' => '',
'length' => '',
'width' => '',
'height' => '',
'upsell_ids' =>
array (
),
'cross_sell_ids' =>
array (
),
'parent_id' => 0,
'reviews_allowed' => true,
'purchase_note' => '',
'attributes' =>
array (
),
'default_attributes' =>
array (
),
'menu_order' => 0,
'post_password' => '',
'virtual' => false,
'downloadable' => false,
'category_ids' =>
array (
0 => 89,
),
'tag_ids' =>
array (
),
'shipping_class_id' => 0,
'downloads' =>
array (
),
'image_id' => '',
'gallery_image_ids' =>
array (
),
'download_limit' => -1,
'download_expiry' => -1,
'rating_counts' =>
array (
),
'average_rating' => '0',
'review_count' => 0,
),
'changes' =>
array (
),
'object_read' => true,
'object_type' => 'product',
'extra_data' =>
array (
),
'default_data' =>
array (
'name' => '',
'slug' => '',
'date_created' => NULL,
'date_modified' => NULL,
'status' => false,
'featured' => false,
'catalog_visibility' => 'visible',
'description' => '',
'short_description' => '',
'sku' => '',
'price' => '',
'regular_price' => '',
'sale_price' => '',
'date_on_sale_from' => NULL,
'date_on_sale_to' => NULL,
'total_sales' => '0',
'tax_status' => 'taxable',
'tax_class' => '',
'manage_stock' => false,
'stock_quantity' => NULL,
'stock_status' => 'instock',
'backorders' => 'no',
'low_stock_amount' => '',
'sold_individually' => false,
'weight' => '',
'length' => '',
'width' => '',
'height' => '',
'upsell_ids' =>
array (
),
'cross_sell_ids' =>
array (
),
'parent_id' => 0,
'reviews_allowed' => true,
'purchase_note' => '',
'attributes' =>
array (
),
'default_attributes' =>
array (
),
'menu_order' => 0,
'post_password' => '',
'virtual' => false,
'downloadable' => false,
'category_ids' =>
array (
),
'tag_ids' =>
array (
),
'shipping_class_id' => 0,
'downloads' =>
array (
),
'image_id' => '',
'gallery_image_ids' =>
array (
),
'download_limit' => -1,
'download_expiry' => -1,
'rating_counts' =>
array (
),
'average_rating' => 0,
'review_count' => 0,
),
'data_store' =>
\WC_Data_Store::__set_state(array(
'instance' =>
\WC_Product_Data_Store_CPT::__set_state(array(
'meta_type' => 'post',
'object_id_field_for_meta' => '',
'internal_meta_keys' =>
array (
0 => '_visibility',
1 => '_sku',
2 => '_price',
3 => '_regular_price',
4 => '_sale_price',
5 => '_sale_price_dates_from',
6 => '_sale_price_dates_to',
7 => 'total_sales',
8 => '_tax_status',
9 => '_tax_class',
10 => '_manage_stock',
11 => '_stock',
12 => '_stock_status',
13 => '_backorders',
14 => '_low_stock_amount',
15 => '_sold_individually',
16 => '_weight',
17 => '_length',
18 => '_width',
19 => '_height',
20 => '_upsell_ids',
21 => '_crosssell_ids',
22 => '_purchase_note',
23 => '_default_attributes',
24 => '_product_attributes',
25 => '_virtual',
26 => '_downloadable',
27 => '_download_limit',
28 => '_download_expiry',
29 => '_featured',
30 => '_downloadable_files',
31 => '_wc_rating_count',
32 => '_wc_average_rating',
33 => '_wc_review_count',
34 => '_variation_description',
35 => '_thumbnail_id',
36 => '_file_paths',
37 => '_product_image_gallery',
38 => '_product_version',
39 => '_wp_old_slug',
40 => '_edit_last',
41 => '_edit_lock',
),
'must_exist_meta_keys' =>
array (
0 => '_tax_class',
),
'extra_data_saved' => false,
'updated_props' =>
array (
),
)),
'stores' =>
array (
'coupon' => 'WC_Coupon_Data_Store_CPT',
'customer' => 'WC_Customer_Data_Store',
'customer-download' => 'WC_Customer_Download_Data_Store',
'customer-download-log' => 'WC_Customer_Download_Log_Data_Store',
'customer-session' => 'WC_Customer_Data_Store_Session',
'order' => 'WC_Order_Data_Store_CPT',
'order-refund' => 'WC_Order_Refund_Data_Store_CPT',
'order-item' => 'WC_Order_Item_Data_Store',
'order-item-coupon' => 'WC_Order_Item_Coupon_Data_Store',
'order-item-fee' => 'WC_Order_Item_Fee_Data_Store',
'order-item-product' => 'WC_Order_Item_Product_Data_Store',
'order-item-shipping' => 'WC_Order_Item_Shipping_Data_Store',
'order-item-tax' => 'WC_Order_Item_Tax_Data_Store',
'payment-token' => 'WC_Payment_Token_Data_Store',
'product' => 'WC_Product_Data_Store_CPT',
'product-grouped' => 'WC_Product_Grouped_Data_Store_CPT',
'product-variable' => 'WC_Product_Variable_Data_Store_CPT',
'product-variation' => 'WC_Product_Variation_Data_Store_CPT',
'shipping-zone' => 'WC_Shipping_Zone_Data_Store',
'webhook' => 'WC_Webhook_Data_Store',
'order-item-line_item_removed' => 'WC_Order_Item_Product_Data_Store',
'order-item-line_item_switched' => 'WC_Order_Item_Product_Data_Store',
'order-item-coupon_pending_switch' => 'WC_Order_Item_Coupon_Data_Store',
'order-item-fee_pending_switch' => 'WC_Order_Item_Fee_Data_Store',
'subscription' => 'WCS_Subscription_Data_Store_CPT',
'product-variable-subscription' => 'WCS_Product_Variable_Data_Store_CPT',
'product-subscription_variation' => 'WC_Product_Variation_Data_Store_CPT',
'order-item-line_item_pending_switch' => 'WC_Order_Item_Product_Data_Store',
'product-composite' => 'WC_Product_Composite_Data_Store_CPT',
'product-bundle' => 'WC_Product_Bundle_Data_Store_CPT',
'report-revenue-stats' => 'Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\DataStore',
'report-orders' => 'Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\DataStore',
'report-orders-stats' => 'Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\DataStore',
'report-products' => 'Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\DataStore',
'report-variations' => 'Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\DataStore',
'report-products-stats' => 'Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\DataStore',
'report-variations-stats' => 'Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Stats\\DataStore',
'report-categories' => 'Automattic\\WooCommerce\\Admin\\API\\Reports\\Categories\\DataStore',
'report-taxes' => 'Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\DataStore',
'report-taxes-stats' => 'Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Stats\\DataStore',
'report-coupons' => 'Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\DataStore',
'report-coupons-stats' => 'Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\Stats\\DataStore',
'report-downloads' => 'Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\DataStore',
'report-downloads-stats' => 'Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Stats\\DataStore',
'admin-note' => 'Automattic\\WooCommerce\\Admin\\Notes\\DataStore',
'report-customers' => 'Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\DataStore',
'report-customers-stats' => 'Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Stats\\DataStore',
'report-stock-stats' => 'Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\Stats\\DataStore',
'report-composites-revenue' => 'WC_CP_Analytics_Revenue_Data_Store',
'report-composites-revenue-stats' => 'WC_CP_Analytics_Revenue_Stats_Data_Store',
'report-bundles-stock' => 'WC_PB_Analytics_Stock_Data_Store',
'report-bundles-revenue' => 'WC_PB_Analytics_Revenue_Data_Store',
'report-bundles-revenue-stats' => 'WC_PB_Analytics_Revenue_Stats_Data_Store',
),
'current_class_name' => 'WC_Product_Data_Store_CPT',
'object_type' => 'product-wgm_gift_card',
)),
'cache_group' => 'products',
'meta_data' => NULL,
'post_type' => 'product',
'supports' =>
array (
),
'product_type' => 'wgm_gift_card',
));