Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Out of Stock Items

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #1  
Old 12-19-2015, 05:42 AM
 
superdave144 superdave144 is offline
 

Advanced Member
  
Join Date: Sep 2015
Posts: 77
 

Default Out of Stock Items

I think it would be more clear to the customer if out of stock items displayed "Out of Stock" in red on the product picture along with graying it out. This could be a toggle setting right below the out of stock options in the admin area.
__________________
David
X-Cart Business 5.3.2.2
Reply With Quote
  #2  
Old 12-21-2015, 06:27 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Out of Stock Items

Hello David,

At the moment there is no such feature in X-Cart 5, but it can be implemented as a custom module.

As a quick hack you can add the following rules at Backend -> Look & Feel -> Custom CSS tab:
Code:
.product.out-of-stock .product-photo > a:before { content: 'Sold out'; color: red; font-size: 20px; display: block; position: absolute; left: 0; right: 0; top: 50%; height: 1em; margin-top: -0.5em; text-align: center; }

Not the best solution, but may work while you are creating a more solid custom module.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #3  
Old 12-21-2015, 07:40 AM
 
superdave144 superdave144 is offline
 

Advanced Member
  
Join Date: Sep 2015
Posts: 77
 

Default Re: Out of Stock Items

Thanks for the response. I added the custom CSS but I don't see the wording appearing on out of stock items.
__________________
David
X-Cart Business 5.3.2.2
Reply With Quote
  #4  
Old 12-23-2015, 03:13 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Out of Stock Items

Hello David,

Perhaps you use a different theme, so the CSS selector should be tweaked.
What is your store URL?
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #5  
Old 12-23-2015, 04:02 AM
 
superdave144 superdave144 is offline
 

Advanced Member
  
Join Date: Sep 2015
Posts: 77
 

Default Re: Out of Stock Items

Www.justretrogames.com
__________________
David
X-Cart Business 5.3.2.2
Reply With Quote
  #6  
Old 12-23-2015, 04:31 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Out of Stock Items

I believe you use Digital color scheme.

I have tried the above custom CSS rule on my local installation with Digital theme, and it works there (see the attached screenshot).

Did you tick the "Use custom css" checkbox on the "Custom CSS" tab?
Attached Thumbnails
Click image for larger version

Name:	screenshot.png
Views:	138
Size:	168.3 KB
ID:	4409  
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote

The following user thanks qualiteam for this useful post:
superdave144 (12-23-2015)
  #7  
Old 12-23-2015, 05:25 AM
 
superdave144 superdave144 is offline
 

Advanced Member
  
Join Date: Sep 2015
Posts: 77
 

Default Re: Out of Stock Items

It's working now. smh lol Thank you for your help!
__________________
David
X-Cart Business 5.3.2.2
Reply With Quote
  #8  
Old 12-23-2015, 10:23 PM
 
kirkbauer kirkbauer is offline
 

Member
  
Join Date: Dec 2015
Posts: 26
 

Default Re: Out of Stock Items

I'm using the Product Stickers module to add red tape on the out-of-stock items.
__________________
X-Cart Business 5.3.6.8
Reply With Quote
  #9  
Old 12-31-2015, 06:05 AM
 
superdave144 superdave144 is offline
 

Advanced Member
  
Join Date: Sep 2015
Posts: 77
 

Default Re: Out of Stock Items

Can I see how it looks Kirk? Do you have a URL?
__________________
David
X-Cart Business 5.3.2.2
Reply With Quote
  #10  
Old 12-31-2015, 06:19 AM
 
kirkbauer kirkbauer is offline
 

Member
  
Join Date: Dec 2015
Posts: 26
 

Default Re: Out of Stock Items

Sure, here you go:

http://www.tdtavern.com/healing
__________________
X-Cart Business 5.3.6.8
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:36 PM.

   

 
X-Cart forums © 2001-2020