Home Forums WoodMart support forum Some problems Reply To: Some problems

#368287

WEBMAZE
Participant

Thank you sir
Is there a code or something else that I can show the rating in the product category loop, even there is no review – no stars ??

For reorder tabs I use this no luck

if ( ! function_exists(‘wd_reorder_tabs’) ) {

function wd_reorder_tabs( $tabs ) {
$tabs[‘wd_additional_tab_2_tab’][‘priority’] = 10;

return $tabs;
}

add_filter( ‘woocommerce_product_tabs’, ‘wd_reorder_tabs’, 98 );
}

Also I use this

/**
* Reorder product data tabs
*/
add_filter( ‘woocommerce_product_tabs’, ‘woo_reorder_tabs’, 8888 );
function woo_reorder_tabs( $tabs ) {

$tabs[‘description_tab’][‘priority’] = 5; // Description first
$tabs[‘wd_additional_tab_2_tab’][‘priority’] = 10; //Additional information custom tab second
$tabs[‘wd_additional_tab_tab’][‘priority’] = 15; // DESCRIBE THE TAB HERE

return $tabs;
}

also without luck
Little help please?????