Hey,
so I’m trying to integrate Shopify’s buy button into a post/page of mine but everytime I try it’s to no avail. I’ve contacted their support team and tried everything they offered but still down and out.
here is the code: http://prnt.sc/b5heuf
and here’s what it shows up as: http://prntscr.com/b5hf3a
(it’s meant to display a product but shows a black line)
what could be the issue? thanks!
Hi,
Sorry but we have not tested this and cannot say for sure what goes wrong. The recommended ecommerce plugin to use with our theme is woocommerce so we have no idea how shopify should work. Sorry.
You can hire a freelancer from sites like studio.envato.com to helkp out as the theme code probably needs to be adapted for that button to work.
Thank you!
Just recieved a big update from their team,
here’s what they said
“Small update, looks like for some reason your theme is pushing the code to show up as 1px height instead of something better like 650px”
The images they sent:
How could I do this? Thanks!
Hi,
The iframe is added with 1px height. Even if I change it to 100%, the container above it still gets 1 pixels so that needs to be changed as well.
You can try this css:
[data-embed_type] iframe{
height:100%!important;
}
[data-embed_type]{
height:350px!important
}
Hope this helps.
Thank you!