I have content type "product" term referenced by Taxonomy "Product category" having terms -Cook tops -Heaters -Chimneys

Now if i flagged nodes associated with term "Cook tops" , after that if i flag node associated with "Heater". I should get a error message.

Actually I am using this flag to show flagged item in BASKET(as done in many shopping site). But i do not want to put a "Cook tops" node with "Heater" nodes.

  • Flag hasn't module that can do it. But it's possible programmatically print Flag in node template dependly your taxonomy field value. – Nikit Jun 25 '14 at 9:04

Found these links which solved my question https://www.drupal.org/node/2235353 https://www.drupal.org/node/952114

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.