Alpha 7c and the Checkout API

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

This is an announcement to all you developers and Bazaar users out there. I hope to release Alpha 7c very soon. Lyle has done a ton of work on bugs in shipping modules and APIs along with a slew of other feature additions and user interface tweaks. I've also been busy hacking away, but my time has been (unfortunately) divided with sales and preparing for Barcelona (not so unfortunate Eye-wink ).

Expect it in the next few days, and please let me know if you can help out. I will need testers to do clean Alpha 7c installs and Alpha 7b updates to Alpha 7c. I can let you know a time tomorrow... there's a reason I'm making this announcement in advance:

I have been re-tooling the checkout API the last couple of days, because it's been in need of a facelift ever since I coded it. I had a lot of fun this afternoon making some changes to the API that further integrates it with the forms API (using the #theme key in my fieldsets) and makes it easier for developers. I haven't been happy with parts of that code for some time, and they have been scrapped in some places and made more efficient in others. I think I've dropped about 5 kb worth of code so far and will lose more as I can. Eye-wink

The reason for the announcement is that several modules depend on the current version of the checkout API. It is relatively simple to update modules to the new code, since you're really just having to change the return values from the pane callbacks. Mostly you're just removing weird old code. Sticking out tongue

I'm going to start committing changes to the Bazaar repository tomorrow, so you will want to stop updating with that version if you're depending on modules (like coupon, discounts, quote, etc.) that define checkout panes.

Thanks for reading, and hopefully we'll get the code to the masses shortly!

Posts: 86
Joined: 08/07/2007
Bug FinderGetting busy with the Ubercode.

I will be happy to do some testing. I will also make the appropriate changes to the discount module.

Posts: 2
Joined: 09/03/2007

I'll also do testing.

Thanks for all of your hard work!

Posts: 62
Joined: 08/31/2007
Bug Finder

I am eagerly awaiting the next release.
I can test in my site.

Posts: 467
Joined: 08/13/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Internationalizationizer

I was begining my work about adding the TVA number in checkout ? May I have to wait the next release because a lot of things will change or can I continue ?

Posts: 81
Joined: 08/31/2007
Bug FinderInternationalizationizerNot KulvikThe other woman.

count me in for testing. Smiling

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

@zmove: I'd say go ahead and do it. The main thing changing with the checkout pane API is the sort of data needing to be returned and how the forms are themed/displayed. It's all part of my efforts to give us valid XHTML/CSS and more logical code. I'll post some docs on the new API this afternoon (hopefully) and help you change the VAT module's pane if you need me.

Posts: 34
Joined: 08/19/2007

im up for testing

Posts: 467
Joined: 08/13/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Internationalizationizer

@ryan : I'm actually theming my catalog display to change my mind. Eye-wink

Be sure you will have news from the VAT number addition before the end of the week.

Posts: 49
Joined: 08/17/2007
Getting busy with the Ubercode.Spreading the word - Ubercart for president.

I can do testing as well.

Posts: 156
Joined: 08/07/2007
Uber DonorBug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Not Kulvik

Testing, Schmesting! I'll just throw her right into production! *just kidding*

My designer has been demanding big look and feel changes in the checkout for a while and I've been stalling in anticipation more FormsAPI control so I am dying to play with 7c.

Can you and Lyle elaborate a bit about what to expect out of shipping quotes however. That part is more than a little scarey to me.

Steve

Posts: 5
Joined: 08/22/2007

I'll also do testing: alpha7b -> alpha7c

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

Ok, got a lot of great feedback from people offering testing. You can pick to test either an update from a previous version or a clean install of Alpha 7c. I think some people specified one or the other, so we should have all our bases covered.

I am attaching the proposed Alpha 7c to this post. As I mentioned, a change that breaks backward compatibility for checkout panes has been introduced (wiping out finally about 10kb of code!). This means you shouldn't use this code on live sites using the coupon or discounts module (or any others with custom checkout panes) until those modules get updated. Developers can view the notes in this thread to update their panes and check the examples in uc_cart_checkout_pane.inc. I really think it's about a 5 minute fix per module.

What I'm interested in are any bugs in the normal installation. If anyone has the time, I'd love to know where our installation instructions are out of date due to recent changes. And as always, any ideas for simplifying things are most welcome!

Please report any glaring usability bugs, too. (I already know of one when trying to apply a shipping quote to an order from the order admin screen.)

For those testing updates from prior versions, please be aware: the file structure has changed. Due to the growing number of modules for payment and shipping modules, I have created subdirectories in the ubercart directory to hold modules related to both systems. I have also included an empty directory called contrib that will have a readme file in it pointing people to our contributions directory for contributed modules. The file structure changes shouldn't be a problem... you should just install it, then remove the duplicate directories in the payment and shipping subdirectories from the root directory.

I'd love to get this out early tomorrow, so I'll review this thread first thing in the morning (and probably from home tonight Eye-wink ).

One step closer to Alpha 8... and one step closer to Beta. Cool

AttachmentSize
ubercart-5--1-0-alpha-7c.tar.gz392.03 KB
Posts: 34
Joined: 08/19/2007

on an upgrade from 7b
additional mods: catalog grid
okay a few things
1) when using the catalog grid module these errors appear
* warning: Illegal offset type in isset or empty in /var/www/sandbox_bj/html/modules/taxonomy/taxonomy.module on line 1150.
* warning: Illegal offset type in /var/www/sandbox_bj/html/modules/taxonomy/taxonomy.module on line 1151.
* warning: Illegal offset type in /var/www/sandbox_bj/html/modules/taxonomy/taxonomy.module on line 1154.
* warning: Illegal offset type in isset or empty in /var/www/sandbox_bj/html/modules/taxonomy/taxonomy.module on line 1150.
* warning: Illegal offset type in /var/www/sandbox_bj/html/modules/taxonomy/taxonomy.module on line 1151.
* warning: Illegal offset type in /var/www/sandbox_bj/html/modules/taxonomy/taxonomy.module on line 1154.

2) taxonomy has changed instead of catalog/beads_and_pendants/swarovski
now the functioning url is catalog/234/swarovski
therefore the nav does not work but i can browse into the cat using the middle pane choices...

3) when i add a prod to cart, then view cart, then checkout i get this error

Fatal error: Call to undefined function uc_cart_checkout_new_pane() in /var/www/sandbox_bj/html/modules/ubercart/uc_quote/uc_quote.module on line 721

4) i will see about some more testing when i get back later this eve...

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

Regarding error 3, it looks like it's still getting ahold of the old uc_quote.module. Alpha 7c should have created a shipping directory with a uc_quote subdirectory. That will contain the updated version. You should then delete the old uc_quote directory. And just for good luck, you should probably go to the modules list page and submit the form with no changes so Drupal saves the new file locations. Will look into the others in the morning.

Posts: 34
Joined: 08/19/2007

Okay that worked I manually deleted uc_quote uc_shipping uc_pricing
and now i can take a cart thru the checkout process.
thx

Posts: 34
Joined: 08/19/2007

When catalog grid is turned off the errors in #1 go away
however the catalog path is still messed up when i click a nav item to jump to a sub product list i.e.
catalog/beads_and_pendants/swarovski
It instead displays the first catalog page of categories in the middle pane. (the dispaly i would expect from /catalog/ )
so the taxonomy paths are a bit messed... I just looked to confirm
instead of catalog/beads_and_pendants/swarovski
now the functioning url is catalog/234/swarovski
and it turns out the swarovski taxonomy url is /term/234
so that should lead to some conclusions to fix #2
with number 1) maybe the catalog grid is dependant on #2 or maybe the module needs updating?

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

If by nav item you're talking about menu links that you put in yourself, I'm sorry I broke them. I'm afraid you'll have to update them to the new catalog URLs. Before, there were some things you could do with taxonomy that would break the catalog URLs, like multiple parents or having similar names on different terms. Now the paths are concise and unique across the board. And anything that referred to those old paths are out of date.

Posts: 104
Joined: 09/07/2007
Uber Donor

