I've got beta things to do...

Posts: 3229
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

This thread will serve as a running to-do list of things that must or should happen during the beta phase of Ubercart 1.0. It is flexible, but we aren't going to overdue it with new features. We're continuing to press ahead to 1.0 as fast as possible and are pleased with the pace and development going on in the beta phase so far. Many thanks to those reporting and helping fix bugs!

This list originated in the beta 1 release thread, but I've left off the items that were already completed in the beta 2 release. Feel free to discuss items on this list or necessary additions in this thread.

Things to keep an eye on: (not necessarily bugs, but might be)

  • Installation process
  • Shipping quotes
  • Workflow-ng conditions and default configurations
  • Anonymous checkout and user account creation
  • PostgreSQL support
  • Make sure reports are being generated correctly

Known bugs to iron out:

Features still in the works:

Items in need of some contributed love: (best served up as modules or patches for review as we can't seem to find the time to get to these)

As stated before, the Drupal.org issue tracker for Ubercart is open to bug reports, but we will not address feature or support requests there. It is not necessary to use the tracker there, it's just another option that we may take advantage of more internally to nail down any remaining issues prior to the 1.0 release.

Posts: 86
Joined: 11/10/2007
Bug Finder

It would be cool to have the option to turn the javascript off for shipping and payment in checkout "scrolling bar". It looks great, but sometimes it hangs and could lead to missed sales.

Posts: 59
Joined: 11/27/2007

Does bazaar rev 748 = beta 2?

Posts: 3229
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

seedseller wrote:
Does bazaar rev 748 = beta 2?

Yep. Smiling

Posts: 54
Joined: 08/17/2007

Is adding a section to add tracking numbers to completed orders in the todo list anywhere?

Posts: 1608
Joined: 08/07/2007
AdministratoreLiTe!

Tracking numbers can already be put on completed orders, but you have to go through the process of packaging up the products and describing the shipment to Übercart. The "Ship manually" method lets you fill in all the information about the shipment like carrier, cost, tracking numbers, and package size. The tracking numbers appear on the order page in their own pane.

If that's more complicated than you really need, you can just put the tracking numbers in the order comments.

Posts: 542
Joined: 11/05/2007
Bug FinderFAQ ModeratorGetting busy with the Ubercode.

I've got a module I wrote that will display tracking information obtained in real-time from USPS, FedEx, or UPS. I plan on posting this as a contribution soon.

--

<tr>.

Posts: 234
Joined: 11/19/2007
Bug FinderGetting busy with the Ubercode.

I've started working on a Free Product module, but I'm hitting a snag that I don't know how to get past. If I setup Flat Rate shipping, $1.00 per product and I add 2 paid products and 1 free product to my cart....I don't see how I can avoid hacking core Ubercart and manage to get a Flat Rate shipping quote that does not count the free product when creating the quote.

If there is no way to handle that, then the Free Product module would need to restrict the cart to containing all free products or all priced products before proceeding to checkout...and I'm not sure how useful that would be. This is assuming that a reference to a "free" product means that there should be no shipping or tax charged, and also that there should be no payment information required when a customer wants only to purchase a free product.

Also note, this is different than a $0 checkout module. That module would ideally allow for someone to make a $10.00 purchase with $1.00 tax, $4.00 shipping, and a $15.00 gift certificate and then not have to enter any payment information because the order total would be $0.00. That is a different issue, but would work in compliment to the Free Product module.

Any ideas?

Posts: 542
Joined: 11/05/2007
Bug FinderFAQ ModeratorGetting busy with the Ubercode.

Can't you just edit the Free Product and set the Flatrate per-product rate to $0? The store default applies to all products except when you have overridden it like this in the product edit menu.

Maybe I don't understand what you're asking?

--

<tr>.

Posts: 796
Joined: 08/14/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.

My suggestion is to use uc_cart_get_contents and check the price... might be a better way to specify it as a free product (taxonomy? CCK? or is price field the best option?)..

If it's flat rate, couldn't you then count the number of free products in the cart, and subtract from your dollar amount accordingly? Best option is to probably not count it at all, of course, but I'm not quite sure how to accomplish that.. There would need to be a new hook for "post shipping cost calculation" or "during shipping cost calculation" to consider the freebie as not existing in the order. Unless it's the only product in the order; in that case consider the cart as a "Zero Total" payment (found in uc_gift_certificate and uc_discount).

EDIT: I didn't know you could set flat rate amount per-product, makes sense I guess. (I don't use that method at the moment ...)

