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)
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,
let me know for more help.