Hi, i'm trying to build a pay-per-view system with fabrik.
I wonder if there is a easy way to make some elements of a record visible only to users who purchased the record, and also to show a message (instead of the element's value) to user who haven't bought the record.
For example i could make a "purchased" table with "user_id" and "purchased_records_ids" fields, and then - when a user opens the detail view of a record- i would like to compare the record id with the "purchased_records_ids" from the user and then show the value of some elements of the record only if the user has that id in the "purchased" table.
Sorry for my bad english i hope you understand..
I wonder if there is a easy way to make some elements of a record visible only to users who purchased the record, and also to show a message (instead of the element's value) to user who haven't bought the record.
For example i could make a "purchased" table with "user_id" and "purchased_records_ids" fields, and then - when a user opens the detail view of a record- i would like to compare the record id with the "purchased_records_ids" from the user and then show the value of some elements of the record only if the user has that id in the "purchased" table.
Sorry for my bad english i hope you understand..