How to hide "Add to Cart" and Display "Buy Now" in Woocommerce?

Escanor64

Active member
Jul 4, 2022
133
215
43
Hello all,

I haven't used Woocommerce in a long while until some days ago. I am designing a store with a WP ecommerce theme but I can't seem to shake off the "Add to Cart" button and have it replaced with a "Buy Now" option that takes you directly to the checkout page.

1. I don't want a cart system. Just choose a product and check out.
2. Take out the "Add to Cart" button totally.

Kindly recommend a plugin that can handle this effortlessly, please.

PS: The theme I am using is Smartic. Please help here.

Thanks!
 

hadi_tk

New member
Sep 9, 2022
9
0
1
Hello good time. You can use Elementor to create a custom template for your single product and not put the shopping cart button on this page. Do you mean something similar to this site? https://higer.ir
 

hadi_tk

New member
Sep 9, 2022
9
0
1
Of course, you should check if this plugin works correctly with your plugin and has no problems.
 

tejipta

Member
Apr 3, 2019
37
15
8
add woolentor or convert your woocommerce to catalogue mode you can search for catalogue mode woocommerce
 
  • Like
Reactions: hadi_tk

Saint Gabriel

Well-known member
Jan 3, 2020
2,997
3,048
113
Best way to do this.

Rename the Add to Cart button to Buy Now. (You can do this with a free plugin or with Loco Translate or a custom code on Google)

Then install Direct Checkout plugin suggested by @frizzel (the comment above mine) to make the add to cart button skip cart and land in checkout page.
 

guguk

Well-known member
Jul 19, 2019
1,147
827
113
Ottoman Empire
I can not understand solutions why so complicated :)
@Flagstad was requested that customer should directly go to checkout with bypass cart page. So no need to install any plugin for that. Just go to "Products" tab and check "redirect cart page bl bla" option and go to "Advanced" tab and choose "Checout" page as "Cart" page. So when customer click "add to cart" button it redirect automatically "checkout" page instead of "cart" page. So no need to install extra plugin for that.

Second request too easy as first request. Just add these code piece your child theme functions.php file :

Code:
// change add to cart text for single product page
add_filter( 'woocommerce_product_single_add_to_cart_text', 'woocommerce_custom_single_add_to_cart_text' );
function woocommerce_custom_single_add_to_cart_text() {
    return __( 'Buy Now', 'woocommerce' );
}

// change add to cart text for product shop page
add_filter( 'woocommerce_product_add_to_cart_text', 'woocommerce_custom_product_add_to_cart_text' ); 
function woocommerce_custom_product_add_to_cart_text() {
    return __( 'Buy Now', 'woocommerce' );
}
 

hadi_tk

New member
Sep 9, 2022
9
0
1
I can not understand solutions why so complicated :)
@Flagstad was requested that customer should directly go to checkout with bypass cart page. So no need to install any plugin for that. Just go to "Products" tab and check "redirect cart page bl bla" option and go to "Advanced" tab and choose "Checout" page as "Cart" page. So when customer click "add to cart" button it redirect automatically "checkout" page instead of "cart" page. So no need to install extra plugin for that.

Second request too easy as first request. Just add these code piece your child theme functions.php file :

Code:
// change add to cart text for single product page
add_filter( 'woocommerce_product_single_add_to_cart_text', 'woocommerce_custom_single_add_to_cart_text' );
function woocommerce_custom_single_add_to_cart_text() {
    return __( 'Buy Now', 'woocommerce' );
}

// change add to cart text for product shop page
add_filter( 'woocommerce_product_add_to_cart_text', 'woocommerce_custom_product_add_to_cart_text' );
function woocommerce_custom_product_add_to_cart_text() {
    return __( 'Buy Now', 'woocommerce' );
}
best and Amazing Way. tanx bro
 

Escanor64

Active member
Jul 4, 2022
133
215
43
I can not understand solutions why so complicated :)
@Flagstad was requested that customer should directly go to checkout with bypass cart page. So no need to install any plugin for that. Just go to "Products" tab and check "redirect cart page bl bla" option and go to "Advanced" tab and choose "Checout" page as "Cart" page. So when customer click "add to cart" button it redirect automatically "checkout" page instead of "cart" page. So no need to install extra plugin for that.

Second request too easy as first request. Just add these code piece your child theme functions.php file :

Code:
// change add to cart text for single product page
add_filter( 'woocommerce_product_single_add_to_cart_text', 'woocommerce_custom_single_add_to_cart_text' );
function woocommerce_custom_single_add_to_cart_text() {
    return __( 'Buy Now', 'woocommerce' );
}

// change add to cart text for product shop page
add_filter( 'woocommerce_product_add_to_cart_text', 'woocommerce_custom_product_add_to_cart_text' );
function woocommerce_custom_product_add_to_cart_text() {
    return __( 'Buy Now', 'woocommerce' );
}
Works like charm. Thank you!
 
  • Like
Reactions: Will07

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu