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?
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024