How can I hide the checkout button using Ventura theme version 12.2.1?

I’m using Ventura Theme version 12.2.1 and I would like to hide the checkout button. I did a code inspection and found the following code:

Element Code:

<button type="submit" name="checkout" class="btn">Check Out</button>

CSS Styles:

// Get a reference to the buttons using their class names
var updateButton = document.querySelector(".update-cart");
var checkoutButton = document.querySelector(".btn");
// Hide the buttons by setting their display property to "none"
if (updateButton) {
updateButton.style.display = "none";
}
if (checkoutButton) {
checkoutButton.style.display = "none";
}

Can you please help me create a … code in order to hide this button?

@jhartwell - can you please give this page link?

Hi @jhartwell

Can you please provide your store URL and password as well if applicable, so that I can provide you solution that can work for your store.

Best regards

Sahil

I already figured it out: