#77880 Add Event Snippet to Checkout page
Landing › Forums › JupiterX WordPress Theme › Add Event Snippet to Checkout page
Viewing 2 posts - 1 through 2 (of 2 total)
-
AuthorPosts
-
aaron.mathis-065e67e5 3 years, 1 month ago
How can I add javascript to the <head></head> portion of just the checkout/order-confirmation page?
Nodari 3 years, 1 month agoHey there
You have to use selector that filters checkout and order confirmation pages, these pages at the body tag has their classes added when you create selector in JS make sure you use these classes as a parent-child in your selector 🙂
The second method is to add your JS code in the child theme, in the corresponding template filesHope this helps
-
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)