Jump to content

how to remove "Available" text from product description page


Recommended Posts

I would like to remove the option "Available" from products listing page above the add to cart button. &

the option "Availability: In Stock" from product details page above the add to cart button.

 

 

Thx

Arun

Link to comment
Share on other sites

Not sure if there s a way to do it thru BO --

 

But try this

 

Go to product_list.css line 68

 

to remove "Available" from products listing page above the add to cart button.

 

insert "display:none;"

 

 

ul#product_list li span.availability {

display:none;

color: #488c40;

font-size: 0.9em

 

}

 

 

 

to remove "Availability: In Stock" from product details page above the add to cart button.

 

 

 

go to product.css line 155

insert "display:none;"

 

#primary_block #buy_block span#availability_label {

display:none;

float: left;

margin-right: 1em

}

 

to remove the value insert this

 

#primary_block #buy_block span#availability_value {

display:none;

}

Edited by halennoor (see edit history)
  • Like 1
Link to comment
Share on other sites

You can also disable stock management in back office. But then you will lose all of those features. If you do not use the stock management features then that would be the best way to do it. That option can be found in preferences--> products--> products stock/stock management.

 

If you want to disable JUST the "availability" text then use halennoors method.

Link to comment
Share on other sites

  • 1 year later...
  • 3 weeks later...
  • 5 months later...

Ok, I must be missing something, I have stock management turned off, "Availability" still shows on my product page.  I then tried editing the CMS file and adding the "display:none; as described above, but makes no change, still see the word "Availability" on the product page listed below the product name.

 

Any other ideas?  Using prestashop 1.6.0.6

 

Thanks

Link to comment
Share on other sites

That post is for older version and maybe a bit different.

For 1.6 product list in yourdomain/themes/default-bootstrap/css/product_list.css find:

 

ul.product_list .availability span {
    color: white;
    display: inline-block;
    font-weight: bold;
    margin-bottom: 20px;
    padding: 3px 8px 4px;
}

Change display: inline-block; to display:none;

 

For product page in yourdomain/themes/default-bootstrap/css/product.css find

#availability_value, #last_quantities {
    background: none repeat scroll 0 0 #55c65e;
    border: 1px solid #36943e;
    color: white;
    display: inline-block;
    font-weight: 700;
    line-height: 18px;
    margin-left: 5px;
    padding: 3px 8px 4px;
}

and do same as above

  • Like 2
Link to comment
Share on other sites

 

That post is for older version and maybe a bit different.

For 1.6 product list in yourdomain/themes/default-bootstrap/css/product_list.css find:

 

ul.product_list .availability span {
    color: white;
    display: inline-block;
    font-weight: bold;
    margin-bottom: 20px;
    padding: 3px 8px 4px;
}

Change display: inline-block; to display:none;

 

For product page in yourdomain/themes/default-bootstrap/css/product.css find

#availability_value, #last_quantities {
    background: none repeat scroll 0 0 #55c65e;
    border: 1px solid #36943e;
    color: white;
    display: inline-block;
    font-weight: 700;
    line-height: 18px;
    margin-left: 5px;
    padding: 3px 8px 4px;
}

and do same as above

 

Thanks a lot Dioniz for all yours answers.

Once again that SOLVED.

(presta 1.6, theme default)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...