Jump to content

PHP adjustment


kegrah2

Recommended Posts

OK, so I am much more front end design and code, and definently a PHP begginer, so please excuse my ignorance.

 

I have added a simple line of text under the price on each product page. No problem. The issue is I need this line of text to only show for products in specific categories. So I am looking for something like IF Category 1-3 then display "lorem ipsum" or the opposite of that for categories that I need it to not show.

 

If anyone has an idea for a resolution any help would be greatly appreciated! Thanks in advance!

Link to comment
Share on other sites

Thanks! Exactly what I was looking for. I am also looking to do this with the manufacturer, so if certain manufacturer than display. Do you know what the variable is for that? Is there a list somewhere of these?

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