The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Woocommerce Product...
 
Share:
Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

[Solved] Woocommerce Product Page

4 Posts
3 Users
0 Reactions
3,178 Views
Posts: 1
Topic starter
(@lucia116)
New Member
Joined: 5 years ago

I want to use it on the Woocommerce product page.
How shall I do it?

3 Replies
Asti
Posts: 8075
 Asti
Support
(@asti)
Illustrious Member
Joined: 8 years ago

Hi @lucia116,

You should enable the comment form for "Product" post type. More info here: https://wpdiscuz.com/docs/wpdiscuz-7/getting-started/manage-comment-forms/comment-form-settings/#post-types

2 Replies
(@kidfrom)
Joined: 3 years ago

Active Member
Posts: 4

@asti I wish to edit the `Reviews (1)` tab to `Discussions (1)`. How can I achieve this?

 

The current solution is to use code snippet from WooCommerce Docs . However, it will not count the number of comments anymore, it will only change the tab name to `Discussions`.

 

What I have did

1. Checked the wpDiscuz > Phrases and I did not found any.

2. Use Code Snippets plugin.

Asti
 Asti
Support
(@asti)
Joined: 8 years ago

Illustrious Member
Posts: 8075

@kidfrom,

Please use this code:

add_filter( 'woocommerce_product_tabs', 'woo_rename_tabs', 98 );
function woo_rename_tabs( $tabs ) {
        global $product;
	$tabs['reviews']['title'] = __( 'Ratings' ) . '(' . $product->get_review_count() .')';
	return $tabs;
}
Share: