@puzzledideias,
May be we need to add some filters in the theme. Need to check. Here I already disabled the view product link / button. I guess you need to disable / override that filter
Sorry for the late reply.
Thanks,
Ashok G.
same for me.. using another theme (x-store).
How can we modify filter?
Hello @jakours2,
It’s by adding a custom action like this.
add_action('woocommerce_after_shop_loop_item', 'custom_function_to_replace_add_to_cart');
function custom_function_to_replace_add_to_cart()
{
global $product;
$link = $product->get_permalink();
echo 'Add what you want to be shown to the end user';
}
Happy coding,
Ashok G
-
This reply was modified 8 years, 11 months ago by
Ashok G.
Hello! Sorry for the late reply.
Thanks!! 😀