--

"Pain don't hurt." - Dalton

Mike Nelson's RiffTrax! www.rifftrax.com

Posts: 234
Joined: 11/19/2007
Bug FinderGetting busy with the Ubercode.

Thanks for the replies TR and Torgos. I actually never noticed that the default flat rate was...only a default flat rate, and that it could be edited per product.

The flat rate example was just a simple example, though, to demonstrate my inability to hook into the shipping quotes and change the items that it was basing the quotes on, but I'd also need this to work with any of the other shipping modules enabled. I don't know how all of the existing shipping quote modules work, but I don't think just setting 0 weight and dimensions would do the trick. I don't think I'll be able to do a (total shipping quote) - (free products shipping quote) type of thing either.

Torgos, on Ryan's suggestion I started this out using the Product Feature API which would allow you to add "Free Product" as a feature and then dictate the cart behavior based on that. It works nicely, but I'm stuck at this shipping quote snag now.

Posts: 796
Joined: 08/14/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.

Yeah seems to me it would have to be a conditional or Workflow config, if there is 0.00 price or "Free" product feature on a product, ignore it. If after the Free products are ignored, the price is zero, process the order as a Zero Total; otherwise, calculate shipping and taxes for the remaining items.

--

"Pain don't hurt." - Dalton

Mike Nelson's RiffTrax! www.rifftrax.com

Posts: 234
Joined: 11/19/2007
Bug FinderGetting busy with the Ubercode.

My tentative plan, which I've not gotten very far through, was this:

1. Add a product feature "Free Product"
1a. Add conditions for this to be a free product (another product is in cart, order total is over a certain amount, B1G1)
2. In the cart, display product as normal but if conditions are met, set price to $0
3. In checkout, if only free products are in the cart, streamline the checkout
4. In checkout, if priced and free products exist, free products will have a price of $0 and won't affect shipping or taxes, but checkout will proceed as normal otherwise.

I think I can do everything except #4. I'll have to take a look at how discount and gift certificate mods do $0.00 total order processing too and probably tie some of that in with #3.

Posts: 234
Joined: 11/19/2007
Bug FinderGetting busy with the Ubercode.

Would there be value in hook_quote_order() and hook_tax_order() being added? I think there could be subsequent use for those hooks and I believe it is what I need for the work I'm doing.

Posts: 6
Joined: 11/25/2007

I have just upgraded from ubercart alpha 8 to the betas.

After I run database update, I got a few errors.

If I upgrade directly from alpha 8 to beta 2, I got 3 item FAILED.
(attached as Drupal database update.pdf)

