Stock availability bubble

Jnolla
New Member
4 0 0

Hello all, 

I'm wanting to make the "Sold out" bubble that appears on the bottom-right of the card stay there, with the number of inventory left.

 

Screenshot 2022-03-22 185958.jpg

 

 

 

 

 

 

I've been looking at this snippet below and wasn't sure if this is where to start. It's in Featured-Product.liquid 

 

 

{%- if variant.sku != blank -%}
         "sku": {{ variant.sku | json }},
{%- endif -%}

          "availability" : "http://schema.org/{%  if variant.available %}InStock{% else %}OutOfStock
{% endif %}",
   "price" : {{ variant.price | divided_by: 100.00 | json }},
   "priceCurrency" : {{ cart.currency.iso_code | json }},
   "url" : {{ request.origin | append: variant.url | json }}

 

I'd appreciate any help, 

 

Jnolla

Replies 3 (3)
dmwwebartisan
Shopify Partner
10710 2337 3311

@Jnolla 

Please share your store URL!

Thanks!

If helpful then please Like and Accept Solution | Email: dmw.webartisan@gmail.com | Instagram: @dmw.webartisan
Check here PageFly App to customize your pages | Bag is a cart drawer that maximizes your sales. View app →
Jnolla
New Member
4 0 0

https://ventas.fispy.mx/

 

If you meant something else, I'll be here to respond.

 

thanks,

 

Jnolla

Jnolla
New Member
4 0 0