2

I've created an option under System > Configuration > Catalog > Catalog that allows an admin to select which customer groups can add products to the cart. I now want to notify admin's about this setting when they are changing wishlist settings on another system config page. Something like "Products in the Wishlist can only be added to the cart if blah blah blah."

1) I know about the <depends> tag, but I don't know how to use that for settings from other parts of the config. For instance <depends><active>1</active></depends> is simple, but how can I do that for fields from other groups or sections?

2) Is there a standardized way to put a notification or simple string on a system config page, or does Magento only support fields out of the box?

Thank you.

2
  • Are you referring to the "comment" node of a system.xml field or group? That's the "static" way of adding a description string to a config field. You want something more dynamic?
    – nevvermind
    May 7, 2014 at 12:24
  • I'm not looking to add a comment to a single field exactly, just text on it's own line without a new field to go with it.
    – Tyler V.
    May 7, 2014 at 18:53

1 Answer 1

2

Not 100% sure if this answers the second part of your question or not but you can add a comment node on fields and also on groups so that each group could contain a comment. As explained by Magento

comment you can add your own comment to a field or group

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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