Support reply may delay for 3 weeks due to corona virus outbreak, please send us email to
Jan 11, 2017 01:08 AM 1 Answers General
Member Since Jan 2017
Subscribed Subscribe Not subscribe


I want to show the read more under the name of the product but not the excerpt.

I found that I can change wcps-excerpt in the following way to achieve this:

//$excerpt_text = wp_trim_words( get_the_excerpt(get_the_ID()) , $wcps_items_excerpt_count, ' <a class="read-more" href="'.get_permalink(get_the_ID()).'"> '.$wcps_items_excerpt_read_more.'</a>' );
$excerpt_text = ' <a class="read-more" href="'.get_permalink(get_the_ID()).'"> '.$wcps_items_excerpt_read_more.'</a>';

However I tried to do an override in my child theme and it is not picked up.

Can you tell me how to do the override for this file or how to set the except to 0 (in the backend it wont save 0 and reverts to 20)


2 Subscribers
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
Jan 11, 2017

Welcome to our forum.

you don’t need to edit core plugin files,

Please see the option

Query Product > Items sort. > Click Excerpt to expand, you will see the option “Excerpt word count”

you need to set 0 (zero) if you don’t want to display excerpt text,

View post on

let me know for more help.


Sign in to Reply
Replying as Submit