Hello all,
Please bear with me as I am relatively new to Drupal. I've done a Drupal website before but now I have a new project that I need some help with.
I'm making a website for a charity where people will place orders for things and then once a determined threshold amount of an item has been ordered then a massive order will be placed and everyone will come to the charity to pick up their individual orders. So for each product and description I am going to also need something, preferably something visual like a progress bar, that shows how much of that particular item has been ordered thus far and how much more has to be ordered for the shipment to be placed.
I know this is rather specific but any direction to what modules may be helpful would be very much appreciated. Thank you all very much for your help!
Comments
Modules
I think you will want Ubercart or Commerce for a shopping cart. Ubercart is easier to deploy. But Commerce can handle a more complicated product/inventory structure. You might need to explain what you are selling/ordering for a better suggestion.
You can probably add an integer fields to the product type for your goal and progress. And use the Rules module (required by both carts) to calculate the goal value. You can use JavaScript and CSS to create your progress bar based on the goal percentage.
Thanks!
I'm going to be selling simple items that a charity may need such as blankets, rice, etc. I decided to download and try Ubercart.
Thanks for that tip and it seems like it would work. One of my other friends told me about using Rules and I think I could figure out the small bit of CSS to make the progress bar move. I'm going to do some volunteer work now but I'm going to get working on this tonight.
So you think I'm going to need CSS just for the progress bar? Thanks so much for your help!
Rules and CSS
For Rules, I would suggest looking at the tutorial at http://nodeone.se/en/learn-the-rules-framework
If you search "CSS progress bar" you will find several sites like:
http://css-tricks.com/css3-progress-bars/
http://stackoverflow.com/questions/7190898/html-css-progressbar
You might need to use JavaScript to set the value of the progress page.
Adding the Integer field to the Product Type
I decided to go with Ubercart for my website, abcdonationcenter.org (feel free to check it out =]) , but I'm having trouble adding the integer field to the product type. How would I go about doing this?
Thank you very much for all your help! I really do appreciate it.
Fields
You can find documentation adding fields at http://drupal.org/documentation/modules/field-ui. Basically you can modify the existing Product content type and add a new field under "Manage Fields" tab.