Problem/Motivation

My intent is to implement file downloads, but I haven't even gotten to that point.

I have a fresh install of 7.x-3.6, with the following enabled:
Cart
Order
Product
Store
Payment
Test Gateway

I created two products: "Test Product" and "Test Product 2"

I've added them in various combinations to the cart, but whenever I click a Cart button ("Update" or "Checkout"), the only behavior I get is that the first/topmost item gets removed. I have been unable to get any other behavior.

I saw this previous Issue (https://drupal.org/node/1306060), and reverted to Bartik from a new Zen subtheme. The issue didn't go away.

I _really_ don't want to have to move to Commerce (way too complex for this application), but I'm concerned that such a fundamental function isn't working in such a mature contrib.

If this can't get quick resolution, are there tips for me to debug this myself? I'm an experienced programmer, but not in PHP/Drupal (yet). I'm willing, though, as this is important.

Comments

tr’s picture

Category: Bug report » Support request
Priority: Major » Normal

Please provide a URL to your site.

The Ubercart automated tests check the cart update and remove functions, and the test status shows that these two functions are working. With over 45,000 users but only two people reporting this problem over the past 6 years (both which were theme-related) calling this a "major bug" and saying you're "concerned that such a fundamental function isn't working" is way off base. The feature obviously works, the only question here is why isn't it working for *you*. If you would like us to take a look at your site, please switch to Bartik and post a URL. I would also suggest turning off any contributed module, especially modules which add JavaScript to pages, before drawing any conclusions.

longwave’s picture

The "Remove" buttons rely on the "name" attribute being correct. If your theme, or some PHP or JavaScript code, is altering the "name" attribute or the buttons in any other way, they won't work as expected.

burtlo’s picture

TR, fair enough. I was grading the Priority on my own urgency, as opposed to the objective severity of the issue. I apologize for prioritizing this inappropriately, and will do better next time. Thank you for responding to my urgency, regardless.

I did switch to Bartik before posting this issue, and I'm in the process of disabling other contrib modules to whittle down any other involvement.

Longwave, thanks for the note. I checked the name of the buttons. "Update Cart" is named "update-cart" and "Checkout" is named "op".

I've trimmed and enabled the site for you to access, if you're willing. The root is at: http://rhettpalmerlive.com/

The main menu has links to two test products and the cart. That's what I've been using to replicate this issue.

I'll continue to whittle modules and look for other sources of complication.

burtlo’s picture

TR, as you suggested, after disabling almost all of the non-core modules, the "Cart" button works properly. I'll pursue this through process of elimination, and will close this issue for now.

burtlo’s picture

Status: Active » Closed (works as designed)
burtlo’s picture

What I found in the toggling of modules is that the LevelTen Intelligence 7.x-1.0-beta3 (intel) module was the contrib that caused my Cart buttons to function improperly. I'll file a report in that project.

Thanks, all.

p.s. Just reported the issue in the "intel" queue here: https://drupal.org/node/2209053