#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)
  • Author
    Posts
  • aaron.mathis-065e67e5

    How can I add javascript to the <head></head> portion of just the checkout/order-confirmation page?

    Nodari

    Hey 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 files

    Hope this helps

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Login