그누커머스 상품 위젯 에러 및 질문

그누커머스 상품 위젯 에러 및 질문

QA

그누커머스 상품 위젯 에러 및 질문

본문

안녕하세요. 그누커머스로 테스트작업중입니다. 

 

전용테마를 적용할려다가 상품위젯에러가 나서 로그를 찾아보니 에러가 나더라구요.

 

PHP message: PHP Stack trace:

PHP message: PHP   1. {main}() /var/www/html/index.php:0

PHP message: PHP   2. require() /var/www/html/index.php:17

PHP message: PHP   3. require_once() /var/www/html/wp-blog-header.php:19

PHP message: PHP   4. include() /var/www/html/wp-includes/template-loader.php:75

PHP message: PHP   5. do_action() /var/www/html/wp-content/themes/sir-furniture/template-homepage.php:22

PHP message: PHP   6. call_user_func_array:{/var/www/html/wp-includes/plugin.php:524}() /var/www/html/wp-includes/plugin.php:524

PHP message: PHP   7. sirfurniture_main_widget_area() /var/www/html/wp-includes/plugin.php:524

PHP message: PHP   8. dynamic_sidebar() /var/www/html/wp-content/themes/sir-furniture/core/template-functions.php:156

PHP message: PHP   9. call_user_func_array:{/var/www/html/wp-includes/widgets.php:738}() /var/www/html/wp-includes/widgets.php:738

PHP message: PHP  10. WP_Widget->display_callback() /var/www/html/wp-includes/widgets.php:738

PHP message: PHP  11. sir_latest_item_widget->widget() /var/www/html/wp-includes/class-wp-widget.php:377

PHP message: PHP  12. sirfurniture_latest_gnucommerce_shop() /var/www/html/wp-content/themes/sir-furniture/core/widget/gnucommerce_item_widget.php:105

PHP message: PHP  13. sircomm_do_shortcode() /var/www/html/wp-content/themes/sir-furniture/core/template-functions.php:142

PHP message: PHP  14. call_user_func:{/var/www/html/wp-content/themes/sir-furniture/functions.php:460}() /var/www/html/wp-content/themes/sir-furniture/functions.php:460

PHP message: PHP  15. GC_Shortcodes::shop_latest() /var/www/html/wp-content/themes/sir-furniture/functions.php:460

PHP message: PHP  16. GC_Shortcodes::shortcode_wrapper() /var/www/html/wp-content/plugins/gnucommerce/lib/gc_shortcode.class.php:146

 

이쪽부분이긴한데 .. 일단

 

        if( self::$attr['category'] ){  //카테고리가 있다면

            $query_args = self::get_categoty_args( self::$attr['category'] );

        }

 

get_categoty_args 

 

get_category_args 

 

하니까 에러는 일단 안납니다 (..) 한번 확인 부탁드려요. 

그리고 분류(카테고리)명이 한글일때 잘..작동안하는것같습니다.

 

두번째 질문은

 

배송주소지가 필요없는 상품은 아예 옵션을줘서 안받을수있는지 궁금합니다. (디지털 경품추첨용 상품이라던가..)

 

 

 

 

 

이 질문에 댓글 쓰기 :

답변 1

답변을 작성하시기 전에 로그인 해주세요.
전체 123,998 | RSS
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT