0

I want to create a Pay-per-view site under Drupal.

I followed the instructions of Commerce guys, which combines the use of Drupal Commerce and Content access.

But this solution means creating two entities: a product display + the paying article. It raises several problems: two nodes with the same name, two nodes as we can comment...

I would thus want only one node, with a visible teaser before purchase, then all the text after purchase.

My question : how to selling per-node access without creating two entities ?

1 Answer 1

1

It really depends on how you want to display the content to your customers. For example, you could show a teaser of the content page via Views. Access to the full content page could be contingent on node access implemented via the Content Access module. You then just have to figure out how to display to the customer which articles they have full access to - for example, a "Purchased articles" View that shows all fully accessible articles using a node access filter.

6
  • Thanks Ryan for your help. I'm not sure to understand: it is possible with View to show a teaser of a paying contents even if the users have no access to these paying contents? Otherwise, there are several problems, for example, to comment the paying contents: how to show in the product display the comments of the contents paying that he references? Generally speaking, it does not "weigh down" the site?
    – Frouite
    Commented Oct 18, 2015 at 20:22
  • For the display : he will be the following one: the user sees the paying contents, in this case only his teaser, then the price and "add to cart", he buys it, and then sees the contents paying in its entirety.
    – Frouite
    Commented Oct 18, 2015 at 20:31
  • Yes, with Views you can bypass node access to show a teaser of all of these nodes. Commented Oct 19, 2015 at 18:27
  • Thank you, I found how to make, for those whom that interests. But that does not answer the problem of the double nodes...
    – Frouite
    Commented Oct 20, 2015 at 6:04
  • Yes it does. You can have one node with a teaser that shows in the publicly available view. A link to the full node page could be on a view that actually is filtered by node access. One node. Commented Oct 20, 2015 at 16:21

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.