How to replace link with a button on a product page

Excursionist
18 0 1

I have followed this tutorial about how to stay at the product page after a product has been added to cart.
https://help.shopify.com/en/themes/customization/products/add-to-cart/stay-on-product-page-when-item...

 

I want to know how I can substitute the text "View cart" with a button 

I am using the minimal theme

 

Anyone who knows how to do this?

 

 

0 Likes
Shopify Expert
665 170 199

Hi, @jp-jp ,

This is Evita from On The Map.

 

You can add css code for this:

.cart-btn {
    background: red;
    color: white;
    padding: 10px;
    border: 1px solid white; 
}

You just have to replace .cart-btn class with your "View cart"  link class.

 

Best,
Evita

On The Map Marketing | Developing custom Shopify Sites & Apps is our thing

- Install our latest app Accessibly - Makes your store accessible for everyone, helps to avoid fines
- Inc 5000 | Shopify Parners | 20+ stores launched | 300+ active clients
- Need help with your Shopify store? Reach out to us!
1 Like