BlockHead
-
Posts
2 -
Joined
-
Last visited
Content Type
Forums
Gallery
Blogs
Events
Store
Downloads
Profiles
Posts posted by BlockHead
-
-
Please pardon the duplicate, but I'm switching accounts and need to receive responses on this account. I asked the question above as RHenny:
Hello Tuan,
I am attempting to do something like this, using querySelector, via JavaScript, to append new divs to the grid-items of the grid-list on the products page. I'm just guessing this is the only way to do this, as I don't see a way to alter that section.
Can you help with this? Should I start a new thread?
Thank you
Custom code for "price on request" SS7.0 commerce. site
in Customize with code
Posted · Edited by BlockHead
I just wanted to update my post with my solution.
I originally used the Page Header Code Injection to add the script but it didn't work. My thought was that the parent divs I was attempting to append to were not loaded yet and that they couldn't be found. I then added the script to the footer, via a code block, and this solved it—allowing the parent divs where I wanted to append the new divs to load first.