1

I'm building a website on Drupal 8 that involves kids videos, that can be sold as separate files. I'm using Ubercart module.

I'd like to know how I can put an "Add to cart" button, linking the video content page with the appropriate cart page.

Please put forward your opinions.

1 Answer 1

2

According to this answer:

... The content type has to be an Ubercart product content type, then the add-to-cart button will automatically show up on that content type along with all the other fields that are necessary for an Ubercart product like price, sku, etc.

To make a content type an Ubercart product content type, edit the content type at /admin/structure/types/manage/{name of content type}, choose the "Ubercart product settings" tab in the lower left of the page, select "Content type is a product", then save the content type.

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.