Got this on an upgrade from 7b after running update.php:

    * user warning: Duplicate column name 'cost' query: ALTER TABLE uc_attribute_options ADD COLUMN cost decimal(10,2) NOT NULL AFTER name in /home/sassy/public_html/shop/includes/database.mysql.inc on line 172.
    * user warning: Duplicate column name 'cost' query: ALTER TABLE uc_class_attribute_options ADD COLUMN cost decimal(10,2) NOT NULL AFTER oid in /home/sassy/public_html/shop/includes/database.mysql.inc on line 172.
    * user warning: Duplicate column name 'cost' query: ALTER TABLE uc_product_options ADD COLUMN cost decimal(10,2) NOT NULL AFTER oid in /home/sassy/public_html/shop/includes/database.mysql.inc on line 172.
    * user warning: Duplicate column name 'default_qty' query: ALTER TABLE uc_products ADD COLUMN default_qty smallint(5) unsigned NOT NULL default '1' AFTER units in /home/sassy/public_html/shop/includes/database.mysql.inc on line 172.
    * user warning: Duplicate column name 'ordering' query: ALTER TABLE uc_product_kits ADD COLUMN ordering smallint NOT NULL default 0 in /home/sassy/public_html/shop/includes/database.mysql.inc on line 172.
    * user warning: Unknown column 'cumulative' in 'where clause' query: SELECT id, taxed_line_items FROM uc_taxes WHERE cumulative != 0 in /home/sassy/public_html/shop/includes/database.mysql.inc on line 172.
    * user warning: Can't DROP 'cumulative'; check that column/key exists query: ALTER TABLE uc_taxes DROP cumulative in /home/sassy/public_html/shop/includes/database.mysql.inc on line 172.
    * user warning: Duplicate column name 'taxed_product_types' query: ALTER TABLE uc_taxes ADD COLUMN taxed_product_types text NOT NULL AFTER rate in /home/sassy/public_html/shop/includes/database.mysql.inc on line 172.

Posts: 156
Joined: 08/07/2007
Uber DonorBug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Not Kulvik

I ran into a n00b error that other idiots like me should be aware of. Because of the changes in the shipping file structure, an update from bazaar causes duplicate shipping modules to appear in admin->site conf->modules page. by renaming my ubercate directory to ubercartOLD, however and pulling a fresh copy of everything from my bazaar directory into my production directory, everything (except UPS) seems to be working fine.

I am working the UPS production issue in another thread.

So, to reiterate for the other ADD afflicted n00bs like me:
1. get freshes bazaar == "bzr update"
2. rename current ubercart folder =LIKE= mv modules/ubercart modules/ubercartOLD
3. copy bzr/ubercart -> production
4. run update.php in the drupal admin->site conf->modules page

I will be trying a fresh install of 7c tonight I think.

Posts: 104
Joined: 09/07/2007
Uber Donor

Okay, I'm debugged now on my install and have my first feedback - and it's in regard to the Checkout:

The Order Total Preview seems to be broken on my install. It shows the shipping price but not the product subtotal. It's passing both fine on when you review the whole order, but not on the checkout page.

Posts: 110
Joined: 08/08/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Not Kulvik

See the screenshot.

Was that intended?

http://www.vingowine.com

AttachmentSize
Screenshot-4.png114.05 KB
Posts: 4117
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

jimi, I know of some other issues related to the order total preview section. I'm planning on correcting them for Alpha 8 (maybe not this 7c release), but this one is unexpected. Can you look in the source for that page for the following:

