When using the Sticky Add to Cart module within CommerceKit in combination with the Judge.me reviews plugin, the ‘Reviews’ tab doesn’t appear by default.
The Judge.me plugin removes this core tab, so if you want it to appear you will need to include a custom code snippet.
Either via the functions.php file in your child theme, or within the Code Snippets plugin, add the following code.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
add_action( 'init', 'shoptimizer_remove_review_widget' ); function shoptimizer_remove_review_widget () { // Remove the default widget placement remove_action( 'woocommerce_after_single_product_summary', array( 'JGM_Widget', 'judgeme_review_widget' ), 14 ); } add_filter( 'woocommerce_product_tabs', 'shoptimizer_add_review__widget_to_tab' ); function shoptimizer_add_review__widget_to_tab ($tabs) { $tabs['judgeme_reviews'] = array( 'title' => __( 'Reviews', 'woocommerce' ), 'priority' => 50, 'callback' => array( 'JGM_Widget', 'judgeme_review_widget' ) ); return $tabs; } |
Note: You can change the ‘Reviews’ title on line 12 to something else if you wish.