'; echo '

فروشگاه فعال نیست

'; echo '

برای مشاهده محصولات، افزونه ووکامرس را فعال کنید.

'; echo '
'; get_footer(); return; } // داده‌های صفحه $banner_img = get_option( 'motayeb_shop_banner', '' ); $banner_img = $banner_img ? $banner_img : 'https://picsum.photos/seed/forest-shop/1600/600'; $is_category = is_product_category(); $current_term = $is_category ? get_queried_object() : null; // بررسی اینکه آیا سایدبار فیلتر داره یا خیر $has_shop_sidebar = is_active_sidebar( 'sidebar-shop' ); ?>
<?php echo esc_attr( $is_category && $current_term ? $current_term->name : 'فروشگاه مطیب' ); ?>

description ) : ?>

description ) ); ?>

'lucide:leaf', 2 => 'lucide:truck', 3 => 'lucide:shield-check', 4 => 'lucide:package' ); $icon = get_option( 'motayeb_feature_' . $i . '_icon', $default_icons[ $i ] ); $text = get_option( 'motayeb_feature_' . $i . '_text', 'ویژگی ' . $i ); ?>
'خانه', 'url' => home_url( '/' ) ), array( 'name' => 'فروشگاه', 'url' => get_permalink( wc_get_page_id( 'shop' ) ) ), ); // افزودن دسته‌بندی‌های والد $parents = get_ancestors( $current_term->term_id, 'product_cat' ); $parents = array_reverse( $parents ); foreach ( $parents as $parent_id ) { $parent = get_term( $parent_id, 'product_cat' ); if ( $parent && ! is_wp_error( $parent ) ) { $crumbs[] = array( 'name' => $parent->name, 'url' => get_term_link( $parent ) ); } } $crumbs[] = array( 'name' => $current_term->name, 'url' => get_term_link( $current_term ) ); $breadcrumb_schema = array( '@context' => 'https://schema.org', '@type' => 'BreadcrumbList', 'itemListElement' => array(), ); foreach ( $crumbs as $index => $crumb ) { $breadcrumb_schema['itemListElement'][] = array( '@type' => 'ListItem', 'position' => $index + 1, 'name' => $crumb['name'], 'item' => $crumb['url'], ); } ?>
'; the_widget( 'WC_Widget_Price_Filter' ); echo '
'; } ?>

محصولی یافت نشد.

نمایش همه محصولات