Squarespace Checkout Customization JavaScript
I’m a first time Squarespace user trying to inject JavaScript into my website so that I can customize the checkout button to redirect customers to a quote form instead of the regular checkout. I’m having trouble getting it to actually work. When I click on the button there are no errors in the console. The result is still a direction to the default checkout page after it redirects to the correct form for half of a second. The button seems to be dynamic. At first, I wasn’t able to correctly target the button, but now the console prints the correct actions to recognize the button being clicked.