add_filter( 'rank_math/json_ld', function( $data, $jsonld ) { if ( empty( $data['richSnippet'] ) || ! in_array( $data['richSnippet']['@type'], [ 'Product', 'ProductGroup' ] ) ) { return $data; } $data['shippingDetails'] = [ '@context' => 'https://schema.org/', '@type' => 'OfferShippingDetails', '@id' => '#shipping_policy', 'deliveryTime' => [ '@type' => 'ShippingDeliveryTime', 'handlingTime' => [ '@type' => 'QuantitativeValue', 'minValue' => 15, 'maxValue' => 20, 'unitCode' => 'DAY', ], 'transitTime' => [ '@type' => 'QuantitativeValue', 'minValue' => 7, 'maxValue' => 10, 'unitCode' => 'DAY' ], ], 'shippingRate' => [ '@type' => 'MonetaryAmount', 'value' => 60, 'currency' => 'INR', ], 'shippingDestination' => [ '@type' => 'DefinedRegion', 'addressCountry' => 'IN' ] ]; $data['hasMerchantReturnPolicy'] = [ '@context' => 'https://schema.org/', '@type' => 'MerchantReturnPolicy', '@id' => '#merchant_policy', 'applicableCountry' => 'IN', 'returnPolicyCountry' => 'IN', 'returnPolicyCategory' => 'https://schema.org/MerchantReturnFiniteReturnWindow', 'merchantReturnDays' => 7, 'returnMethod' => 'https://schema.org/ReturnByMail', 'returnFees' => 'https://schema.org/FreeReturn' ]; if ( 'Product' === $data['richSnippet']['@type'] ) { $data['richSnippet']['offers']['shippingDetails'] = [ '@id' => '#shipping_policy' ]; $data['richSnippet']['offers']['hasMerchantReturnPolicy'] = ['@id' => '#merchant_policy']; return $data; } if ( empty( $data['richSnippet']['hasVariant'] ) ) { return $data; } foreach ( $data['richSnippet']['hasVariant'] as $key => $value ) { if ( empty( $value['offers'] ) ) { continue; } $data['richSnippet']['hasVariant'][ $key ]['offers']['shippingDetails'] = [ '@id' => '#shipping_policy' ]; $data['richSnippet']['hasVariant'][ $key ]['offers']['hasMerchantReturnPolicy'] = [ '@id' => '#merchant_policy' ]; } return $data; }, 99, 2); Shop Custom Cut Lab Grown Diamonds
HALF MOON

4,211

Carat : 0.11
Color : E
Clarity : VVS2
Stone Id : 925180029
HALF MOON

4,211

Carat : 0.11
Color : F
Clarity : VVS2
Stone Id : 925170066
HALF MOON

4,555

Carat : 0.12
Color : D
Clarity : VVS2
Stone Id : 924930158
HALF MOON

4,555

Carat : 0.12
Color : F
Clarity : VVS2
Stone Id : 925170084
ROUND MODIFIED BRILLIANT

11,001

Carat : 0.51
Color : D
Clarity : VVS1
Stone Id : 924560436
BAGUETTE

11,602

Carat : 0.43
Color : F
Clarity : VVS2
Stone Id : 18233
WIDE TRAPEZOID

12,891

Carat : 0.3
Color : D
Clarity : VVS2
Stone Id : 924910660
WIDE TRAPEZOID

12,891

Carat : 0.3
Color : D
Clarity : VS2
Stone Id : 924910666
CADILLAC

15,470

Carat : 0.36
Color : D
Clarity : VVS2
Stone Id : 924690022
TRILLIANT

16,415

Carat : 1.02
Color : D
Clarity : VVS1
Stone Id : 925621962
TEDDY BEAR

16,673

Carat : 1.03
Color : D
Clarity : VVS2
Stone Id : 926071880
TRILLIANT

16,673

Carat : 1.03
Color : D
Clarity : VVS2
Stone Id : 926101505
TRILLIANT

17,017

Carat : 1.05
Color : D
Clarity : VS1
Stone Id : 926171023
CADILLAC

18,478

Carat : 0.43
Color : D
Clarity : VVS2
Stone Id : 924970144
BULLET

27,416

Carat : 0.51
Color : D
Clarity : VVS2
Stone Id : 924520209
BULLET

28,447

Carat : 0.53
Color : E
Clarity : VVS1
Stone Id : 924520105
TAPERED BAGUETTE

29,478

Carat : 1.37
Color : D
Clarity : VVS2
Stone Id : 925950094
WIDE TRAPEZOID

30,510

Carat : 0.71
Color : D
Clarity : VS1
Stone Id : 924710184
SQUARE EMERALD

42,972

Carat : 2
Color : D
Clarity : VVS2
Stone Id : 925920654
SQUARE EMERALD

42,972

Carat : 2
Color : D
Clarity : VS1
Stone Id : 925801763
SQUARE EMERALD

42,972

Carat : 2
Color : D
Clarity : VS1
Stone Id : 925920909
CUSHION BRILLIANT

43,401

Carat : 1.01
Color : E
Clarity : VVS1
Stone Id : 926111027
CUSHION BRILLIANT

43,831

Carat : 1.02
Color : E
Clarity : VVS2
Stone Id : 925140346
CUSHION BRILLIANT

44,690

Carat : 1.04
Color : F
Clarity : VVS1
Stone Id : 925150167
LONG CU BRIL

45,206

Carat : 1.2
Color : D
Clarity : VS2
Stone Id : 924420302
RADIANT

45,378

Carat : 2.11
Color : D
Clarity : VS2
Stone Id : 925920977
PRINCESS

52,941

Carat : 2.09
Color : F
Clarity : VVS2
Stone Id : L30152
LONG CU BRIL

56,980

Carat : 1.51
Color : D
Clarity : VVS2
Stone Id : 925270557
CUSHION BRILLIANT

86,802

Carat : 2.02
Color : D
Clarity : VVS2
Stone Id : 925951208
CUSHION BRILLIANT

86,802

Carat : 2.02
Color : D
Clarity : VVS2
Stone Id : 925951290