Re: World Quotes

zmove's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Internationalizationizer
Joined: 08/13/2007
Juice: 1192
Re: World Quotes

I tested the last version of the worldquote module, I put an "anywhere" flat rate to test and I have the same problem that zoo33@drupal.org :

1) It doesn't calculate the shipping cost (it put 0.00)

2) When I validate the checkout page, I have the folowing error :

warning: constant() [function.constant]: Couldn't find constant _TO_KG in drupal\sites\all\modules\ubercart\contrib\uc_worldquote\uc_worldquote.module on line 502.

By making the zoo33@drupal.org hack, it works but I don't know if it's the good way to do ? the module maintainer can confirm this problem and solution ?

In addition there is 2 messages that appear, cou can remove them :

line 508 - 509 replace

<?php
drupal_set_message
("<pre> rules - 1</pre>");
drupal_set_message("<pre>" . print_r($rules) . "</pre>");
?>

by :

<?php
#drupal_set_message("<pre> rules - 1</pre>");
#drupal_set_message("<pre>" . print_r($rules) . "</pre>");
?>
World Quotes By: arbel (79 replies) Wed, 09/26/2007 - 20:45