Streaming live at 10am (PST)

jQuery not running before order placed on checkout page

Hey all,

Currently trying to implement a script that makes it so when someone clicks the purchase button on the checkout page, the values of a couple custom HTML inputs are copied to the “additional info” text section and then submitted that way.

I’ve tested the script in browser, and it works when there isn’t payment information (I can see the info be transferred, but it doesn’t submit).However, when I use the purchase button to actually place an order, I don’t see this information in the additional information section.

Any idea why this might be happening?

Read only: https://preview.webflow.com/preview/reconvene?utm_medium=preview_link&utm_source=designer&utm_content=reconvene&preview=50e044ac898a27c94ae9cb449226c86b&pageId=5fd3a7bbcf0a0423ebce388f&workflow=preview


Here is my site Read-Only: LINK
([how to share your site Read-Only link][2])

[2]: Share a read-only link | Webflow UniversityPreformatted text

I managed to fix this by changing it to run on hover over the purchase button—this feels obtuse, but it seems to work.

Try this:

And put your code “before body” (Not in the head).

1 Like