php – Move Add to Cart button after description WordPress

Question

I’m using a theme in wordpress. I couldn’t remove the ‘Add to Cart’ button. The ‘Add to Cart’ on the thumbnail image of the product, the button is visible on mouse hover. I want to move to the ‘add to cart’ button after the description, but it looks impossible for me and link the product thumbnail to its main product page.

add_filter('woocommerce_product_single_add_to_cart_text','QL_customize_add_to_cart_button_woocommerce');
function QL_customize_add_to_cart_button_woocommerce(){
return __('Buy this item', 'woocommerce');
}

Here is the image of the products on a home page m

0
Warda.M 3 weeks 2023-01-04T15:29:18-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse