Shopify themes, liquid, logos, and UX
I want to move the shop pay line from about the description to below the add to cart button. I have tried a few codes but none seem to work for me.
I am using the crave theme. https://eolian.shop/products/rimmed-side-plate?variant=46006733013303
Solved! Go to the solution
This is an accepted solution.
Hi @HelloEolian
This is Noah from PageFly - Shopify Page Builder App
Please add this code to your theme.liquid above the </head> to get this solved
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: click on theme.liquid and paste the code above the </head>
<script>
const pfInterval = setInterval(()=>{
const term = document.querySelector('shopify-payment-terms')
const container = document.querySelector('.product-form__buttons')
if (term && container) {
clearInterval(pfInterval)
container.append(term)
}
},100)
setTimeout(() => {
clearInterval(pfInterval)
},15000)
</script>
Hope this can help you solve the issue
Best regards,
Noah | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
This is an accepted solution.
Hi @HelloEolian
This is Noah from PageFly - Shopify Page Builder App
Please add this code to your theme.liquid above the </head> to get this solved
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: click on theme.liquid and paste the code above the </head>
<script>
const pfInterval = setInterval(()=>{
const term = document.querySelector('shopify-payment-terms')
const container = document.querySelector('.product-form__buttons')
if (term && container) {
clearInterval(pfInterval)
container.append(term)
}
},100)
setTimeout(() => {
clearInterval(pfInterval)
},15000)
</script>
Hope this can help you solve the issue
Best regards,
Noah | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
Amazing, thank you for the code. It worked great!
@HelloEolian Glad that i can help. Let me know if you have any questions
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
Hi Noah, I'm still having this issue after implementing your code. I tried on a backup and on live. I'm using Turbo Portland theme. Would you be able to help?
We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024