Change add to cart to tertiary button style

By default, Add to Cart uses Primary Button Style.

If you want to change it to

Tertiary Style.

You can use this code to Code Injection > Footer.

If code doesn’t work, you can comment below, message or email me.

<script>
document.addEventListener('DOMContentLoaded', function() {
 let cartButton = document.querySelector('.sqs-add-to-cart-button');
 if (cartButton) {
  cartButton.className = 'sqs-add-to-cart-button sqs-suppress-edit-mode sqs-editable-button sqs-button-element--tertiary';
 }
});
</script>

Result

1 Like