1

I am building a small web site which offers photography services. So, basically, I offer some services and these services do have some additional options (attributes). For example, service:

  • Single product on photo
  • Group products

And attributes:

  • Delivery: standart or rush (+$5)
  • Background color: white or black (+$1)

I found at least three ways how to add attributes, but a little bit confused which way is correct.

My question: which way is correct and better for me? I like the Commerce Pricing Attributes module because it is more understandable, but as we can see this module is not very popular.

2 Answers 2

0

Managing products (and orders) can be confusing. However, the Commerce Backoffice module helps with that. Especially because of the auto creation of product display nodes. This module provides the backoffice functionality present in Commerce Kickstart (V2). It contains these sub-modules:

  • Commerce Backoffice Product (commerce_backoffice_product).
  • Commerce Backoffice Order (commerce_backoffice_order).
  • Commerce Backoffice Content (commerce_backoffice_content).

This module (and a few dependencies) provides the rich store owner experience that has made Commerce Kickstart 2 so popular (and prevents that you have to install the entire Commerce Kickstart distribution). And there is a great video introduction about it also.

Note: if you use Commerce Backoffice, you most probably also want to use the Shiny administration theme, also used in Commerce Kickstart (V2).

4
  • Couple of questions about that. When I add a new "Product variation types" it creates a new "Content type". But if I want to delete some Product variation type" it does not delete the corresponding content type. Is it OK? Thank you!
    – pro100bear
    Commented Jul 16, 2015 at 16:56
  • Let me first make sure I correctly understand ... Say you have Red, Blue and Green Hats (so 3 product variations), for content type "Hat". If you delete the Green Hat, you still have Red and Blue Hats, right? And if you delete all 3 of them, some day you may have yellow of white hats. Does that help (and make sense), or am "I" missing something (could be ...)? PS: maybe this is worth a NEW question? Commented Jul 16, 2015 at 17:01
  • That is totally fine. I cane here to get new experience :). About Product variation types: I don't delete "product variations". I delete "product variation TYPE". And, i noticed, for some reasons, it does not delete the corresponding content type. Am I supposed to delete it by myself OR (i am concerned about that) I do something wrong? Thank you!
    – pro100bear
    Commented Jul 16, 2015 at 17:18
  • To be honest, I'm not sure, and don't want to just "guess" (before I'd have some time to experiment and do some research about it). However, I think that's a great NEW question you should ask ... Just try to reformat your prior comments in this answer here in a single question. Asking doesn't cost "anything" here (except if you ask bad questions, you may get some downvotes, so what? What do you think? Commented Jul 16, 2015 at 17:24
0

There are always different ways to do things in Drupal. Drupal Commerce (DC) is the shining example of this. DC allows for project attributes out of the box using fields on product types that are set to be attributes (this creates an AJAX field as a select option in the add-to-cart form). This is an example of attributable fields. You will notice the price and the photo changes when you change the video type. You can also handle some attributes with line items added to an entire order (this is how shipping is done). If you have global attributes, the best way would be a line item added to the entire order.

You list delivery and background color; I am going to assume these would be global attributes that would apply to any order in your store. These would be prime candidates to use line items added to the order. But this also depends on how you are going to allow your customers to purchase products.

I would need more infomration about how you want to setup your shopping experience to be able to completely answer the question.

DC is an extremely powerful and flexible shopping cart. But it is complex.

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.