Semaphore Posted May 29, 2019 Share Posted May 29, 2019 Hi, I get this in my old PS 1.5 templatesand I can't do it now in PS 1.7. I want to be able to get the root or older category call that like you want in each sub-category and product page in order to customize the css based on that. For example I get cat A -> sub-cat A1 -> product A1p and i want <body class="categoryid-A"> on catalog pages. I have look on new ps 1.7 global variable there is nothing about that. Thanks for your help Link to comment Share on other sites More sharing options...
Pekkhyu Posted March 23, 2020 Share Posted March 23, 2020 On 5/29/2019 at 5:19 PM, Semaphore said: Hi, I get this in my old PS 1.5 templatesand I can't do it now in PS 1.7. I want to be able to get the root or older category call that like you want in each sub-category and product page in order to customize the css based on that. For example I get cat A -> sub-cat A1 -> product A1p and i want <body class="categoryid-A"> on catalog pages. I have look on new ps 1.7 global variable there is nothing about that. Thanks for your help Hello! Did you find a solution? I'm trying to do the same things Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now