The code snippets and templates in this download provide different ways to add/remove/customize a read more button linked back to the single product page in Genesis child themes running WooCommerce.
The code also provides 3 different ways to modify the default add_to_cart_url and add_to_cart_text as well as hook in a custom read more button linked to a custom URL.
Demo Video #
Shows a read more button added inline with the add to cart button on WooCommerce product archive pages types in Genesis.
Tested using the Genesis Sample child theme by StudioPress.
Code Installation #
There’s 4 files in the download folder.
Note : The template files inside the woocommerce folder only work when the Genesis WooCommerce connect plugin is active.
The woocommerce folder contains 3 archive template files which enable you to customize the product page, category and tag archive pages. Upload this folder to your child themes root directory to execute the code on different archive page types. The custom code is located between lines 60 – 67 in each template.
You can use any of the 4 code snippets from the functions.php file in your child themes functions files. All snippets are commented.
Leave a Reply
You must be logged in to post a comment.