1

I am fairly new to Drupal 7 and especially new to the entity concept. I need to create a site which records customer data (name, address etc) as well as other objects/entities such as orders, which are related to the customer with a parent/child relationship. I don't know how to do this in Drupal 6 and definitely not in Drupal 7. I know you can create a node reference as a field, but that is not what I want.

I'm pretty sure this has to do with entities, as entities are paralleled to objects, and what I really need is an object to own another object. I am presently listening through tutorials about Entities, but can someone point me in the correct direction to see what exactly I should be looking for (and to perhaps clarify the Entity concept to me).

2

You should look at Drupal Commerce, a suite of modules that sets up e-commerce in Drupal. You will have a much easier time adapting Drupal Commerce to fit your needs than you will writing a store from scratch in Drupal.

  • Thats the issue: I'm not creating a store, just a backend for administrators to store customer and user data. No one will be buying anything from this site. Would you still suggest commerce, or is there a simpler implementation for this? (also, it would like to learn more about the entity api anyways...) – user1015214 Aug 4 '13 at 19:01
  • Yes, you should still look at Commerce. Commerce makes extensive use of the new features of Drupal 7, including entities. It is also completely modular; if you don't need payment, simply don't enable the payment module. You can also use the default permissions to shut off access to everything except to administrators. – Patrick Kenny Aug 5 '13 at 4:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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