I have created a view which is displaying content type fields
based on taxonomy term
which is "Paid" and "Free".
I want to replace the text of content type field
if the taxonomy term is "Paid" and I want to show different value for the content type field
if it is "Free".
Is there a way to views alter
by adding custom code.
I am just looking if this can be done in the views
itself without using custom code.
If i am right you want to create a Filter in
Views
to show what content to show on valuePaid
andFree
. For this you can doFirst create a
Content
with select option values as "Paid' and "Free" and mentioned text forPaid
andFree
as well.Now create a
View
and putContent type
as afilter
in it in which you can choose valuePaid
orFree
, now moment user select any value its get displayed as per the value.