I have used a view in my drupal.

In this view, I have used an "add to cart button" field.

In my theme, I am searching for a theme function in order to alter this field. For example want to remove css classes from this button and add another attributes to it.

what is the suitable theme_function in order to achieve this goal?

1 Answer 1


Fences should be the answer of your problem: https://drupal.org/project/fences

Or you could create a template for this view-field: https://drupal.org/node/352970

Your Answer

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

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