App reviews, troubleshooting, and recommendations
Currently working on a shopify app which uses script tags to add a section on the thank you page (order status page).
This is my test-script.js file:
console.log('this is coming from script tag api!')
const header = $('div.section__content').parent('.section');
var myContent = function($) {
//content box contains some basic styling with divs and an image which I haven't included
const contentBox = $( ....).css(....)
header.prepend(contentbox)
}
Solved! Go to the solution
This is an accepted solution.
Yes @therahulissar , you need to add a jQuery script. Also, wrap up your jquery code within
$( document ).ready(function() {
// Wrap up your code here
});
This is an accepted solution.
Yes @therahulissar , you need to add a jQuery script. Also, wrap up your jquery code within
$( document ).ready(function() {
// Wrap up your code here
});
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024