워드프레스 sort by price 오류 채택완료
워드프레스 6.5.4 를 사용중이고
테마는 astra를 사용하고
Woocommerce를 이용해
e-madeinkorea.net 쇼핑몰을 구축했는데
sort by price 부분이 작동하지 않습니다
어디를 수정해야할지 몰라
고수님들게 물어봅니다
다음 소스에 문제가 있는 건지 한번 올려봅니다
</p>
<p> </p>
<p><?php
/**
* The Template for displaying product archives, including the main shop page which is a post type archive
*
* /**
* The template for displaying product archive pages.
*
* @link <a href="https://docs.woocommerce.com/document/template-structure/" target="_blank" rel="noopener noreferrer">https://docs.woocommerce.com/document/template-structure/</a>
* @package WooCommerce/Templates
* @version 3.4.0
*/</p>
<p>if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}</p>
<p>get_header( 'shop' );</p>
<p>/**
* Hook: woocommerce_before_main_content.
*
* @hooked woocommerce_output_content_wrapper - 10 (outputs opening divs for the content)
* @hooked woocommerce_breadcrumb - 20 (outputs the WooCommerce breadcrumb)
*/
do_action( 'woocommerce_before_main_content' );</p>
<p>?></p>
<p><header class="woocommerce-products-header">
<?php if ( apply_filters( 'woocommerce_show_page_title', true ) ) : ?>
<h1 class="woocommerce-products-header__title page-title"><?php woocommerce_page_title(); ?></h1>
<?php endif; ?></p>
<p> <?php
/**
* Hook: woocommerce_archive_description.
*
* @hooked woocommerce_taxonomy_archive_description - 10
* @hooked woocommerce_product_archive_description - 10
*/
do_action( 'woocommerce_archive_description' );
?>
</header></p>
<p><?php
/**
* Hook: woocommerce_before_shop_loop.
*
* @hooked woocommerce_output_all_notices - 10
* @hooked woocommerce_result_count - 20
* @hooked woocommerce_catalog_ordering - 30
*/
do_action( 'woocommerce_before_shop_loop' );</p>
<p>woocommerce_product_loop_start();</p>
<p>if ( wc_get_loop_prop( 'total' ) ) {
while ( have_posts() ) {
the_post();</p>
<p> /**
* Hook: woocommerce_shop_loop.
*/
do_action( 'woocommerce_shop_loop' );</p>
<p> wc_get_template_part( 'content', 'product' );
}
}</p>
<p>woocommerce_product_loop_end();</p>
<p>/**
* Hook: woocommerce_after_shop_loop.
*
* @hooked woocommerce_pagination - 10
*/
do_action( 'woocommerce_after_shop_loop' );</p>
<p>/**
* Hook: woocommerce_sidebar.
*
* @hooked woocommerce_get_sidebar - 10
*/
do_action( 'woocommerce_sidebar' );</p>
<p>/**
* Hook: woocommerce_after_main_content.
*
* @hooked woocommerce_output_content_wrapper_end - 10 (outputs closing divs for the content)
*/
do_action( 'woocommerce_after_main_content' );</p>
<p>get_footer( 'shop' );</p>
<p> </p>
<p>
댓글을 작성하려면 로그인이 필요합니다.
답변 1개
1년 전
여긴 그누보드 영카드 인데 워드프레스와 상관이 있나요?
내가알기로는 영카트와는 호환안되는걸로 알고잇는데 아닌가요?--;;
로그인 후 평가할 수 있습니다
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인전체 질문 목록
답변대기
채택
채택
채택
채택
채택
채택
답변대기
채택
채택
채택
답변대기
채택
채택
답변대기
채택
채택
채택
채택