@@ -6293,6 +6293,11 @@ function saswp_get_fields_by_schema_type( $schema_id = null, $condition = null,
62936293 'id' => 'saswp_product_schema_offer_count_'.$schema_id,
62946294 'type' => 'text',
62956295 ),
6296+ array(
6297+ 'label' => 'Offer URL',
6298+ 'id' => 'saswp_product_schema_offer_url_'.$schema_id,
6299+ 'type' => 'text',
6300+ ),
62966301 array(
62976302 'label' => 'Price Valid Until',
62986303 'id' => 'saswp_product_schema_priceValidUntil_'.$schema_id,
@@ -6477,6 +6482,17 @@ function saswp_get_fields_by_schema_type( $schema_id = null, $condition = null,
64776482 'ReturnShippingFees' => 'ReturnShippingFees',
64786483 )
64796484 ),
6485+ array(
6486+ 'label' => 'Return Policy Refund Type',
6487+ 'id' => 'saswp_product_schema_rp_refund_type_'.$schema_id,
6488+ 'type' => 'select',
6489+ 'options' => array(
6490+ '' => 'Select Refune Type',
6491+ 'FullRefund' => 'FullRefund',
6492+ 'ExchangeRefund' => 'ExchangeRefund',
6493+ 'StoreCreditRefund' => 'StoreCreditRefund',
6494+ )
6495+ ),
64806496 array(
64816497 'label' => 'Shipping Rate Value',
64826498 'id' => 'saswp_product_schema_sr_value_'.$schema_id,
@@ -7221,7 +7237,7 @@ function saswp_get_fields_by_schema_type( $schema_id = null, $condition = null,
72217237 break;
72227238
72237239 case 'Review':
7224-
7240+ $review_item_type = get_post_meta($schema_id, 'saswp_review_item_reviewed_'.$schema_id, true);
72257241 $meta_field[] = array(
72267242 'label' => 'Review Name',
72277243 'id' => 'saswp_review_name_'.$schema_id,
@@ -7323,7 +7339,8 @@ function saswp_get_fields_by_schema_type( $schema_id = null, $condition = null,
73237339 'SoftwareApplication' => 'SoftwareApplication',
73247340 'MobileApplication' => 'MobileApplication',
73257341 'VideoGame' => 'VideoGame',
7326- )
7342+ ),
7343+ 'default' => $review_item_type,
73277344 );
73287345
73297346 }
@@ -10587,36 +10604,71 @@ function saswp_get_fields_by_schema_type( $schema_id = null, $condition = null,
1058710604 'id' => 'saswp_vehicle_schema_manufacturer_'.$schema_id,
1058810605 'type' => 'text',
1058910606 ),
10590- array(
10591- 'label' => 'Price',
10592- 'id' => 'saswp_vehicle_schema_price_'.$schema_id,
10593- 'type' => 'text',
10594- ),
10595- array(
10596- 'label' => 'High Price',
10597- 'id' => 'saswp_vehicle_schema_high_price_'.$schema_id,
10598- 'type' => 'text'
10599- ),
10600- array(
10601- 'label' => 'Low Price',
10602- 'id' => 'saswp_vehicle_schema_low_price_'.$schema_id,
10603- 'type' => 'text'
10604- ),
10605- array(
10606- 'label' => 'Offer Count',
10607- 'id' => 'saswp_vehicle_schema_offer_count_'.$schema_id,
10608- 'type' => 'text'
10609- ),
10610- array(
10611- 'label' => 'Price Valid Until',
10612- 'id' => 'saswp_vehicle_schema_priceValidUntil_'.$schema_id,
10613- 'type' => 'text'
10614- ),
10615- array(
10616- 'label' => 'Currency',
10617- 'id' => 'saswp_vehicle_schema_currency_'.$schema_id,
10618- 'type' => 'text'
10619- ),
10607+ array(
10608+ 'label' => 'Identification Number',
10609+ 'id' => 'saswp_vehicle_schema_identification_no_'.$schema_id,
10610+ 'type' => 'text',
10611+ ),
10612+ array(
10613+ 'label' => 'Color',
10614+ 'id' => 'saswp_vehicle_schema_color_'.$schema_id,
10615+ 'type' => 'text',
10616+ ),
10617+ array(
10618+ 'label' => 'Interior Type',
10619+ 'id' => 'saswp_vehicle_schema_interior_type_'.$schema_id,
10620+ 'type' => 'text',
10621+ ),
10622+ array(
10623+ 'label' => 'Interior Color',
10624+ 'id' => 'saswp_vehicle_schema_interior_color_'.$schema_id,
10625+ 'type' => 'text',
10626+ ),
10627+ array(
10628+ 'label' => 'Transmission',
10629+ 'id' => 'saswp_vehicle_schema_transmission_'.$schema_id,
10630+ 'type' => 'text',
10631+ ),
10632+ array(
10633+ 'label' => 'Vehicle Configuration',
10634+ 'id' => 'saswp_vehicle_schema_config_'.$schema_id,
10635+ 'type' => 'text',
10636+ ),
10637+ array(
10638+ 'label' => 'Drive Wheel Configuration',
10639+ 'id' => 'saswp_vehicle_schema_wheel_config_'.$schema_id,
10640+ 'type' => 'text',
10641+ ),
10642+ array(
10643+ 'label' => 'Price',
10644+ 'id' => 'saswp_vehicle_schema_price_'.$schema_id,
10645+ 'type' => 'text',
10646+ ),
10647+ array(
10648+ 'label' => 'High Price',
10649+ 'id' => 'saswp_vehicle_schema_high_price_'.$schema_id,
10650+ 'type' => 'text'
10651+ ),
10652+ array(
10653+ 'label' => 'Low Price',
10654+ 'id' => 'saswp_vehicle_schema_low_price_'.$schema_id,
10655+ 'type' => 'text'
10656+ ),
10657+ array(
10658+ 'label' => 'Offer Count',
10659+ 'id' => 'saswp_vehicle_schema_offer_count_'.$schema_id,
10660+ 'type' => 'text'
10661+ ),
10662+ array(
10663+ 'label' => 'Price Valid Until',
10664+ 'id' => 'saswp_vehicle_schema_priceValidUntil_'.$schema_id,
10665+ 'type' => 'text'
10666+ ),
10667+ array(
10668+ 'label' => 'Currency',
10669+ 'id' => 'saswp_vehicle_schema_currency_'.$schema_id,
10670+ 'type' => 'text'
10671+ ),
1062010672 array(
1062110673 'label' => 'Aggregate Rating',
1062210674 'id' => 'saswp_vehicle_schema_enable_rating_'.$schema_id,
0 commit comments