Cart with the label “read more”
-
Hello
I use Woocommerce with the Astra theme in catalog mode (without shopping cart) with a plugin. However, for products (on the store page) there remains a cart with the label “read more” for products without prices and out of stock, that I wish to remove.
In the file /wp-content/themes/astra/inc/compatibility/woocommerce/class-astra-woocommerce.php for “public function modern_add_to_cart()” on line 227, once lines 253 to 263 ($markup) are removed, these items are no longer displayed.
What instructions could we put in the function.php file of the child theme to obtain this result, in order to preserve this modification when updating the parent theme?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Cart with the label “read more”’ is closed to new replies.