WordPress.org

Support

Support » Plugins and Hacks » Grid Products » Check if the product is in a certain category

Check if the product is in a certain category

  • Hi

    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.

    http://wordpress.org/plugins/grid-products/

Viewing 1 replies (of 1 total)
  • Plugin Contributor ModDish

    @moddish

    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?

Viewing 1 replies (of 1 total)
  • The topic ‘Check if the product is in a certain category’ is closed to new replies.
Skip to toolbar