Active
Project:
Ubercart Simple Shipping Quotes
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Jul 2010 at 13:04 UTC
Updated:
5 Apr 2012 at 09:57 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
zarudnyi commentedOk, that module doesn't work.
With Ubercart Simple Shipping Quotes pane enabled I can't see order total on core Ubercart pane too.
:/
Comment #2
Baart commentedI have the same problem.
The javascriptfile uc_payment/uc_payment.js contains the function render_line_items(), which does a POST-request to /cart/checkout/line_items. That POST-request should return the line-items table. Currently, the request gets sent but it returns nothing... That sounds like a problem (well, more an incompatibility) in uc_cart.
Will look further tomorrow.
Comment #3
Baart commentedCan't locate the problem. That means that this module is disabled in my ubercart-store :(
Comment #4
dreadfulcode commentedHave the same problem too.
Would be nice to fix since this module could prove to be very helpful! I am using only one shipping rate, and this module would be perfect if it worked correctly....
Comment #5
longwaveDoes the same issue occur with http://drupal.org/project/uc_checkout_tweaks ? I haven't seen this problem myself..
Comment #6
summit commentedSubscribing, Greetings Martijn
Comment #7
nesalc commentedI am having the same problem.
I have tried investigating what Baart wrote about the call to /cart/checkout/line_items
The problem is what is being sent in this post request.
With normal shipping costs enabled the checkout page contains a variable with content like this:
This is what is being sent in the post request.
But with "Ubercart Simple Shipping Quotes" used, this variable contains this with the same product chosen:
Luxux Nederdel i et meget enkelt og elegant snit.</p>
<p>
</p>
<p>
Materiale: Silke</p>
<p>
Farve: Råhvid</p>
";s:6:"teaser";s:138:"<p>
Luxux Nederdel i et meget enkelt og elegant snit.</p>
<p>
</p>
<p>
Materiale: Silke</p>
<p>
Farve: Råhvid</p>
";s:3:"log";s:0:"";s:18:"revision_timestamp";s:10:"1300303583";s:6:"format";s:1:"1";s:4:"name";s:5:"mette";s:7:"picture";s:0:"";s:10:"list_price";s:7:"0.00000";s:10:"sell_price";s:9:"600.00000";s:12:"weight_units";s:2:"kg";s:6:"length";s:1:"0";s:5:"width";s:1:"0";s:6:"height";s:1:"0";s:12:"length_units";s:2:"cm";s:7:"pkg_qty";s:1:"1";s:11:"default_qty";s:1:"1";s:11:"unique_hash";s:32:"7c13785b0e813a42bf036c1ce01ff36f";s:8:"ordering";s:1:"0";s:9:"shippable";s:1:"1";s:17:"field_image_cache";a:1:{i:0;a:10:{s:3:"fid";s:3:"241";s:3:"uid";s:1:"3";s:8:"filename";s:9:"Lux13.jpg";s:8:"filepath";s:31:"sites/default/files/Lux13_0.jpg";s:8:"filemime";s:10:"image/jpeg";s:8:"filesize";s:7:"1948885";s:6:"status";s:1:"1";s:9:"timestamp";s:10:"1300303467";s:4:"list";s:1:"1";s:4:"data";a:2:{s:3:"alt";s:0:"";s:5:"title";s:0:"";}}}s:10:"attributes";a:2:{i:3;O:8:"stdClass":13:{s:3:"aid";s:1:"3";s:4:"name";s:11:"kjole_farve";s:13:"default_label";s:16:"Farve på kjolen";s:16:"default_ordering";s:1:"0";s:16:"default_required";s:1:"1";s:15:"default_display";s:1:"1";s:11:"description";s:23:"Vælg farven på kjolen";s:5:"label";s:16:"Farve på kjolen";s:14:"default_option";s:2:"22";s:8:"required";s:1:"1";s:8:"ordering";s:1:"0";s:7:"display";s:1:"1";s:7:"options";a:1:{i:22;O:8:"stdClass":8:{s:3:"nid";s:3:"103";s:3:"oid";s:2:"22";s:4:"cost";s:7:"0.00000";s:5:"price";s:7:"0.00000";s:6:"weight";s:1:"0";s:8:"ordering";s:3:"-50";s:4:"name";s:15:"Råhvid / Ivory";s:3:"aid";s:1:"3";}}}i:2;O:8:"stdClass":13:{s:3:"aid";s:1:"2";s:4:"name";s:16:"kjole_stoerrelse";s:13:"default_label";s:16:"Kjole størrelse";s:16:"default_ordering";s:1:"0";s:16:"default_required";s:1:"1";s:15:"default_display";s:1:"1";s:11:"description";s:17:"Vælg størrelse ";s:5:"label";s:16:"Kjole størrelse";s:14:"default_option";s:2:"14";s:8:"required";s:1:"1";s:8:"ordering";s:1:"0";s:7:"display";s:1:"1";s:7:"options";a:1:{i:14;O:8:"stdClass":8:{s:3:"nid";s:3:"103";s:3:"oid";s:2:"14";s:4:"cost";s:7:"0.00000";s:5:"price";s:7:"0.00000";s:6:"weight";s:1:"0";s:8:"ordering";s:1:"0";s:4:"name";s:2:"38";s:3:"aid";s:1:"2";}}}}s:22:"last_comment_timestamp";s:10:"1300303583";s:17:"last_comment_name";N;s:13:"comment_count";s:1:"0";s:8:"taxonomy";a:1:{i:2;O:8:"stdClass":5:{s:3:"tid";s:1:"2";s:3:"vid";s:1:"1";s:4:"name";s:19:"Konfirmationskjoler";s:11:"description";s:0:"";s:6:"weight";s:1:"0";}}s:8:"flatrate";a:0:{}s:13:"shipping_type";s:13:"small_package";s:16:"shipping_address";O:8:"stdClass":10:{s:10:"first_name";s:0:"";s:9:"last_name";s:0:"";s:7:"company";s:17:"Freja Brudekjoler";s:7:"street1";s:11:"Thorsgade 2";s:7:"street2";s:0:"";s:4:"city";s:7:"Herning";s:4:"zone";s:1:"0";s:11:"postal_code";s:4:"7400";s:7:"country";s:3:"208";s:5:"phone";s:0:"";}}}" />
It seems to be the entire product description.
Maybe this can help to solve the problem?
Comment #8
nesalc commentedIt didn't like the html I included.
Now the data is attached in a file.
Comment #9
nesalc commentedI researched a bit more.
The hidden cart_contents value which contains the wrong value is set in uc_cart.pages.inc
The value set is what is returned from the function uc_cart_get_contents() in uc_cart.module
So somehow the value returned from uc_cart_get_contents() is wrong when using "Ubercart Simple Shipping Quotes".
I haven't been able to figure out why.
/Claus
Comment #10
nesalc commentedChanged the status to active, maybe maintainer got the needed info now.
Comment #11
sittard commentedThis issue appears to only occur with some products on our website, so I ran a number of tests to isolate the issue.
We have a product node with a CCK field (text area with text processing set to plan text) if this field contains a line break then the order total preview is empty. Remove the line break and the checkout works fine.
See also:
http://drupal.org/node/1117134
http://drupal.org/node/1165184
Comment #12
Anonymous (not verified) commentedSince this module causes problems with the standard ubercart functionality, I changed the priority to critical.
Comment #13
rolfmeijer commentedsubscribe
Comment #14
gillisig commentedSubscribing
Comment #15
whizzkid commentedI have the same problem - are there any workarounds?
Comment #16
sittard commentedA temporary workaround would be to regularly remove line breaks from the database.
Seems to work for me.
Comment #17
Aleksey Zubko commentedsame issue. Temporarily we can fix them in our hook_form_alter.
Comment #18
loparr commentedThank you @drucode. That worked.
Comment #19
velpan commentedI think this issue is similar (comes from the same bug) to http://drupal.org/node/1504174