diff --git a/includes/views_handler_field_amazon_image.inc b/includes/views_handler_field_amazon_image.inc
index 96a87db..51f3b68 100644
--- a/includes/views_handler_field_amazon_image.inc
+++ b/includes/views_handler_field_amazon_image.inc
@@ -119,7 +119,8 @@ class views_handler_field_amazon_image extends views_handler_field {
         }
         break;
       case 'amazon_store':
-        return l($image, AMAZON_STORE_PATH . '/item/' . $asin, array('html' => TRUE));
+        $path = function_exists('amazon_store_get_amazon_store_path') ? amazon_store_get_amazon_store_path() : 'amazon_store';
+        return l($image, $path . '/item/' . $asin, array('html' => TRUE));
         break;
     }
   }
diff --git a/includes/views_handler_field_amazon_title.inc b/includes/views_handler_field_amazon_title.inc
index 44abd56..63cbf24 100644
--- a/includes/views_handler_field_amazon_title.inc
+++ b/includes/views_handler_field_amazon_title.inc
@@ -52,10 +52,11 @@ class views_handler_field_amazon_title extends views_handler_field {
         $this->options['alter']['html'] = TRUE;
         break;
       case 'amazon_store':
+        $path = function_exists('amazon_store_get_amazon_store_path') ? amazon_store_get_amazon_store_path() : 'amazon_store';
         $this->options['alter']['make_link'] = TRUE;
         $this->options['alter']['html'] = TRUE;
         $asin = $this->get_value($values, 'asin');
-        $this->options['alter']['path'] = AMAZON_STORE_PATH . '/item/' . $asin;
+        $this->options['alter']['path'] = $path . '/item/' . $asin;
         break;
     }
 
