Index: uc_store/uc_store.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/ubercart/uc_store/uc_store.module,v
retrieving revision 1.14.2.46
diff -u -r1.14.2.46 uc_store.module
--- uc_store/uc_store.module	10 Dec 2010 03:55:41 -0000	1.14.2.46
+++ uc_store/uc_store.module	22 Feb 2011 18:00:28 -0000
@@ -413,13 +413,16 @@
 function uc_store_token_values($type, $object = NULL) {
   global $base_url;
   $values = array();
-
+  //use the global $theme_key instead of using variable_get. this key will be set to the right theme
+  //by domain access module.
+  global $theme_key;
+  
   switch ($type) {
     case 'global':
       $login_link = url('user', array('absolute' => TRUE));
       $values['site-login'] = l($login_link, $login_link);
 
-      $theme_key = variable_get('theme_default', 'garland');
+//      $theme_key = variable_get('theme_default', 'garland');
       $settings = theme_get_settings($theme_key);
       $themes = list_themes();
       $theme_object = $themes[$theme_key];
