Out of Stock Tag and Icon Questions

General ShopSite user discussion

Out of Stock Tag and Icon Questions

Postby astralis » Fri Apr 19, 2019 3:07 pm

Hello,
Is there a way to show when a product is out of stock without the user having to add the product to the cart or even go to the More Info page? I'm wondering if it's possible to make an out of stock tag like the new on-sale tag and show it on the product image.

Also, I customized the header and CSS templates on my website and the account, wishlist, and cart icons have been replaced by little rectangular boxes. I can still follow the links. On the Chrome Developer Console, I get errors for each of the icons: "Access to font at 'https://www.site.com/store/ss_images/en-US/backgrounds/fonts/icomoon.woff?zen99n' from origin 'https://site.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource."

Thanks, Emily
astralis
 
Posts: 2
Joined: Fri Apr 19, 2019 2:44 pm

Re: Out of Stock Tag and Icon Questions

Postby cyoung » Fri Apr 19, 2019 4:10 pm

This isn't a built in option, but it can be done with some customization.

More information about this can be found in ShopSite's Custom Cookbook.
https://www.shopsite.com/templates/cookbook/tags-by-version.html#11sp2

============================================================
Real-Time Inventory Display
Merchants can choose to display the actual inventory of a product or simply just "In stock" or "Out of stock," for products in their store.

[-- MOREINFOINVENTORYACTUAL --]
[-- PRODUCTINVENTORYACTUAL_JSONP --]

Suggested CSS for this feature:

span#ss_inv {display: block; font-weight: bold; line-height: 26px;}
span.ss_in_stock {color: green;}
span.ss_out_of_stock, span.ss_low_stock {color: red;} ============================================================

An example of a site that did this can be found in, https://www.watersafetyshop.com/adapter.html
cyoung
 
Posts: 141
Joined: Wed Nov 09, 2016 11:01 am

Re: Out of Stock Tag and Icon Questions

Postby Dennoso » Tue Apr 23, 2019 3:26 am

Do you have to set this for each product individually or can it be done store-wide?
Dennoso
 
Posts: 1
Joined: Mon Apr 22, 2019 2:02 am

Re: Out of Stock Tag and Icon Questions

Postby cyoung » Thu Apr 25, 2019 9:40 am

You can make the adjustments in the templates, see https://www.shopsite.com/templates/cookbook/tags-by-version.html#11sp2, and it will work for all products using that template.
cyoung
 
Posts: 141
Joined: Wed Nov 09, 2016 11:01 am


Return to User Forum

Who is online

Users browsing this forum: Majestic-12 [Bot] and 5 guests