set_line_item('subtotal'

It should be a bit of Javascript to add the subtotal to the order total preview.

I don't know why that wouldn't be getting added. It's working fine on my test site. Sad Is this a regular thing, or only every once in a while?

(Or if you have Firebug, does anything of interest show up in the logs?)

Posts: 60
Joined: 09/07/2007
Bug Finder

I'm having the same problem (incorrect order preview) with the revision 350 bzr checkout:

Order total preview:
UPS Ground Rate: $8.81
State Sales Tax: $14.00
Order total: $22.81

Shipping and sales tax show up fine, but there's no order subtotal. I don't see any set_line_item('subtotal' on the page source - only set_line_item("shipping", label, rate, 1);

I'm also having a problem using Views with Ubercart products now too. The price column is showing up as $0.00 for every product. Seem like it could be related...though I'm not sure how...

Hope that helps! Let me know if I can provide more useful info for debugging...

Thanks,
Xerxes

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

@xerbutter: regarding the Views, we have added a handler function so prices get formatted properly. Can you try going to the edit form for your View and resaving it to see if that solves the issue? (It's working at this test site - and here.)

Also, for everyone with the subtotal bug... it seems to be some odd sort of update bug. I haven't encountered it yet on an install from scratch and one update from 7b. Can you provide details about the modules and checkout panes you have enabled and maybe give me a link to your test sites so I can go see what's going on?

Never mind! I found it and will be fixing it. To confirm, if you had the subtotal bug, please go to your checkout pane settings form and simply save it. No need to change anything. Then go back and tell me what you see at checkout. Smiling

Posts: 104
Joined: 09/07/2007
Uber Donor

That did it - thanks Ryan!

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

Ok... I don't know of any major outstanding bugs, but I'll let it lie overnight (as much as I hate to wait one more day Sticking out tongue) and then release Alpha 7c in the morning. After that it's time to start working on Drupalcon sessions. Evil

Thanks for everyone's help so far, and please submit any other bug reports you find on a clean install or on an update.

Posts: 22
Joined: 08/17/2007
Bug FinderGetting busy with the Ubercode.

hi ryan,

i've just setup a clean ubercart alpha7b install (at http://ubercart.anarres.ca), and successfully upgraded it to your attached alpha7c release candidate, and had no troubles whatsoever.

i also reviewed the install/upgrade docs, and everything seems to be fairly accurate. one thing i couldn't find that i'm pretty sure was on the site pre-crash, is a doc describing the key blocks to setup, and how to configure them initially (ie. so the cart/catalog blocks don't show up on admin pages, etc).

anyway, i'm also working on a soon-to-be-launched (sandbox copy of a) production site upgrade, and my initial impression is that all's well. unfortunately i'm running outta steam for tonight, so i'm going to drop it and wait for the official alpha7c release in the morning.

the interesting part of the live site upgrade is that we're using a slightly modified version of the contributed ratequote shipping module, which implements the checkout_pane hook. i'll post a fresh tarball to that page when i get it working for alpha7c tomorrow Smiling

Posts: 467
Joined: 08/13/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Internationalizationizer

    * warning: Illegal offset type in isset or empty in \Sites\drupal\modules\taxonomy\taxonomy.module on line 1150.
    * warning: Illegal offset type in \modules\taxonomy\taxonomy.module on line 1151.
    * warning: Illegal offset type in \modules\taxonomy\taxonomy.module on line 1154.
    * warning: Illegal offset type in isset or empty in \modules\taxonomy\taxonomy.module on line 1150.
    * warning: Illegal offset type in \modules\taxonomy\taxonomy.module on line 1151.
    * warning: Illegal offset type in \modules\taxonomy\taxonomy.module on line 1154.

Exactly have the same problem that jimi089 with the catalog grid module. I think it need an update Smiling

Posts: 467
Joined: 08/13/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Internationalizationizer

I add that on the checkout page I have the following error :

Fatal error: Call to undefined function uc_cart_checkout_new_pane() in \sites\all\modules\ubercart\uc_vat\uc_vat.module on line 208

So I think the VAT module need an update too Smiling

Posts: 6
Joined: 09/10/2007
Bug Finder

While this is pretty minor... I upgraded from alpha7b, and my quantity box is showing up despite being disabled.

Posts: 6
Joined: 09/10/2007
Bug Finder

Seems like none of the js is working. I'm getting this error:

base_path is not defined
(no name)()uc_store.js (line 79)
e(click clientX=0, clientY=0)jquery.js (line 2)
[Break on this error] window.location = base_path + this.id;

Posts: 81
Joined: 08/31/2007
Bug FinderInternationalizationizerNot KulvikThe other woman.

hi ryan, just did a clean re-install using ubercart-5--1-0-alpha-7c ...and i got these errors when previewing a product (entered the product data and wanted to preview it before submitting the data) :

    * warning: Invalid argument supplied for foreach() in /var/www/iss/drupal-5.2/modules/node/node.module on line 521.
    * warning: implode() [function.implode]: Bad arguments. in /var/www/iss/drupal-5.2/modules/node/node.module on line 525.
    * 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 '' at line 1 query: SELECT n.nid, n.vid, n.type, n.status, n.created, n.changed, n.comment, n.promote, n.sticky, r.timestamp AS revision_timestamp, r.title, r.body, r.teaser, r.log, r.format, u.uid, u.name, u.picture, u.data FROM node n INNER JOIN users u ON u.uid = n.uid INNER JOIN node_revisions r ON r.vid = n.vid WHERE in /var/www/iss/drupal-5.2/includes/database.mysql.inc on line 172.
    * warning: Invalid argument supplied for foreach() in /var/www/iss/drupal-5.2/modules/node/node.module on line 521.
    * warning: implode() [function.implode]: Bad arguments. in /var/www/iss/drupal-5.2/modules/node/node.module on line 525.
    * 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 '' at line 1 query: SELECT n.nid, n.vid, n.type, n.status, n.created, n.changed, n.comment, n.promote, n.sticky, r.timestamp AS revision_timestamp, r.title, r.body, r.teaser, r.log, r.format, u.uid, u.name, u.picture, u.data FROM node n INNER JOIN users u ON u.uid = n.uid INNER JOIN node_revisions r ON r.vid = n.vid WHERE in /var/www/iss/drupal-5.2/includes/database.mysql.inc on line 172.

but once i submitted the product, no errors appeared.

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

Hey Brenda, good find! Fixing the quantity box bug. (I was wondering about that myself. Eye-wink) Also, regarding your Javascript error, why don't you try refreshing the page for me. That JS file may be cached in your browser causing the error, because it's been updated in 7c.

@Tanjerine - I couldn't reproduce your preview bug on the test sites, with new products or existing products. I'll keep an eye out for it, but I think I'm going to go for the release. Laughing out loud

Posts: 156
Joined: 08/07/2007
Uber DonorBug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Not Kulvik

Critical Errata for anyone trying to follow my instructions using the Bazaar repository code. In my previous note I said, in step 2., that one needs to rename the old upbercart directory to get the fresh structure and all changes moving from 7b to 7c+ dev version.

Well, that results in having modules/ubercartOLD and modules/ubercart in your directory. the old code will still run. You really want to move the old version out of modules.

So I am doing the following to remain current with Dev code:

1. get freshest bazaar code with "bzr update"
2. ARCHIVE current ubercart folder with something like:
mv modules/ubercart home/username/ubercart/mod_archive/ubercart_OLDate
3. copy bzr/ubercart -> production area (modules/ubercart)
4. run update.php in the drupal admin->site conf->modules page

I'm sure there are less obsessive compulsive ways to deal with this... but it's what I have been doing, which seems to work.

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

If you've got the hankering, you can also do what I did... I just tarred up my current Ubercart directory (tar -cf ubercart-backup.tar ubercart), then deleted the directory, and then copied over the new directory. Then I've got it zipped if I need to revert. Smiling

Posts: 104
Joined: 09/07/2007
Uber Donor

It appears the "My billing information is the same as my delivery information." checkbox isn't working in IE6, IE7, or in Safari for Windows....

Posts: 60
Joined: 09/07/2007
Bug Finder

Ryan: Thanks - saving the checkout pane settings form fixed the subtotal bug.

I'm still having trouble with views. I can't seem to get any of the Product fields successfully pulled into a table view. Interestingly, the Add to Cart link does seem to work though...

I'll try working on this a bit more over the weekend and post an update. Let me know if you have any ideas what might be going on...

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

@jimi - bugger... I don't think I tested it in IE. Should've done that... However, just now the checkbox worked fine in IE7 for me. (Normal functionality is to copy all the fields over and collapse the table of them at the same time.) Question... have you refreshed the page? Sometimes old cached JS causes trouble like that.

@xerbutter - since you did an update, Views may be caching the previous functions or something. I don't know a lot about how it works, but I know I've had trouble in the past and cleared it up by emptying (truncating) the cache_views table in the database.

Posts: 104
Joined: 09/07/2007
Uber Donor

Ryan - just gave it the ctrl+shift+refresh in IE7 and it worked like a charm. Thanks.

Posts: 60
Joined: 09/07/2007
Bug Finder

Good idea - but I tried emptying the views cache and unfortunately that doesn't seem to be the problem. I'll keep working on it. Let me know if you have any other ideas. Can you think of any reason that the Add to Cart link would be working a in a view, but other Product Fields wouldn't, for instance? Thanks.

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

Not really... I have it working with views on a fresh install at a test site, but I wasn't using Views before on the site I used to test an update. We'll see if anyone else can come up with a solution. I'm assuming all the fields are displaying fine on the product pages themselves?

Posts: 60
Joined: 09/07/2007
Bug Finder

Yes, all the fields display fine everywhere else - product pages, cart, checkout - just not views.

I think I may have tracked it down to the fact that I'm using revisions on my site. Because of this, the vid and nid for a product are different. If I go into the node table in my database and set a product's vid to be equal to the nid, the fields will show up in views. (Of course, this messes up everything else - the product page, cart, add to cart link...). It doesn't help if I just create the product with "Create new Revision" off, because the nid and vid in the node table will already be different.

Does that make sense? Could views be trying to pull the sell_price and other fields from the uc_products table with the vid, when it should be using the nid??

This type of debugging is pushing the bounds of my experience with drupal, so my apologies if this is unclear or confusing...

Thanks for your help.

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

Hmm, you know... I wouldn't be surprised if it was a revision thing. We actually haven't done much testing on product nodes with revisions, but I know it was near the top of Lyle's list of things to deal. Regardless, I actually don't know that Views would bypass the product module's usage of the node ID to attempt to load data based on the vid. It sounds almost like a content caching issue. (But I think you've already cleared all the cache tables, so I'm not sure.)

Posts: 3
Joined: 09/16/2007

Hello Ryan,

Fatal error: Call to undefined function uc_cart_checkout_new_pane() in /home/hfcom/public_html/modules/uc_coupon/uc_coupon.module on line 470

I got this error too on a clean install. Turning off the coupon module didn't change anything, but de-selecting the Coupon Discount check-box from the Checkout Settings page, eliminated the error.

I mention this because I don't use shipping at all so have never activated the shipping module and never touched any shipping settings, either on a previous version or this version (5.x-1.0-alpha7c). You might want to take this in account when you are looking at a fix.

(I would nonetheless like to play with the coupon feature and consider using it. From what you're saying, I'll probably have to turn on shipping to do that. Not such a big deal.)

--
Stephen

P.S. This is my first post at Ubercart. I'm in the early stages of evaluating this system so its a bit premature to comment in depth, but so far, I am impressed with what I see.

--

--
Stephen
Hardfocus Media
Japan

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

Hey, welcome aboard. Smiling Actually, this problem isn't with the shipping module but with the updated Checkout Pane API. Basically, any modules that make checkout panes (like the coupon module) have to be updated to work with Alpha 7c. I imagine Blake will do it soon since he's pretty active, but you can always get some other coder to do it. It only takes a few code changes.

Posts: 60
Joined: 09/07/2007
Bug Finder

I think I've confirmed that the views problem is related to revisions, by recreating it with a fresh install. To be clear, the problem doesn't seem to be specific to using revisions with products, it comes from using revisions anywhere on the site. Here's what I did:

1) Fresh install of drupal and ubercart
2) Create a new product
3) Create a new view that pulls in the product sell_price field
4) Everything is good so far - the view shows the correct price
5) Create a new page and fill out some content
6) Edit the page and turn revisions on
7) At this point, the nid of the page is 2 and it's vid is 3
Cool Create a second product
9) At this point, the product's nid is 3 and it's vid is 4 (even though this is not a revision of the product, this is how drupals tables work, I'm learning)
10) Check the view again - now the first product shows up as normal with the correct price, but the second product always shows a price of $0.00.

I have cleared the views cache on my site and this simple test site, with no change.

I hope that helps...thanks!

Posts: 60
Joined: 09/07/2007
Bug Finder

For anyone searching for the answer to this views problem, see the fix posted by Lyle here:

http://www.ubercart.org/issue/829/views_cannot_pull_correct_fields_when_...

Posts: 166
Joined: 08/13/2007
Cool profile pic award.Getting busy with the Ubercode.Internationalizationizer

Hi Lyle,

I loved the old-style URL building for the catalog menu. It did wonders for SEO and did seamlessly fit in with the URLs for the products itself.
I understand why you changed it though.

Can't we have like:

instead of catalog/beads_and_pendants/swarovski
now the functioning url is catalog/234/beads_and_pendants/swarovski

for SEO reasons?

Thanks in advance.

Kees

Web development, web winkel

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

The catalog now integrates with Pathauto, so you can make the URLs look however you want.

Posts: 166
Joined: 08/13/2007
Cool profile pic award.Getting busy with the Ubercode.Internationalizationizer

That would be realy a wow!

I can't find it in Alpha8, should I use the Bazaar version?
Edit:
Yes, I should use the Bazaar version.
It works like a charm, you guys rock!

Thanks. Kees