.mh-no-margin{margin:0!important}.mh-no-margin-bottom{margin-bottom:0!important}.mh-no-padding-bottom{padding-bottom:0!important}.mh-font-size-x-small{font-size:13px}.mh-font-size-xx-large{font-size:35px!important}.mh-font-size-x-large{font-size:25px!important}.mh-font-size-large{font-size:21px}.mh-font-title-size-large{font-size:30px!important}.mh-font-size-normal{font-size:19px!important}.mh-font-small{font-size:15px}.mh-font-normal{font-weight:400}.mh-font-bold{font-weight:700}.mh-font-italic{font-style:italic}.mh-text-decoration{text-decoration:line-through}.mh-color-primary{color:#fe9ec7!important}.mh-color-success{color:#e60f1e!important}.mh-color-alert{color:#000!important}.mh-text-justify{text-align:justify}.mh-list{list-style-type:none}.mh-fontawesome::before,.mh-fontawesome::after{font-family:FontAwesome;font-style:normal;font-weight:400;margin-right:7px}.mh-map::before{content:"\f041"}.mh-phone::before{content:"\f095"}.mh-mail::before{content:"\f003"}.mh-fex-row{display:flex!important;flex-direction:row}.mh-font-time-new-roman{font-family:"Times New Roman",Times,serif}.mh-input{box-shadow:none!important;-moz-box-shadow:none!important;-webkit-box-shadow:none!important;-o-box-shadow:none!important}input.mh-input::placeholder,textarea.mh-input::placeholder,input.mh-input[type='date']::placeholder{font-weight:400}.mh-form-2-col{justify-content:space-between}.mh-form-2-col>.mh-form-col{flex-basis:49%}p{margin-bottom:10px}.dark,.dark p,.dark td{color:#fff}.mh-col-divider .is-divider{display:none!important}.mh-page-right-sidebar{padding-top:0}.mh-breadcrumbs{padding:5px 15px;background-color:#f5f5f5}.mh-breadcrumbs .woocommerce-breadcrumb{text-transform:initial;font-size:16px;font-weight:400}.mh-arrow-slider svg.flickity-button-icon{border:1px solid #e60f1e;cursor:pointer;padding:15px 7px;background:rgb(255 255 255 / .8)}.mh-arrow-slider svg.flickity-button-icon:hover{background-color:#e60f1e}.mh-arrow-slider svg.flickity-button-icon:hover path{fill:#fff!important}.mh-arrow-slider svg.flickity-button-icon path{color:#e60f1e;opacity:1;fill:#e60f1e!important}#top-bar .nav.nav-left>li>a{color:#555;font-size:12px}#top-bar .nav.nav-left>li>a i{margin-top:0;margin-right:0!important}#top-bar .nav.nav-right>li a{font-size:15px;color:#444;padding:0 10px;margin:0}#top-bar .nav.nav-right>li a:not(:first-child){border-left:1px solid #444}#masthead .nav.nav-left>li.html.custom{margin-top:6px;margin-left:0}#masthead .nav.nav-left>li.header-search-form .search-field{box-shadow:none;-moz-box-shadow:none;-o-box-shadow:none;-webkit-box-shadow:none;border:1px solid #ffba00;border-top-left-radius:3px;-moz-border-top-left-radius:3px;-o-border-top-left-radius:3px;-webkit-border-top-left-radius:3px;border-bottom-left-radius:3px;-moz-border-bottom-left-radius:3px;-o-border-bottom-left-radius:3px;-webkit-border-bottom-left-radius:3px;min-height:35px}#masthead .nav.nav-left>li.header-search-form .ux-search-submit{border-top-right-radius:3px;-moz-border-top-right-radius:3px;-o-border-top-right-radius:3px;-webkit-border-top-right-radius:3px;border-bottom-right-radius:3px;-moz-border-bottom-right-radius:3px;-o-border-bottom-right-radius:3px;-webkit-border-bottom-right-radius:3px;min-height:35px;padding:0 30px}#masthead .nav.nav-right>li{margin:0 10px}#masthead .nav.nav-right>li>a{font-size:11px;text-transform:initial;font-weight:400}#masthead .nav.nav-right>li>a.header-cart-link,#masthead .nav.nav-right>li.account-item>a,#masthead .nav.nav-right>li.html>a{display:flex;flex-direction:column-reverse}#masthead .nav.nav-right>li>a.header-cart-link .image-icon{margin-bottom:10px}#masthead .nav.nav-right>li.html>a::after,#masthead .nav.nav-right>li.account-item>a::after{content:"";width:31px;height:31px;background-image:url(/wp-content/themes/flatsome-child/image/all-icon.png);background-repeat:no-repeat;margin-bottom:10px}#masthead .nav.nav-right>li.html>a::after{background-position:-31px}#wide-nav>.flex-row>.flex-left{max-width:282px;margin-right:30px}#wide-nav #mega-menu-wrap #mega-menu-title{background-color:#000;text-transform:uppercase;font-family:''}#wide-nav #mega-menu-wrap #mega-menu-wrap-mega_menu{position:absolute;width:100%;display:none}#wide-nav #mega-menu-wrap #mega-menu-wrap-mega_menu.active,#wide-nav #mega-menu-wrap #mega-menu-wrap-mega_menu:hover{display:block}#wide-nav .header-nav.header-bottom-nav>li>a{color:#000!important}body #wrapper{position:relative}#wide-nav #mega-menu-wrap-mega_menu ul#mega-menu-mega_menu>li{display:block;border-left:3px solid #e5e5e5;position:relative}#wide-nav #mega-menu-wrap-mega_menu ul#mega-menu-mega_menu>li:hover{border-left-color:#ffba00}#wide-nav #mega-menu-wrap-mega_menu ul#mega-menu-mega_menu>li:hover>a{color:#ffba00}#wide-nav #mega-menu-wrap-mega_menu ul#mega-menu-mega_menu>li:not(:last-child){border-bottom:1px solid #e5e5e5}#wide-nav #mega-menu-wrap-mega_menu ul#mega-menu-mega_menu>li>a{font-size:14px}#wide-nav #mega-menu-wrap-mega_menu ul#mega-menu-mega_menu>li>a::before{height:20px;content:"";background-image:url(/wp-content/themes/flatsome-child/image/all-icon.png);background-repeat:no-repeat;position:relative;top:9px;margin-right:10px}#wide-nav #mega-menu-wrap-mega_menu ul#mega-menu-mega_menu>li.mega-mh-menu-icon-1>a::before{width:16px;background-position:-64px}#wide-nav #mega-menu-wrap-mega_menu ul#mega-menu-mega_menu>li.mega-mh-menu-icon-2>a::before{width:20px;background-position:-77px}#wide-nav #mega-menu-wrap-mega_menu ul#mega-menu-mega_menu>li.mega-mh-menu-icon-3>a::before{width:20px;background-position:-96px}#wide-nav #mega-menu-wrap-mega_menu ul#mega-menu-mega_menu>li.mega-mh-menu-icon-4>a::before{width:18px;background-position:-115px}#wide-nav #mega-menu-wrap-mega_menu ul#mega-menu-mega_menu>li.mega-mh-menu-icon-5>a::before{width:20px;background-position:-130px}#wide-nav #mega-menu-wrap-mega_menu ul#mega-menu-mega_menu>li.mega-mh-menu-icon-6>a::before{width:18px;background-position:-149px}#wide-nav #mega-menu-wrap-mega_menu ul#mega-menu-mega_menu>li.mega-mh-menu-icon-7>a::before{width:18px;background-position:-164px}#wide-nav #mega-menu-wrap-mega_menu ul#mega-menu-mega_menu>li.mega-mh-menu-icon-8>a::before{width:18px;background-position:-179px}#wide-nav #mega-menu-wrap-mega_menu ul#mega-menu-mega_menu>li.mega-mh-menu-icon-9>a::before{width:22px;background-position:-195px}#wide-nav #mega-menu-wrap-mega_menu ul#mega-menu-mega_menu>li>ul.mega-sub-menu{position:absolute;left:100%;top:0;border-left:1px solid #eee;border-bottom:2px solid #e60f1e}#wide-nav #mega-menu-wrap-mega_menu ul#mega-menu-mega_menu>li.mega-menu-grid>ul.mega-sub-menu{min-width:500px}#wide-nav #mega-menu-wrap-mega_menu ul#mega-menu-mega_menu>li>ul.mega-sub-menu ul.menu>li{border:0}#wide-nav #mega-menu-wrap-mega_menu ul#mega-menu-mega_menu>li>ul.mega-sub-menu ul.menu>li>a{padding:3px 0}.product-small.box{border-bottom:1px solid #fff0;padding-bottom:15px;background-color:#fff}.product-small.box:hover{border-bottom-color:#e60f1e}.product-small.box .box-text.box-text-products{padding:5px}.product-small.box .box-text.box-text-products .name.product-title>a{font-size:15px;line-height:1.3;overflow:hidden;width:100%;color:#000}.woocommerce-Price-amount.amount{color:red}.woocommerce-variation-price{font-size:2em!important}.product-small.box .box-text.box-text-products .price-wrapper .woocommerce-Price-amount.amount{font-size:17px}.mh-image-tools{background-color:rgb(255 255 255 / .5);-o-box-shadow:2px 4px 5px 0 rgb(0 0 0 / .09);-moz-box-shadow:2px 4px 5px 0 rgb(0 0 0 / .09);-webkit-box-shadow:2px 4px 5px 0 rgb(0 0 0 / .09);box-shadow:2px 4px 5px 0 rgb(0 0 0 / .09);min-height:57px;max-width:80%;margin:0 auto;margin-bottom:25px;left:10%}.mh-image-tools>a,.mh-image-tools>.add-to-cart-button>a{overflow:hidden;text-indent:-9999px;position:relative;padding:0!important;line-height:57px}.mh-image-tools>a::before,.mh-image-tools .add-to-cart-button>a::before{font-family:FontAwesome;font-style:normal;font-weight:400;color:#000;float:left;font-size:18px;line-height:16px;margin:0;text-indent:0;position:absolute;top:35%;left:35%;transition:all .3s ease-in-out 0s;-moz-transition:all .3s ease-in-out 0s;-o-transition:all .3s ease-in-out 0s;-webkit-transition:all .3s ease-in-out 0s;-ms-transition:all .3s ease-in-out 0s}.mh-image-tools>a:hover::before,.mh-image-tools .add-to-cart-button>a:hover::before{-webkit-transform:rotate(-360deg);-ms-transform:rotate(-360deg);-o-transform:rotate(-360deg);transform:rotate(-360deg)}.mh-image-tools>a.quick-view::before{content:"\f002"}.mh-image-tools>a.mh-detail-product::before{content:"\f06e"}.mh-image-tools .add-to-cart-button>a::before{content:"\f07a"}.mh-detail-product,.mh-image-tools>a.quick-view,.mh-image-tools .add-to-cart-button>a,.mh-image-tools .add-to-cart-button>a:hover{border:0!important;background-color:rgb(255 255 255 / .5)!important;padding:0!important}.mh-image-tools>a,.mh-image-tools>.add-to-cart-button{flex-basis:100%;position:relative}.mh-image-tools>a::after{height:40px;display:block;width:1px;background-color:#e2e2e2;border-right:1px #e2e2e2;content:'';position:absolute;right:0;top:10px}.mh-image-tools .added_to_cart{display:none}.shop-page-title{display:none}.mh-category-page-row{padding-top:0;background-color:#fff}.mh-col-archive{max-width:77%;flex-basis:77%}.mh-col-archive .shop-container{padding-left:30px;min-height:47px}.mh-shop-title>.flex-row{border-bottom:1px solid #eaeaea}.mh-shop-title .mh-title-category{position:relative;min-height:47px}.mh-shop-title .mh-title-category span{padding:13px 0;display:inline-block;border-bottom:1px solid #e6101e}.mh-shop-title .orderby{box-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none;-o-box-shadow:none}.mh-shop-title .woocommerce-ordering{margin:3.5px 3.5px}.mh-col-archive .woocommerce-info{margin:15px 0}.mh-col-shop-sidebar{max-width:23%;flex-basis:23%}.mh-shop-sidebar{border:1px solid #eaeaea}.mh-shop-sidebar .widget-title{display:block;font-size:15px;border-bottom:1px solid #eaeaea;padding:15px 25px}.mh-shop-sidebar aside.widget>div,.mh-shop-sidebar aside.widget>ul{padding:15px 20px 0}.mh-shop-sidebar li{border:0!important}.mh-shop-sidebar .woocommerce-widget-layered-nav-list .count{display:none}.mh-shop-sidebar .woocommerce-widget-layered-nav-list>li>a::before,.mh-shop-sidebar .woocommerce-widget-layered-nav-list>li.chosen>a::before{font-family:FontAwesome;font-style:normal;font-weight:400;margin-right:5px;font-size:15px}.mh-shop-sidebar .woocommerce-widget-layered-nav-list>li>a::before{content:"\f096"}.mh-shop-sidebar .woocommerce-widget-layered-nav-list>li.chosen>a::before{content:"\f14a";border:0;opacity:1;background-color:#fff0}.mh-row-single-product{background-color:#fff}.mh-col-summary .product-title{font-size:20px;line-height:1.2;margin-bottom:5px;color:#3d3d3d;text-transform:uppercase;margin-bottom:0}.mh-block-summary .mh-title-policy{font-size:17px;color:#5a5a5a;padding-bottom:10px}.mh-block-summary .icon-box-text p{font-size:14px;line-height:1.6}.mh-block-summary-1 .price.product-page-price{font-size:25px;margin-bottom:15px}.mh-block-summary-1 .cart{margin-bottom:0}.mh-block-summary-1 .cart input{box-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none;-o-box-shadow:none}.mh-block-summary-1 .single_add_to_cart_button{margin:10px 0 0}.mh-block-summary-1 .single_add_to_cart_button::before{content:"\f07a";font-family:FontAwesome;font-style:normal;font-weight:400;font-size:21px;margin-right:10px}.mh-block-summary-3 .icon-box{margin-bottom:10px}.mh-block-summary-3 .icon-box-img{width:16px!important}.mh-block-summary-3 .icon-box-img img{padding-top:0}.mh-title-product-tabs span{border-bottom:3px solid #e60f1e;padding-bottom:5px;font-size:18px;color:#666}.mh-col-product-tabs .woocommerce-tabs .tab-panels{border:0}.mh-col-product-related .product-section-title{display:none}.mh-col-product-related .related-products-wrapper{border-top:0}.mh-col-product-related .col-inner:hover .flickity-button,.mh-col-product-related .col-inner .flickity-button:hover{box-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none;-o-box-shadow:none;background-color:#fff0}.mh-col-product-related .slider-nav-reveal .flickity-prev-next-button.previous{left:0px!important}.mh-col-product-related .slider-nav-reveal .flickity-prev-next-button.next{right:0px!important}.mh-col-footer-register form.wpcf7-form,.mh-col-footer-register form.wpcf7-form label,.mh-col-footer-register form.wpcf7-form input.mh-input{margin-bottom:0}.mh-col-policy::before{font-family:FontAwesome;font-style:normal;font-weight:400;font-size:30px;margin-right:20px;color:#e6101e}.mh-col-policy-1::before{content:"\f0d1"}.mh-col-policy-2::before{content:"\f0d6"}.mh-col-policy-3::before{content:"\f118"}.mh-col-policy-4::before{content:"\f095"}.mh-col-policy>.col-inner{display:flex;flex-direction:column;justify-content:center}.mh-footer-col .widget{padding:0;margin-bottom:0}.mh-footer-col .widget-title{display:block;font-size:15px;font-weight:400;margin-bottom:10px;padding-bottom:10px;border-bottom:1px dashed #eee}.mh-footer-col ul.menu>li{border-top:0}.mh-footer-col ul.menu>li>a{font-size:13px;padding:3px 0}.mh-footer-col-1{border-right:1px solid #eee}footer#footer .absolute-footer{padding:15px 0}footer#footer .copyright-footer,footer#footer .copyright-footer a{font-weight:700;color:#333}.mh-sidebar,body.single .mh-content .page-inner,body.page-template .mh-content .page-inner{background-image:url(/wp-content/themes/flatsome-child/image/sing-practice.png);padding:10px!important}body.single .mh-page-inner,body.page-template .mh-page-inner{background-color:#fff;padding:10px 15px}.mh-sidebar .widget-area{background-color:#fff;padding:20px 15px}.mh-sidebar .widget-title{display:block;margin-bottom:10px}.mh-sidebar aside.widget li{border:0}.mh-sidebar aside.widget li a{padding:3px 0}.mh-sidebar ul#menu-vertical-menu-danh-muc-san-pham>li>a::before{content:"\f105";font-family:FontAwesome;font-style:normal;font-weight:400;margin-right:10px}#mega_menu>li>a{font-size:1.1em!important}.mh-sidebar .recent-blog-posts{padding:5px 0}.mh-sidebar .recent-blog-posts-li a{margin:0;padding:0}.mh-sidebar .recent-blog-posts-li{border-bottom:1px solid #eee!important;margin-bottom:5px}.mh-sidebar .recent-blog-posts-li .mr-half,.mh-sidebar .recent-blog-posts-li .post_comments{display:none}body.single .mh-page-inner,body.page-template .mh-page-inner{background-color:#fff;padding:10px 15px}body.archive.category .mh-page-inner{padding:10px 0;}.blog-wrapper{padding-top:0}body.single .mh-content .single-page{padding-top:0}body.single .mh-content .entry-category{display:none}.mh-archive-blog .badge{display:none}.mh-archive-blog .col.post-item .from_the_blog_excerpt{min-height:77px}.mh-archive-blog .col.post-item .post-title{min-height:36px}.mh-col-blog .col.post-item .box-blog-post{border:1px solid #ededed;box-shadow:-5px 5px 0 #dce0e2;-moz-box-shadow:-5px 5px 0 #dce0e2;-webkit-box-shadow:-5px 5px 0 #dce0e2;-o-box-shadow:-5px 5px 0 #dce0e2;padding:6px;background-color:#fff}.mh-col-blog .col.post-item .box-text.text-left{padding:15px 5px}.mh-col-blog .col.post-item .is-divider{display:none}.mh-col-blog .col.post-item .post-title{text-transform:uppercase;font-size:14px;color:#444;margin-bottom:10px;padding:0 5px}.mh-col-blog .col.post-item .post-meta{font-size:13px;color:#666;font-style:italic;margin-bottom:10px;padding:0 5px}.mh-col-blog .col.post-item .post-meta::before{content:"\f073";font-family:FontAwesome;font-style:normal;font-weight:400;margin-right:10px}.mh-col-blog .col.post-item .from_the_blog_excerpt{font-size:14px;color:#666;border-top:1px solid #ddd;padding:10px 5px 0}.mh-block-row-category{background-color:#fafafa}.mh-title-row-category{display:inline;line-height:40px;color:#fff;font-size:17px;padding:10px 15px;background-color:#e60f1e;position:relative;margin-bottom:0}.mh-title-row-category::after{content:" ";display:block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:20px solid #fff0;border-left:13px solid #e60f1e;border-right:0 solid #fff0;border-bottom:20px solid #fff0;position:absolute;top:0;right:-13px}.mh-title-row-category a{color:#fff}.mh-row-category{display:inline-block;float:right;position:relative}.mh-row-category>ul>li{display:inline-block;float:left;margin-bottom:0;margin-left:0}.mh-row-category>ul>li>a{padding:8px 10px 9px;display:block}.mh-row-category>ul>li>a:hover{color:#e60f1e;background-color:#eee}.mh-list-category{display:none}.mh-list-category.active{display:block}.mh-block-show{padding:5px;cursor:pointer}.mh-show-menu-bar{padding:3px 8px;border:1px solid #e60f1e;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;-o-border-radius:2px}.mh-view-all{display:flex;align-items:center;justify-content:center;margin-right:10px}.mh-list-category{position:absolute;top:100%;right:0;min-width:185px;background-color:#fff;z-index:9;box-shadow:0 6px 12px rgb(0 0 0 / .175);-moz-box-shadow:0 6px 12px rgb(0 0 0 / .175);-webkit-box-shadow:0 6px 12px rgb(0 0 0 / .175);-o-box-shadow:0 6px 12px rgb(0 0 0 / .175);border-bottom:2px solid #e60f1e}.mh-list-category>li{width:100%}.mh-arrow-slider svg.flickity-button-icon{border:1px solid #e60f1e;cursor:pointer;padding:15px 7px;background:rgb(255 255 255 / .8)}.mh-arrow-slider svg.flickity-button-icon:hover{background-color:#e60f1e}.mh-arrow-slider svg.flickity-button-icon:hover path{fill:#fff!important}.mh-arrow-slider svg.flickity-button-icon path{color:#e60f1e;opacity:1;fill:#e60f1e!important}.mh-row-products>.col.large-10{max-width:80.33333%;flex-basis:80.33333%}.mh-row-products>.col.large-2{max-width:19.66667%;flex-basis:19.66667%}.price-wrapper .amount{padding:0 10px;text-align:center;color:red}.select_box_label .select_option{border:1px solid #757575}.select_box_label .select_option:hover{border:1px solid #fbda00!important;color:#000;font-weight:700}.select_box_label .select_option.selected{border:2px solid #fbda00;color:#000;font-weight:700}.select_box_label .select_option_label{border-radius:inherit!important}.custom-product-page .mh-block-summary-1 .mh-font-bold{display:none}@media only screen and (min-width:320px) and (max-width:860px){.mh-row-products>.col.large-10{max-width:100%;flex-basis:100%}.mh-image-tools{margin-bottom:0}.mh-col-archive{max-width:100%;flex-basis:100%}.mh-col-footer-register-1 .col-inner{text-align:left}.mh-col-footer-register-1 .col-inner h5{line-height:1.6}}add_filter('woocommerce_structured_data_product_offer','wpseovn_woocommerce_structured_data_product_offer');add_filter('wpseo_schema_product','wpseovn_wpseo_schema_product');add_filter('rank_math/snippet/rich_snippet_product_entity','wpseovn_rich_snippet_product_entity');add_filter('wp_schema_pro_schema_product','wpseovn_wp_schema_pro_schema_product');function get_hasMerchantReturnPolicy(){return '{
    "@type": "MerchantReturnPolicy",
    "applicableCountry": "vi",
    "returnPolicyCategory": "https://schema.org/MerchantReturnFiniteReturnWindow",
    "merchantReturnDays": "7",
    "returnMethod": "https://schema.org/ReturnAtDropOffLocation",
    "returnFees": "https://schema.org/FreeReturn"
}'}function get_shippingDetails($product_price=0){// Nếu cần,bạn có thể truyền giá sản phẩm vào để Google nhận giá chính xác $currency='VND';// Mức phí vận chuyển (1 sản phẩm=30k,từ 2–20=0đ) $shipping_details=["@type"=>"OfferShippingDetails","shippingRate"=>["@type"=>"MonetaryAmount","value"=>"30000","currency"=>$currency],"shippingDestination"=>["@type"=>"DefinedRegion","addressCountry"=>"VN"],"deliveryTime"=>["@type"=>"ShippingDeliveryTime","handlingTime"=>["@type"=>"QuantitativeValue","minValue"=>0,"maxValue"=>1,"unitCode"=>"DAY"],"transitTime"=>["@type"=>"QuantitativeValue","minValue"=>1,"maxValue"=>3,"unitCode"=>"DAY"]],"eligibleQuantity"=>["@type"=>"QuantitativeValue","minValue"=>1,"maxValue"=>1]];// Thêm mức 2 (2–20 sản phẩm=0đ) $shipping_details_free=["@type"=>"OfferShippingDetails","shippingRate"=>["@type"=>"MonetaryAmount","value"=>"0","currency"=>$currency],"shippingDestination"=>["@type"=>"DefinedRegion","addressCountry"=>"VN"],"deliveryTime"=>["@type"=>"ShippingDeliveryTime","handlingTime"=>["@type"=>"QuantitativeValue","minValue"=>0,"maxValue"=>1,"unitCode"=>"DAY"],"transitTime"=>["@type"=>"QuantitativeValue","minValue"=>1,"maxValue"=>3,"unitCode"=>"DAY"]],"eligibleQuantity"=>["@type"=>"QuantitativeValue","minValue"=>2,"maxValue"=>20]];// Trả về mảng gồm cả 2 mức return [$shipping_details,$shipping_details_free]}function wpseovn_wpseo_schema_product($data){if(isset($data['offers'])){$hasMerchantReturnPolicy=get_hasMerchantReturnPolicy();$shippingDetails=get_shippingDetails();foreach ($data['offers'] as $key=>$offer){if(!isset($offers['hasMerchantReturnPolicy']) && $hasMerchantReturnPolicy){$data['offers'][$key]['hasMerchantReturnPolicy']=json_decode($hasMerchantReturnPolicy,true)}if(!isset($offers['shippingDetails']) && $shippingDetails){$data['offers'][$key]['shippingDetails']=json_decode($shippingDetails,true)}}}return $data}function wpseovn_rich_snippet_product_entity($entity){global $product;if(!is_singular('product') || !$product || is_wp_error($product)) return $entity;$hasMerchantReturnPolicy=get_hasMerchantReturnPolicy();$shippingDetails=get_shippingDetails();if(!isset($entity['offers']['hasMerchantReturnPolicy']) && $hasMerchantReturnPolicy){$entity['offers']['hasMerchantReturnPolicy']=json_decode($hasMerchantReturnPolicy,true)}if(!isset($entity['offers']['shippingDetails']) && $shippingDetails){$entity['offers']['shippingDetails']=json_decode($shippingDetails,true)}return $entity}function wpseovn_wp_schema_pro_schema_product($schema){if(isset($schema['offers']) && apply_filters('wp_schema_pro_remove_product_offers',true)){$hasMerchantReturnPolicy=get_hasMerchantReturnPolicy();$shippingDetails=get_shippingDetails();if (!isset($schema['offers']['hasMerchantReturnPolicy']) && $hasMerchantReturnPolicy){$schema['offers']['hasMerchantReturnPolicy']=json_decode($hasMerchantReturnPolicy,true)}if (!isset($schema['offers']['shippingDetails']) && $shippingDetails){$schema['offers']['shippingDetails']=json_decode($shippingDetails,true)}}return $schema}function wpseovn_woocommerce_structured_data_product_offer($offers){$hasMerchantReturnPolicy=get_hasMerchantReturnPolicy();$shippingDetails=get_shippingDetails();if(!isset($offers['hasMerchantReturnPolicy']) && $hasMerchantReturnPolicy){$offers['hasMerchantReturnPolicy']=json_decode($hasMerchantReturnPolicy,true)}if(!isset($offers['shippingDetails']) && $shippingDetails){$offers['shippingDetails']=json_decode($shippingDetails,true)}return $offers}