[support] Devel // ubercart 1.x Drupal 5: how to read variables?

sebastian inforazor at gmail.com
Wed Nov 18 22:03:30 UTC 2009


Hi folks,

So I have devel installed on a drupal 5 system, but I don't see the 
"themer info" option like I do in Drupal 6...?

I tried typing dpr() in the page tpl.php, but I don't get any output...

Any tips on how to see the variables loaded on a page?

What I am trying to see, if what the variable is, that is used to output 
an ubercart shopping cart checkout screen value.

So the subtotal / total price values of the checkout amount.

So that I can pass this variable to an external script.

I've tried writing:

<?php
print '<br />debug: testing price printout: subtotal: ' . 
uc_currency_format($subtotal);
?>

But I always get a zero dollar output; and I have the script at the 
bottom of the page.

Any advise on either how to see the variables on Drupal5?

OR

On how to access the Ubercart's shopping cart total?

Thanks!!!

Sebastian.



More information about the support mailing list