Drupal Commerce Issue Queue

Add support to custom commerce round modes

Tue, 04/08/2014 - 02:11

Hello, I think it would be a good idea to have commerce allows us able to set our rounding modes.

In my case I use 3 decimals and I wish I could easily round for example from 3.932 to 3.930, and not 3.95 which would make commerce.

This patch is a first attempt to see your opinion, has not yet been tested.


Categories: Issue Queues

Troubling orphaned line items

Sun, 04/06/2014 - 11:26

Hi there;

First of all thank to all developers and contributors of Drupal Commerce. The combination of Drupal + a full-fledged e-commerce solution is incredibly powerful.

However, it is said with great power cames great responsibility. Or, to put it another way, more complexity means more (potential) space for trouble.

I have had a couple of experiences with commerce. I ran both times into a rather common issue: in the process of trying modules, installing, uninstalling and making fake orders to test the system, it is usual to end up with orphaned line items, orders, etc...

This is a common issue and I understand is neither bug nor an error.

However, these orphaned line items and the rather complex ecosystem of commerce modules on a feature-rich store (i am using tax, shipping, paypal, subscription products, coupon, discount, physical... + lot of rules) have led me sometimes to troubling PDOExceptions caused by duplicate line item entries. Those errors have proven difficult to trace back.

Moreover, and related to it, it is also difficult to reset orders & line-items to start from scratch (from ID:1).

Given the complexity of Commerce, truncating databases is not always safe or useful. There is always some data kept in other tables different from the obvious ones (commerce_orders, etc...) and there's auto-increment.

I am speaking from a front-end designer point of view. I know this may sound rather easy or even naïve from a developer point of view.

However, I think it would be a great feature to implement a "reset all" option in commerce that allows to get rid of existing all orders & line-items, orphaned or not, and reset the auto-increment to zero at any time.

Forgive me if this is unfeasible. I'm not a developer. I only want to give some feedback from an user point of view on how to better up Commerce's experience.

Categories: Issue Queues

User Defined Box Set from Potentially Hundreds of Attributes

Fri, 04/04/2014 - 13:15


I am in the process of trying to build a site using the Commerce module and had a question about a particular need that I have.

My client runs a brick and mortar chocolate shop and would like to sell his products online through the use of customer-configured boxes that can include up to a predefined number of chocolates. For instance, he would like to sell a box of 24 chocolates and then allow the customer to determine the type and quantity of chocolates that he would like to add to that box up to the maximum quantity of 24. In addition, there will be other size boxes that would follow the same procedure.

Currently my client has roughly 200 varieties of chocolates available. Since they would not be sold individually on a piece by piece basis through the website, there seems no need to make each individual chocolate an actual product. Instead it seems to me that the chocolates should be an attribute of the available boxed sets of chocolates which are themselves products. However, it would also seem to me that making attribute selections from 200 different chocolates would be cumbersome and I'm not even sure how that would appear on the cart form.

Basically, I'm looking for any suggestions on how to accomplish this task either through contrib modules or even some custom programming. There will be NO price adjustments based on the attributes but I will need to specify a quantity selection for each attribute (chocolate). I have seen the Commerce Add to Cart Extras module which appears to have a quantity field but have not yet got to the point of installing and seeing how it works yet. I have also seen the Commerce Product Bundle module but as I mentioned earlier, I don't envision each chocolate as being it's own product since they will never be added to the cart and purchased individually but only as a box set.

As a reference to competitor site which provides this capability (non-Drupal site), here is a link to show a similar concept:


Although this is much more complex than I am looking for, it demonstrates the idea.

Ideally, I envision a product page for a box set of chocolates that is created by a View. The view would have filters to allow filtering of the types of chocolates available to add to the box (Truffles, Chews, ... etc.). The page would display images and descriptions of each chocolate along with a quantity box and add to box button. After the user makes their selections, they add the entire box to the cart with all their chocolate selections. The box would be added to the cart as a single product rather than 24 individual products.

Hope this makes sense and sorry for the long post.

Thanks in advance!

Categories: Issue Queues

missing transaltion

Fri, 04/04/2014 - 08:10
Categories: Issue Queues

shipping integration issue

Fri, 04/04/2014 - 07:27

hi all.
i have a drupal commerce installation without the shipping module but i noticed that commerce_customer_field_widget_form() raises an error:

Field commerce_customer_shipping attempted to use the non-existing customer profile type shipping

since commerce_customer_profile_type_load() is always called with both billing and shipping parameter.

i don't know why, but i have to say that i had the shipping module installed before... is this the problem?
how to clean up the whole thing?

thanks a lot.

Categories: Issue Queues

Cannot sign-up to Commerce Q&A

Thu, 04/03/2014 - 20:41

So for using this issue queue, but I'm really stuck.

I'm trying to register here: http://www.drupalcommerce.org, so that I can post a question here http://www.drupalcommerce.org/questions

The "Create login" link takes me to https://marketplace.commerceguys.com/user/register
I successfully got through the process and received confirmation by email that I'm a member of Marketplace.

But when I now go to drupalcommerce.org I cannot log in and when I click the link to send me a new password, it says that my email address is not known!

So for help I went to http://commerceguys.com/inquiry, but after filling out the form an error says "Subject field is required". However there is NO subject field on the form to fill out!

Any help in creating an account would be much appreciated.


Categories: Issue Queues