I added a "Learn More" button above the add to cart on the product page, but now it's also appearing on the "add-on" product, which is not intended. Below is the code I used. Do you have any ideas on how to fix this?
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
$(document).ready(function() {
$('section.ProductItem-additional .button-block').insertBefore('.ProductItem-details .sqs-add-to-cart-button-wrapper');
});
</script>
Site: https://accordion-clarinet-az49.squarespace.com/shops/p/style-01-ej5na-4l2gy-r5why
Password: thecontent