Support Center
Visit Demo
License manager
Buy @ envato
toggle menu
Categories
Discussions
Activity
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Activity
Sign In
·
Register
×
Home
›
Theme support
Shopify Buttons
brandmobile
November 2015
in
Theme support
I am trying to use shopify buttons on the BeTheme, but its not working. Can you please tell me how to add shopify buttons like these:
https://www.shopify.com/buy-button
Comments
brandmobile
November 2015
Here is the code I'm testing:
<div data-embed_type="product" data-shop="brandmobile.myshopify.com" data-product_name="Test Product" data-product_handle="test-product" data-has_image="true" data-display_size="compact" data-redirect_to="checkout" data-buy_button_text="Buy now" data-buy_button_out_of_stock_text="Out of Stock" data-buy_button_product_unavailable_text="Unavailable" data-button_background_color="7db461" data-button_text_color="ffffff" data-product_modal="false" data-product_title_color="000000" data-next_page_button_text="Next page"></div>
<script type="text/javascript">
document.getElementById('ShopifyEmbedScript') || document.write('<script type="text/javascript" src="
https://widgets.shopifyapps.com/assets/widgets/embed/client.js
" id="ShopifyEmbedScript"><\/script>');
</script>
<noscript><a href="
https://brandmobile.myshopify.com/cart/11396500806:1
" target="_blank">Buy Test Product</a></noscript>
brandmobile
November 2015
I used the <code> option in the theme, but its not working.
Albert
November 2015
Hi,
you are probably using wrong item. If you would read the
doc
, will be clear that CODE item is not parsing the code. If you want code to be parsed, you supposed to use COLUMN item instead.
Thanks!
brandmobile
November 2015
I did that too after I read the doc. Still didn't work.
brandmobile
November 2015
Of course now it works. Ugh thanks
Albert
November 2015
Just like we thought
You're welcome!
Sign In
or
Register
to comment.
Comments
you are probably using wrong item. If you would read the doc, will be clear that CODE item is not parsing the code. If you want code to be parsed, you supposed to use COLUMN item instead.
Thanks!