BUY NOW button is not working for my products

New Member
10 0 0

Hi,

 

I'm creating shopify theme and for my product page I want to add buy now button which redirect users directly on checkout page without interacting with "cart" page. For example brokylen theme is doing. 

 

I add the code in my product page.

 

{% form 'product', product %}
.....
{{ form | payment_button }}
.......
{% endform %}

But this button is not working. It is disable by default.

Here is URL of shop

 

Please check it and let me know what I'm missing. 

0 Likes
Shopify Partner
1785 293 382

Hi @AzeemHaider 

I can see buy now button on page,

please check and let me know if still any issue.

 

buy button.png

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com
Skype: jasoliya.brijesh
0 Likes
New Member
10 0 0
Yes, I know there is Buy button But this is not working.
Can you please try to click on this. You will see this button
is disabled.
0 Likes
Shopify Partner
1785 293 382

Hi @AzeemHaider 

You have added form code wrong

You can find it in Section->product-template.liquid file

please see this image.

form.PNG

 

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com
Skype: jasoliya.brijesh
0 Likes
New Member
10 0 0

Hi @Jasoliya 

 

I don't know but I'm seeing totally different code there is no <li> see the image You can also check the code on GitHub Foxy Theme

Screenshot from 2019-08-19 10-21-47.png

0 Likes