Okay, so I haven't had to develop anything with Drupal for quite a while now, I'm working as a pre-press tech at a printer so we don't really do that sort of thing here too often.
The last site I did that had e-commerce attached to it is still functioning, but there are some issues that never got cleared up from when I installed it and at this point it's too late to address them, anyway.
However, I was just tasked with setting up an online ordering system for some of our customers that consistently order the same items all the time, so I installed a fresh copy of the latest v5 Drupal along with the most up to date versions of all the modules that I needed and got started with setting up the store.
My first question, is there a way to allow the customer to enter data into a product's description? If not, or if it would be too hard to do then is there a way to have a comments page during checkout for the customer to write notes into. For example: we have a customer that orders business cards a few times a week. I'd like to be able to set up just one generic 'business card' product and have the customer fill in the pertinent details themselves. I know that with CCK I can make all sorts of custom fields and whatnot but they are only available to site admins to set up during the creation of the product. I need that sort of flexibility for the customer.
Also, why are my e-mails coming to me with xhtml code in the text instead of being formatted correctly? Here's an example:
<em>1</em> order(s) with a 'cleared' payment status needs action: Order #<em>1</em> created <em>3 days 18 hours</em> ago
Workflow status: <em>invoiced</em>
Email: <em>david@allstar-printing.com</em>
Total: <em>$0.00</em>
Shipping to:
Billing to:
<em>2 orders</em> of <em>Second Sheets - Blank [PIB-003]</em> at <em>$0.00</em> each
Update: http://ns1.allstar-printing.com/~david/d5/admin/store/transaction/edit/1
=====
(These orders will no longer be listed once the transaction workflow is set to either 'Completed' or 'Canceled')
Monthly Summary
Number of completed orders: <em>0</em>
Sales: <em>$0.00</em>
Want more reports? Visit <em>http://ns1.allstar-printing.com/~david/d5</em>/admin/storeAnd finally, for now anyway. Is there a way to suppress or create a product that has no price attached to it. This ordering system will be for end users who don't need to know about the costs of their items. After we receive the order we will generate a quote to send to the appropriate people at said company.
Comments
Is fck or timymce mashing the emails?
Do you have tinymce or fckedit on the forms. They convert the input to html unless you disable for that form/page.
Drew
May need this patch
I was looking into why I get no notification emails from ecommerce with PayPal and flexicharge, and I stumbled into this thread…
http://drupal.org/node/165756
Maybe you need this patch too. I only wish ecommerce would send any darned notification emails.
Drew
I don't have either of those
I don't have either of those on my site; however, that patch took care of my problem.
As for you not getting any e-mails, do you have cron set to run? The reports are only generated during a cron job.
Now I need the other two problems worked out, and they're the more important ones in my opinion.
Thanks,
David
Just out of interest…
What version of EC do you have installed? As far as I can tell the current release of EC 5.x-3-4 should already have that patch applied.
I'm convinced I installed that release, but parts of the code were from an earlier version of the store module, replacing the store.module with a clean download fixed the lack of emails.
It's really weird, the code was marked as
$Id: store.module,v 1.125.2.23.2.17.2.70 2007/10/16 03:30:31 sammys Exp $but the code was not the same as the cvs version.
I can only assume I have patched it back to a buggy version, but I have no recollection of doing so.
The update status.module keeps suggesting I upgrade to 5.x.3-4 too even though I am already using it. Very worrying.
I have cron set-up and the mails now go on cron run, do you get a mail for every cron run until the transaction is set to 'completed or canceled?'
Drew
For some reason I thought I
For some reason I thought I had grabbed the latest version but I had 3.3. I just updated to 3.4 and the patch is indeed there.
Another problem I just noticed is that all my transactions are marked as payment status 'completed' right out of the gate, is that a function of having the price set to $0.00? Guess that would go hand in hand with one of my original questions up top.
Thanks,
David
Not sure ECommerce will like
Not sure ECommerce will like not having a payment gateway enabled. I use PayPal. When the item is purchased it sends a request back to the server before the payment completes. The transaction is pending until paypal send the IPN then it completes, the status becomes 'received' until its cancelled or completed by the admin.
Maybe you need to clone a gateway and strip out most code so it doesn't go off to the provider, but sets the notifications correcty. Not sure how wise this is. You really need some kind of quotation module, but there only seems to be old attempts at it for Drupal 4.x.
I guess you could set the items to be $0.01 and use a hacked gateway module.
Another way may be to ditch Ecommerce and create a content type called 'Request quote'. Add whatever fields the customer needs. Allow the editing of this content type for registered users (I presume the purchasers are registered users on the site).
I think the actions module could be used to send a notification email to the site admin on 'Request quote' creation.
You would need to make the viewing of 'Request quotes' hidden from other users except the admin and the particular user who created it.
I guess the options for the items could be Taxonomy terms or cck fields instead of actual 'products'.
PS
Do you have the Update_status module installed? I'm interested to know if I'm the only one it is telling to update to EC 5-x.3.4 (that is what is installed!)
Drew
I have the COD payment mod
I have the COD payment mod enabled. It was because all my products were priced at zero.
Sorry, I don't have the update mod installed.
I still need help with my original questions if any of the maintainers are looking.
Thanks,
David