Viewing 1 replies (of 1 total)
  • Plugin Author Onnay Okheng

    (@onnayokheng)

    yeah you can, modify “wpec-related-products.php”. Change this script:

    // cat in array
            foreach ($product_cat as $cat_item) {
                $cat_array_name_list[] = $cat_item->slug;
            }

    with this:

    // cat in array
            foreach ($product_cat as $cat_item) {
                if($cat_item->parent != 0)
                $cat_array_name_list[] = $cat_item->slug;
            }
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP e-Commerce Related Products] Related Products (Pull from Child Category)’ is closed to new replies.