Jump to content

Help to "add to cart" and price


Recommended Posts

Hello Prestashoppers 

 

Do any one of you happen to know how i change the color of the price ? Is it mabye possible to make it so that the price color is Black and if the product it not in stock it is red ? :)

 

Beside that is it possible for me to change the cart icon in to the yellow text area ?

 

Have a nice day

Jacob

post-735780-0-63913300-1387407685_thumb.png

Link to comment
Share on other sites

Hi.

 

For product list the color setting is in product_list.css line 121, for product page it is in product.css line 284.

 

To set it red if product is out of stock, you need to use an if statement in the tpl files and add an extra class to the element if out of stock.

 

Yes, you can change the cart icon.

 

Regards.

Robin.

The CartExpert Team

Link to comment
Share on other sites

Hello Prestashoppers 

 

Do any one of you happen to know how i change the color of the price ? Is it mabye possible to make it so that the price color is Black and if the product it not in stock it is red ? :)

 

Beside that is it possible for me to change the cart icon in to the yellow text area ?

 

Have a nice day

Jacob

 

read this simple guide: add to cart button change

Link to comment
Share on other sites

Hi.

 

For product list the color setting is in product_list.css line 121, for product page it is in product.css line 284.

 

To set it red if product is out of stock, you need to use an if statement in the tpl files and add an extra class to the element if out of stock.

 

Yes, you can change the cart icon.

 

Regards.

 

Robin.

 

The CartExpert Team

 

Thanks ! :)

 

I have changed it the way you said it and now it is black under the categories (http://gyazo.com/af7827f74a511f18f77fe6a997413a4f)

Can i also change the color when I am on the product page, and on the front page? (look screenshots)

http://gyazo.com/09dcc85ce45a28be881b367365ee99f9

http://gyazo.com/57f399816137d35f90746d9832a592e5

 

Do you know where i locate the file to change those colors ? :)

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...