Remove "add cart/buy now" buttons (Debut Theme)

Hi, everyone!

I am creating a business which is based on recurring payments. I am from Brazil and here we can’t use Shopify checkout to recurring payments, because here we don’t have Shopify Payments. So I need to remove my “add cart/buy now” buttons and replace it for a new button that redirects my clients to my gateway recurring payments link.

I use the following code to do it:

.product__form-container { display: none!important; }

#shopify-section-product-template .product-single__meta .btn.product-form__cart-submit.btn--secondary-accent {
display: none;
}
#shopify-section-product-template .product-single__meta .shopify-payment-button {
display: none;
}

But a blank space remains before the new button:

What should I do?

Thanks so much,

Ana.

Hi @Surpraize

Would you mind sharing your store’s URL so we can provide a solution for that? Cheers!

Sure! http://surpraize.com/

Do you need the password?

Yes @Surpraize , you can share this privately if you’d like!

Hi @Surpraize

Add the following code to your theme.css file:

.product-form, .product-form-product-template, .product-form--payment-button-no-variants {
    display: none;
}

Let us know if that works!

Yes, it works! Thanks so much!

By the way, do you know how can I put the “+” itens in separated lines, like a list? Even if I click enter, it does not work :confused:

And also put in a different color for this block?