Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

How To Show Out Of Stock Permanently Instead Of On Hover. Rate Topic   - - - - -

 
  • ugo
  • Member
  • Trial users
  • Join Date: 02-Feb 21
  • 25 posts

Posted 06 October 2021 - 02:40 PM #1

hello I would like to display the out of stock label on all products in the grid list view. On some products especially on the home page when I hover an item it does show the out of stock option as expected the problem is that there isnt a hover option for mobile users. How can I make the out of stock button "always on "



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 22247 posts

Posted 07 October 2021 - 04:29 AM #2

What theme do you use? Please share the URL of your store


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 1210     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 4025     CS-Cart + YOUPI      USD 1459      Multi-Vendor Ultimate       USD 7500 (6000)


 
  • ugo
  • Member
  • Trial users
  • Join Date: 02-Feb 21
  • 25 posts

Posted 07 October 2021 - 11:21 AM #3

We are using  the default responsive theme that comes with cscart just slightly restyled. the store is at www.packnpay.com.ng



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 22247 posts

Posted 07 October 2021 - 02:04 PM #4

Try to add the following code to the CSS section of the Theme editor

 

@media (max-width: 768px) {
    .ty-grid-list__control {
        display: block !important;
    }
}

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 1210     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 4025     CS-Cart + YOUPI      USD 1459      Multi-Vendor Ultimate       USD 7500 (6000)


 
  • ugo
  • Member
  • Trial users
  • Join Date: 02-Feb 21
  • 25 posts

Posted 08 October 2021 - 09:31 AM #5

Thank you for the suggestion but it seems I may not have explained my issue properly.I would like to show ONLY the out of stock option on both  the home page and category list grids. I want the add to cart option to remain off as there is  no way to set the amount ordered from that point. 



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 22247 posts

Posted 08 October 2021 - 01:14 PM #6

In this case try

 

@media (max-width: 768px) {
    .ty-grid-list__control {
        display: block !important;
    }
    .ty-grid-list__control button, .ty-grid-list__control a{
        display: none;
    }
}

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 1210     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 4025     CS-Cart + YOUPI      USD 1459      Multi-Vendor Ultimate       USD 7500 (6000)