Would something like this achieve what you are after? Could be refined more by using the default read more function rather than echoing it.
function add_extra_read_more_btn() {
global $product;
if ($product->is_purchasable()) {
echo '<div class="woocommerce-LoopProduct-buttons-container">';
echo '<a class="button product_type_simple" href="'.get_permalink($product->ID).'">Read more</a>';
}
}
add_action( 'woocommerce_after_shop_loop_item', 'add_extra_read_more_btn', 9 );
function close_extra_read_more_btn_wrap() {
global $product;
if ($product->is_purchasable()) {
echo '</div>';
}
}
add_action( 'woocommerce_after_shop_loop_item', 'close_extra_read_more_btn_wrap', 11 );
Related Posts:
- Woocommerce – Add a product to cart programmatically via JS or PHP [closed]
- ( Woocommerce) How to get the user belonging to an order? [closed]
- WooCommerce: Webhook disabled on its own
- How to delete woo commerce order pragmatically? [closed]
- How to turn off WooCommerce user registration and manually create accounts?
- Hook and send Woocommerce data after click Place Order button
- WooCommerce Change Product Global Attribute Value via CRUD for Simple Product [closed]
- When Free shipping is available hide other shipping methods except Local pickup in WooCommerce [closed]
- Change WooCommerce Image Size in One Product CAtegory
- Change add to cart text if a product is in cart on WooCommerce
- Woocommerce Shop Price Position
- WooCommerce WebHook Retry
- Can I set a custom “alt” attribute with woocommerce_get_product_thumbnail()?
- Remove all Span Tags and class From Woocommerce Price [closed]
- Importing Woocommerce products with variations
- Woocommerce login not working on the first try
- Show add to cart button on shop woocommerce
- How do I hide the purchase note in the WooCommerce ‘order completed’ email?
- Woocommerce – Override the default templates location under the theme directory
- How to hide out of stock products in Related Products via custom query in WooCommerce
- Changing Woocommerce language without changing the language in Dashboard admin WordPress
- WOO-Commerce translation | Tried it all [closed]
- Is there a way to show Single Variation prices in the product loop when filters or attributes are active?
- Function to recalculate shipping costs on subscriptions after renewal with Automatewoo
- Creating a multisite registration form that also creates a woocommerce post
- Woocommerce: Same gross price for different tax rates [closed]
- add shoppy.gg to woocommerce instead of add to card [closed]
- List of shipping on product page [closed]
- How to show tag count for individual product post in wordpress woocommerce
- How to edit T&C checker text in Woocommerce checkout page? gettext?
- What is the reason for two classes storefront_woocommerce and storefront
- Get email type inside email template – order emails
- Caption not showing with Woo commerce thumbnails
- Change the Title Tag of Search Products Page
- Confirm Password on checkout page not working in woocommerce 3.0.1
- Woocommerce’s add_to_cart function returns false and doesn’t add anything to the cart [closed]
- How to check woocommerce single product tag
- In WooCommerce can you make a list of ‘steps’ for quantity increase? [closed]
- Adding author option to [products] woocommerce shortcode
- Set dynamic Options array in woocommerce_form_field
- WooCommerce product title formatting
- Redirect no product url’s to static url
- Adding a custom Shipping methods field to an order
- Colour of selected radio button seems backwards in Twenty Seventeen + Woocommerce
- How to modify WooCommerce button text in default and additional languages
- How to hide URL for downloadable product in WooCommerce? [closed]
- Migrating data from Woocommerce to another webapp
- Customizing WooCommerce
- Get Post ID from attachment ID (Redirect to product page)
- WooCommerce set a min order price for a single country [closed]
- “Reset my password” links to itself (page refreshes) [closed]
- Woocommerce product tab is not showing probably
- How to list best seller products in woocommerce
- Updating failed. The response is not a valid JSON response. Gutenberg + Woocommerce Products
- Add product image to Woocommerce downloads page
- How to check if woocommerce_order_item_name is use in email?
- Purchase/order statistics plugin for viewing per payment menthod?
- Sharing data between filters on a snippet (user specific) for Woocommerce
- How to add custom checkboxes from loop to WooCommerce product variation options?
- How to show specific admin menu to specific user role?
- Need help with woocommerce roles
- Change WooCommerce product and variation prices programatically without affecting performance
- Help to locate a woocommerce hook method
- woocommerce_product_quick_edit_save hook not fired
- Changing Title Tag on Shop Archive Page (current solution reverting to Title of First Product in Loop)
- I can’t add pictures to the product attribute item in woocommerce
- Can I use taxonomies to make a multistore with woocommerce?
- Why does wc_get_products($arg) return no products when $arg = ‘average_rating’ => 5.0
- Query product’s image path by category WooCommerce database?
- Delete comma in front of currency woocommerce
- woocommerce_sessions – Table does not exist
- How update price for variable product
- currentURL is not defined
- Woocommerce add 15% discount to a product if quantity is greater than or equal to 6
- Related products based on keywords
- Add button linked to single product page on order detail page
- syntax error – woocommerce
- How to on/off woocommerce filter with redux framework [closed]
- How to set up a single product shop with woocommerce? Skipping the product archive
- I’m trying to display product categories on each product in the list
- Cross-sells on WooCommerce product page
- Admin Order adding an extra product on add_line_item
- Woocommerce update cart
- Get WP All Export row ID
- WooCommerce – missing products when viewed by tag
- Quotes not rendering properly in WooCommerce settings API [closed]
- WooCommerce add custom product_type_option
- Hiding all products except for one in wordpress admin panel
- Allow authors to use their own PayPal account and payment process automation [closed]
- Woo-Commerce new order email no style attached
- woocommerce method to preview new order email,avilable hook
- Can a woocommerce hook alter the UI of a website?
- Edit woocommerce subscription email
- cannot create product attribute (taxonomy) and add terms on the same execution
- Woocommerce API REST search by multiple keywords
- Problems using WooCommerce & Qstomizer
- Remove Ok Button when popup message
- How to handle WordPress account for terminated employee
- WooCommerce Pruduct and Category Grid costumization [closed]
- how to get the current page endpoint