How can I move the Shop Pay line below the Add to Cart button?

Solved

How can I move the Shop Pay line below the Add to Cart button?

HelloEolian
Tourist
6 0 2

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

Accepted Solution (1)

PageFly-Noah
Shopify Partner
1317 233 273

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>

PageFlyNoah_0-1696380185950.png

 

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.

View solution in original post

Replies 4 (4)

PageFly-Noah
Shopify Partner
1317 233 273

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>

PageFlyNoah_0-1696380185950.png

 

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.

HelloEolian
Tourist
6 0 2

Amazing, thank you for the code. It worked great!

PageFly-Noah
Shopify Partner
1317 233 273

@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.

linesandnines
Visitor
2 0 2

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?