Variant Theme: Featured Collection, will not show the buy now for the first 3 in the collection.

Solved
Highlighted
Excursionist
21 1 3

Hello everyone.  Help would be greatly appreciated because I am at a loss.

In my store's featured collection I can not get a Buy Now button to show up for the first three products in the Featured Collection, and it is only the first 3. 

Here is a list of all the things I have tried.

  1. Increased the padding and margins so the Buy Now button shows up.  This worked for all the other products as before they were not showing either in the featured collection.
  2. Tried adding
    1. <form method="post" action="/cart/add">
      <input type="hidden" name="id" value="{{product.variants.first.id}}:1" />
      <input min="1" type="number" id="quantity" name="quantity" value="1"/>
      <input type="submit" value="Add to cart" class="btn" />
      </form>  to the bottom of the product-card.liquid
  3. removed the featured collection and put it back in with NO products to see if that was the issue. 

Below is a screenshot.

Capture.JPG

 

 

1 Like
Highlighted
Shopify Partner
9267 1180 3265

Hello, @MKYLE 

Welcome to the Shopify community!
and Thanks for your Good question.

Please share your site URL,
So I will check and provide a solution here.

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes
Highlighted
Excursionist
21 1 3
0 Likes
Highlighted
Shopify Partner
9267 1180 3265

@MKYLE 

Thanks, it's multiple product variants with sale so please add your code this condition

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes
Highlighted
Excursionist
21 1 3

@KetanKumar 

Which code would you like to see?  The Featured Collections.liquid, Themes.scss.liquid, or another section?

0 Likes
Highlighted
Excursionist
21 1 3

This is an accepted solution.

Figured it out.  It was a setting mistake on my button app.

0 Likes