uc_flatrate module
Update #2
ALTER TABLE {uc_flatrate_products} CHANGE rate rate
decimal(10,2) NOT NULL default 0.00
ALTER TABLE {uc_flatrate_products} ADD COLUMN mid
mediumint(9) unsigned NOT NULL default 0 AFTER nid
CREATE TABLE {uc_flatrate_methods} ( `mid` mediumint(9)
unsigned NOT NULL default 0, `title` varchar(255) NOT NULL
default '', `label` varchar(255) NOT NULL default '', `base_rate`
decimal(10,2) NOT NULL default 0.00, `product_rate` decimal(10,2)
NOT NULL default 0.00, PRIMARY KEY (`mid`) ) /*!40100
DEFAULT CHARACTER SET UTF8 */ ;
Failed: INSERT INTO {uc_flatrate_methods} (mid, title, label,
base_rate, product_rate) VALUES (1, 'Flat rate per product', 'Shipping
rate', 0, )
UPDATE {uc_flatrate_products} SET mid = 1
Failed: UPDATE {workflow_ng_cfgs} SET name = '', data = 'N;'
WHERE name = 'uc_flatrate_get_quote'
INSERT INTO {uc_flatrate_methods} (mid, title, label, base_rate)
VALUES (2, 'Flat rate per order', 'Shipping rate', 5)
Failed: UPDATE {workflow_ng_cfgs} SET name = '', data = 'N;'
WHERE name = 'uc_flatrate_get_quote_by_order'

If I revert back to original database and upgrade to beta 1, I have one item FAILED. (no failure in uc_flatrate update #3 if I continue to upgrade to Beta 2.)
(attached as beta 1 update.pdf)

uc_flatrate module
Update #2
ALTER TABLE {uc_flatrate_products} CHANGE rate rate
decimal(10,2) NOT NULL default 0.00
ALTER TABLE {uc_flatrate_products} ADD COLUMN mid
mediumint(9) unsigned NOT NULL default 0 AFTER nid
CREATE TABLE {uc_flatrate_methods} ( `mid` mediumint(9)
unsigned NOT NULL default 0, `title` varchar(255) NOT NULL
default '', `label` varchar(255) NOT NULL default '', `base_rate`
decimal(10,2) NOT NULL default 0.00, `product_rate` decimal(10,2)
NOT NULL default 0.00, PRIMARY KEY (`mid`) ) /*!40100
DEFAULT CHARACTER SET UTF8 */ ;
Failed: INSERT INTO {uc_flatrate_methods} (mid, title, label,
base_rate, product_rate) VALUES (1, 'Flat rate per product', 'Shipping
rate', 0, )
UPDATE {uc_flatrate_products} SET mid = 1
INSERT INTO {uc_flatrate_methods} (mid, title, label, base_rate)
VALUES (2, 'Flat rate per order', 'Shipping rate', 5)

Anyone would like to tell me whether I should do something about it? or I can continue to use beta 2 ubercart as if it is running perfectly?

(I am going to test the beta 2 now and would post more if found more errors...)

Thanks
Eric

AttachmentSize
beta 1 update.pdf9.86 KB
Drupal database update.pdf8.97 KB
Posts: 6
Joined: 11/25/2007

I still have some errors using the uc_file on beta 2(I have reported the same problem previously when I upgraded to alpha8 as well........)

On the page...http://....../admin/store/products/files

There is this error.
user warning: Unknown column 'fp.fid' in 'on clause' query: SELECT n.nid, f.filename, n.title, fp.model, f.fid, pf.pfid FROM uc_files as f LEFT JOIN uc_file_products as fp ON (f.fid = fp.fid) LEFT JOIN uc_product_features as pf ON (fp.pfid = pf.pfid) LEFT JOIN node as n ON (pf.nid = n.nid) ORDER BY f.filename ASC LIMIT 0, 50 in /home2/portabl/public_html/includes/database.mysql.inc on line 172.

On the check out page.......
I have this error..
user warning: Unknown column 'shippable' in 'field list' query: SELECT shippable, model FROM uc_file_products as fp INNER JOIN uc_product_features as pf ON pf.pfid = fp.pfid WHERE nid = 162 in /home2/portabl/public_html/includes/database.mysql.inc on line 172.

The only workaround I have is by using the good old uc_file_product 1.7.4

However, I would still like to get this sorted and use the new uc_file module instead. I have tried to run the uc_file update #1 again and even tried to manually made the required database update. However, I still see the same error.

Does anyone know how do I fix this problem?

Puzzled...
Eric

Posts: 796
Joined: 08/14/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.

Generally, anytime you see "unknown field" in an SQL error, it means that table doesn't exist, or a new field that was supposed to get created, wasn't, and that's a fault of the Update or Install function in the .install file.

The reason your workaround "works" is because both the uc_file_products Contrib, and the core uc_file module, both use a table called uc_file_products. This was mentioned by Shawn when the core module was first introduced. It seems like you need to not just disable modules (such as the File Products contrib) but uninstall them altogether. Uncheck them from your admin/build/modules menu, and then click the Uninstall tab, and click Uninstall. You might even consider deleting the files off your server, in case they are still getting called for some wonky reason.

If that doesn't work, get into phpMyAdmin and remove the uc_file_products table manually, and reinstall the core module.

--

"Pain don't hurt." - Dalton

Mike Nelson's RiffTrax! www.rifftrax.com

Posts: 6
Joined: 11/25/2007

To: torgosPizza,

Thanks for the suggestion, I have fixed the problem by uninstalling both uc_file and uc_file_products. (I didn't know there is an uninstall function to use.....)

To: Ubercart team,

Great work, keep it up. I have noticed that some bugs such as the flat rate shipping are fixed now.

My ubercart beta 2 seems to be working perfectly despite the database upgrade failure posted above. Could the 2 database upgrade line be written incorrectly? and both "update" are non-necessary?

Suggestion:
I think uc_bankdeposit should be incorporated into ubercart core as well, it is very useful.

I think it is a good idea to have a date printed on the e-mail invoices, pdf invoices, etc
....../store/orders/63/invoice

Thanks
Eric

Posts: 14
Joined: 08/29/2007

Hey Ryan, Lyle, Shawn, and Andy (the Uberdudes and Uberadmins),

I'd be interested to get your take on cYu's concept for the "Free Product" module as described in the thread above (and quoted below). I think this type of module is important... certainly free products are major part of marketing efforts on many of my own sites.

More specifically, does cYu's suggestion of hook_quote_order() and hook_tax_order() seem like a good approach?

Thanks,
Ben

cYu wrote:
My tentative plan, which I've not gotten very far through, was this:

1. Add a product feature "Free Product"
1a. Add conditions for this to be a free product (another product is in cart, order total is over a certain amount, B1G1)
2. In the cart, display product as normal but if conditions are met, set price to $0
3. In checkout, if only free products are in the cart, streamline the checkout
4. In checkout, if priced and free products exist, free products will have a price of $0 and won't affect shipping or taxes, but checkout will proceed as normal otherwise.

I think I can do everything except #4. I'll have to take a look at how discount and gift certificate mods do $0.00 total order processing too and probably tie some of that in with #3.

Posts: 10
Joined: 11/27/2007

Hi, everyone.

I have an issue with imagecache and beta2. Imagecache doesn't create "products" folder (just "category" and "thumbnails" folders).

product page doesn't show image, product listing either.

Tried to reinstall imagecache and ubercart - no difference.

Do you guys have any idea what could be wrong and where to look for any info (as search doesn't bring anything really usefull)?

Txs.

Posts: 256
Joined: 08/28/2007
Early adopter... addicted to alphas.Not Kulvik

We've just been asked about dependent attributes and would like to get an outline together of what is required to code this module. If anyone knows conceptually how this could be achieved please let me know and I'll try and create the module.

Posts: 234
Joined: 11/19/2007
Bug FinderGetting busy with the Ubercode.

Ben wrote:

More specifically, does cYu's suggestion of hook_quote_order() and hook_tax_order() seem like a good approach?

Seems silly to quote somebody quoting me...but anyhow I was hoping for some feedback from the Uberfolks. If these hooks or some form of them would be logical to add then I'd be glad to take a stab at implementing them. I didn't want to go down that route without someone first letting me know if these would be practical and useful. Without something like that though, I don't see any decent way for me to proceed with a product feature contrib for free products.

Posts: 8
Joined: 11/08/2007

Hi Ryan,
I have got an alpha8 production site, with these modules: inventory/simple stock (with options and adjustments) + Terms. Using flatrate shipment is enough for now.

It roughly run correctly (no stock alert to client, shipment fine...) but we have to modify the stock everytime a product is sold !!! Sad

Beta2 looks great: I migrated on a test server. Everything is cool (reports, stock management...) except Ajax behavior was lost in the migration! Sad

What could I say?... HELP!

Any idea?

Alexandre

Posts: 3229
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Can you be a little more specific about what Ajax behavior you lost? Are you saying nothing works any more, like the payment method details, shipping quotes, etc.?

Posts: 8
Joined: 11/08/2007

Yep! Sad

Site master : http://monsieur-gimblette.net
Site test : http://v2.monsieur-gimblette.net (no paypal: safer...)

[we go mad because we start to have good buzz]

Posts: 3229
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Well, I saw some JS in there that needs updating, but the real problem is that your webserver is configured so that browsers can't access module JS file. Error looks like this:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /sites/all/modules/ubercart/shipping/uc_quote/uc_quote.js
on this server.</p>
<hr>
<address>Apache/2.0.58 (Unix) mod_ssl/2.0.58 OpenSSL/0.9.7i Server at v2.monsieur-gimblette.net Port 80</address>
</body></html>
Posts: 8
Joined: 11/08/2007

Cool, it a webserver trouble!
OK: what is the pb exactly? A chmod issue?

Posts: 3229
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

No clue what the problem would be. I'd look to .htaccess also.

Posts: 8
Joined: 11/08/2007

Was a stupid chmod issues Sad

OK: everything looks good... except stock is not verified Sad
Did I missed an option to toggle?

Thanks for your clues

ADD:
The rest of my interrogation go here: http://www.ubercart.org/forum/general_discussion/2513/uc_stock
I thought uc_tock was taking care of both...
Thank you for your time Ryan

Alexandre

Posts: 3
Joined: 12/26/2007

cYu wrote:
Ben wrote:

More specifically, does cYu's suggestion of hook_quote_order() and hook_tax_order() seem like a good approach?

Seems silly to quote somebody quoting me...but anyhow I was hoping for some feedback from the Uberfolks. If these hooks or some form of them would be logical to add then I'd be glad to take a stab at implementing them. I didn't want to go down that route without someone first letting me know if these would be practical and useful. Without something like that though, I don't see any decent way for me to proceed with a product feature contrib for free products.

Proper support for $0.00 product(s) is a concern of mine as well. cYu's logic sounds like an attractive path.

Posts: 21
Joined: 09/26/2007

hallo,
i've a little problem on ubercart.it.
i've upgraded to beta3 and when i delete a node i see this message:

"user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LEFT JOIN uc_product_adjustments AS pa ON sl.model = pa.model W' at line 2 query: DELETE FROM uc_stocklevels AS sl LEFT JOIN uc_product_adjustments AS pa ON sl.model = pa.model WHERE pa.nid = 43 in /home/mhd-01/www.ubercart.it/htdocs/includes/database.mysql.inc on line 172."

Posts: 3229
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Unfortunately, the uc_stocklevels module is not a core module, and I don't believe the original author is planning any further support of it. My recommendation would be to disable that for now while an alternative is being developed.

Posts: 59
Joined: 11/27/2007

I have had similar problems and would tend to agree with Ryan. In my testing, the error message does not seem to interfere with anything else. The site keeps on going. Otherwise the module works well with beta4.

Posts: 542
Joined: 11/05/2007
Bug FinderFAQ ModeratorGetting busy with the Ubercode.

The error doesn't hurt anything, and Inventory should still work properly except for the error message. The message shows up as a side effect of fixing this bug:
http://www.ubercart.org/issue/2610/hook_nodeapi_ubercart_modules

To make it go away, wrap the entire body of uc_stocklevels_nodeapi() in the following:

<?php
 
if (in_array($node->type, array_keys(uc_product_node_info()))){
   
// put body of function here
 
}
?>

Inventory API is not currently being maintained, but I am in the process of rewriting it and I will re-release it (and maintain the new release!) sometime in the near future. I made this fix a few weeks ago at the same time I reported the above bug.

--

<tr>.

Posts: 21
Joined: 09/26/2007

thanks!