Everytime someone adds a product to the shopping cart, commerce send an email. Thats nos supposed to happen. If the customer is not logged in, then it says: "Unable to send email, please contact..." Somebady woukd help me please?

Comments

rszrama’s picture

Category: Bug report » Support request
Status: Active » Closed (cannot reproduce)

This has nothing to do with Commerce itself; you'll need to find the rule or code you've added to this site that is attempting to do that and fix it.

dagoodgamez’s picture

I already checked the rules. And there's no any rule to send an email after i add a product to cart.

rszrama’s picture

Alrighty, then look into any custom or contrib modules that may be doing it. There's nothing in the core of Drupal Commerce sending e-mails except checkout completion notifications.

dagoodgamez’s picture

Hi, i though i found the solution but i didnt. Lookin into my module files i realized i had installed the "commerce cash onle delivery" module inside the stock module, as well as the "admin menu" module inside the commerce email module. I thougg it was the problem, the i removed the folders to the module folder as it should be, i also uninstalled all those modules, cleaned all caches but still getting the same problem. Any idea? Please help, thanks

dagoodgamez’s picture

Status: Closed (cannot reproduce) » Needs review

Hi. I'm still not able to resolve the issue. I need to mention everything tha has happened untill know so that you can help me. The email that drupal sends is an "order notification" email. It has the order number as subject. Inside it looks as a regular order notification email but in the order details it shows tha table empty, no products and an order total = 0. AS i mentioned i installed by mistake the commerce_cod mudule inside the "commerce stock" module, and the admin_menu inside the commerce email module. I already unistalled those modules but is still the same thing. When i go the recent logs report it shows the product path as the location and the referent of the module. Is there any way to know the location of the module which is doin it ? Please help, i really want to resolve this. Thanks

mglaman’s picture

Status: Needs review » Active

Removing from "Needs Review" as there is no patch. Review the issue status values.

This is a difficult issue to test on customized sites. Try setting up a vanilla Drupal Commerce site to replicate. If you cannot, compare your rules config.

rszrama’s picture

Priority: Major » Normal
Status: Active » Closed (cannot reproduce)

You know what, it reads to me now like the order e-mail the poster is talking about included a rendered View of line items - because the default order notification e-mail doesn't include any sort of order total or anything. In that case, the issue is one of permissions - when the e-mail is rendered, the user doesn't have the proper permissions to see the full output of the View (almost always due to a product entity relationship).

Let's just close this one out and hope the OP solved this 7 months ago. : D