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?
User | RANK |
---|---|
210 | |
166 | |
70 | |
55 | |
53 |
Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023