Grid Products
Check if the product is in a certain category (2 posts)

  1. n1ckyb0yadams
    Posted 2 years ago #


    I am using the Grid Products plugin which is great. I want to check if a product has a certain category (the category's slug is 'auto') from the single product page template and change the layout slightly to show a different 'buy' button to other products.

    I have tried many ways of doing this - has_term, in_category etc but to no avail. Nothing seems to work.

    Help would be much appreciated.


  2. ModDish
    Plugin Contributor

    Posted 2 years ago #

    you would need to mod the plugin source if i had a example of what you want to do I may be able to give you a hand...link to site?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Grid Products
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic