Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Offical Google Checkout module for osCommerce Support Thread


Silverado05

Recommended Posts

In order to contain all the support to one thread so I can accurately help those needing help with this module please post your support questions here and I will be more then happy to help you with this to best of my ability.

 

Contribution can be found below.

 

Google Checkout module for osCommerce

 

Current release is version 1.4 Dated 17 Jul 2007

Search the forum and contributions before posting. If that doesn't work, keep looking, then post. The forum is for seeking help and advice NOT for someone to do your work for you. Try to do something on your on, if you are going to run a shop then learn how it works.

Link to comment
Share on other sites

  • Replies 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Continuing from the previous thread.

 

I found a new potential issue. In looking at the osCommerce documentation, I found this note:

 

Sessions

 

Customers on AOL cannot use your store with these all set to "True". The only two that

can be set to "True" for aol users are "Force Cookie Use" and "Prevent Spider Sessions".

 

Does this mean having "Check SSL Session ID" set to true is going to cause problems for my aol customers? We have quite a few of them.

Link to comment
Share on other sites

I also found this page that better explains what each setting does:

 

http://www.oscommerce.info/kb/osCommerce/D...plementations/4

 

Seems to me that ideal settings would be "Force Cookie Use" to True (I don't want anyone to have session id's in the URL for privacy/security reasons) and "Check SSL Session ID" to False (So there are no issues with AOL or weird browsers that don't support it). But obviously that isn't going to work with Google Checkout. I also ran across this old thread:

 

http://www.oscommerce.com/forums/index.php?showtopic=41451

 

Doesn't seem like anyone found a solution to AOL being blocked. Also, seeing as it's from 2003, it's possible that AOL is now using a browser that will work just fine. I just have no way of testing that.

Link to comment
Share on other sites

Well, after more testing, I realized that even if my browser accepts cookies, as soon as I hit any of the secure pages, the session ID is appended to the URL. That is something I do not want. Setting "Force Cookie Use" to True solves that problem, but then Google Checkout stops working. There has got to be another way to do this.

Link to comment
Share on other sites

Hi ,

 

I have Google checkout installed and it works great, but ...

It does not get the shipping rates from the usps method 2.8 .... it just shows all zeros fo all the shipping options at the google checkout site, even though on OSC itself it shows the correct prices. so my costumers get zero shipping cost.

can you please help

 

for now I've stopped usps and I'm using the table rate ythat does work with GCO.

 

tahnks :rolleyes:

Link to comment
Share on other sites

Well, after more testing, I realized that even if my browser accepts cookies, as soon as I hit any of the secure pages, the session ID is appended to the URL. That is something I do not want. Setting "Force Cookie Use" to True solves that problem, but then Google Checkout stops working. There has got to be another way to do this.

 

That is a development issue that will need to be addressed with the author of the mod. I told him I would help him with support issues here, but development issues of that magnitude will need to be addressed with him at his board.

 

 

http://groups.google.com/group/google-chec...-support/topics

 

 

I wish I could help you more with that but that is out of my power.

Search the forum and contributions before posting. If that doesn't work, keep looking, then post. The forum is for seeking help and advice NOT for someone to do your work for you. Try to do something on your on, if you are going to run a shop then learn how it works.

Link to comment
Share on other sites

Hi ,

 

I have Google checkout installed and it works great, but ...

It does not get the shipping rates from the usps method 2.8 .... it just shows all zeros fo all the shipping options at the google checkout site, even though on OSC itself it shows the correct prices. so my costumers get zero shipping cost.

can you please help

 

for now I've stopped usps and I'm using the table rate ythat does work with GCO.

 

tahnks :rolleyes:

 

 

What is the error you are getting from Google in your settings integration? It is probably a time out issue, do you have long descriptions be passed to google? Also what version are you using?

Search the forum and contributions before posting. If that doesn't work, keep looking, then post. The forum is for seeking help and advice NOT for someone to do your work for you. Try to do something on your on, if you are going to run a shop then learn how it works.

Link to comment
Share on other sites

That is a development issue that will need to be addressed with the author of the mod. I told him I would help him with support issues here, but development issues of that magnitude will need to be addressed with him at his board.

http://groups.google.com/group/google-chec...-support/topics

I wish I could help you more with that but that is out of my power.

 

That's what I figured. I guess the logic would be to force cookie use for customers and search spiders, but not force it for Google Checkout. I noticed in posts on the google groups board that he's been recommending people set Force Cookie Use to false in order to get GC working. I'm going to dig into how the force cookie use option actually works and see if I can come up with something. I guess the first step is to figure out what Google Checkout is identifying itself as. I'm guessing it's 'jakarta', as that is what the documentation says to make sure is not in spiders.txt.

Link to comment
Share on other sites

Here is the code in application_top.php that starts the session, based on the session settings in Admin:

 

// start the session
 $session_started = false;
 if (SESSION_FORCE_COOKIE_USE == 'True') {
   tep_setcookie('cookie_test', 'please_accept_for_session', time()+60*60*24*30, $cookie_path, $cookie_domain);

   if (isset($HTTP_COOKIE_VARS['cookie_test'])) {
     tep_session_start();
     $session_started = true;
   }
 } elseif (SESSION_BLOCK_SPIDERS == 'True') {
   $user_agent = strtolower(getenv('HTTP_USER_AGENT'));
   $spider_flag = false;

   if (tep_not_null($user_agent)) {
     $spiders = file(DIR_WS_INCLUDES . 'spiders.txt');

     for ($i=0, $n=sizeof($spiders); $i<$n; $i++) {
       if (tep_not_null($spiders[$i])) {
         if (is_integer(strpos($user_agent, trim($spiders[$i])))) {
           $spider_flag = true;
           break;
         }
       }
     }
   }

   if ($spider_flag == false) {
     tep_session_start();
     $session_started = true;
   }
 } else {
   tep_session_start();
   $session_started = true;
 }

 

If my thinking is correct, it should be possible to test the user_agent string for whatever Google Checkout is calling itself (jakarta or otherwise) and allow the session to be started if it is Google Checkout accessing the site. I will see what I can come up with and post my findings. The only way I can see this not working is if Google Checkout changes it's user_agent string every once in awhile. If that's the case, then maybe setting up a file similar to spiders.txt and keeping a list of all know user_agent strings for Google Checkout would help with that.

Link to comment
Share on other sites

It works!!! Through testing I was able to find out that Google Checkout is reporting itself as 'google checkout notification agent 1.0'. I'll post again in a few minutes showing what I did to make it work.

Link to comment
Share on other sites

Alright, here's how to make this work.

 

STEP 1:

Create a file called 'gc_user_agent.txt' and place it in your /catalog/includes/ directory. It should be in the same place as spiders.txt. Add the following to this file and save it:

 

google checkout notification agent 1.0

 

STEP 2:

Open 'application_top.php'

 

Search for the following:

 

  if (SESSION_FORCE_COOKIE_USE == 'True') {
   tep_setcookie('cookie_test', 'please_accept_for_session', time()+60*60*24*30, $cookie_path, $cookie_domain);

   if (isset($HTTP_COOKIE_VARS['cookie_test'])) {
     tep_session_start();
     $session_started = true;
   }

 

And replace it with this:

 

  if (SESSION_FORCE_COOKIE_USE == 'True') {
   $user_agent = strtolower(getenv('HTTP_USER_AGENT'));
   $gc_flag = false;

   if (tep_not_null($user_agent)) {
     $gc_user_agent = file(DIR_WS_INCLUDES . 'gc_user_agent.txt');

     for ($i=0, $n=sizeof($gc_user_agent); $i<$n; $i++) {
       if (tep_not_null($gc_user_agent[$i])) {
         if (is_integer(strpos($user_agent, trim($gc_user_agent[$i])))) {
           $gc_flag = true;
           break;
         }
       }
     }
   }

   if ($gc_flag == true) {
     tep_session_start();
     $session_started = true;
   } else {
     tep_setcookie('cookie_test', 'please_accept_for_session', time()+60*60*24*30, $cookie_path, $cookie_domain);
     if (isset($HTTP_COOKIE_VARS['cookie_test'])) {
       tep_session_start();
       $session_started = true;
     }
   }

 

Make sure you check to see that your original code in 'application_top.php' is the same as mine. The code I listed is from a stock install of 2.2 RC1, but it should be the same in MS2. If yours was modified for whatever reason, you'll need to figure out what to do with the new code to make it work.

 

STEP 3:

Set 'Force Cookie Use' and 'Prevent Spider Sessions' in Admin to TRUE. Everything else should be FALSE.

 

That's it! Now you can force the usage of cookies for regular visitors, prevent search spiders from creating sessions, and allow Google Checkout to recreate the session it needs in order to update admin and empty the shopping cart. One thing to keep in mind is that I have no idea if Google will change the user agent string or how often. That is why I placed it in 'gc_user_agent.txt' to allow for easy updates if/when necessary. If I find that Google does change the user agent, then maybe it would be good to write some sort of script that captures the user agent string when Google connects to responsehandler.php and updates the 'gc_user_agent.txt' file automatically.

Link to comment
Share on other sites

What is the error you are getting from Google in your settings integration? It is probably a time out issue, do you have long descriptions be passed to google? Also what version are you using?

 

I don't get any errors , I just see zeros for the all the shipping options, it seems GCO retrives the shipping options , but not the pricing for them.

Link to comment
Share on other sites

Looks like there is another potential solution to the problem I was having. I found it in the Google Groups, but the thread title was highly misleading. It was suggested over there that you could redefine the Prevent Spider Sessions setting for responsehandler.php only. Here's a quote of what was said over there:

 

Instead open up googlecheckout/responsehandler.php and find this line:

 

define('MODULE_PAYMENT_GOOGLECHECKOUT_MULTISOCKET', 'False');

 

Immediately below it add this:

 

define('SESSION_BLOCK_SPIDERS','False');

 

This will disable "Prevent Spider Sessions" for responsehandler.php

while leaving the setting as is for the rest of your store.

 

Ropu responded by saying that would throw up a warning, and suggested adding this to prevent the warning from appearing:

 

error_reporting(0);

 

I haven't tested this yet, but I do have an observation. From looking at the code, it's quite obvious that the "Prevent Spider Sessions" option has no effect whatsoever on Google Checkout, as long as 'google checkout notification agent 1.0' is not in your spiders.txt file. In fact, if you have "Force Cookie Use" set to TRUE, then the code behind "Prevent Spider Sessions" doesn't even run. Up to this point the real solution to getting GC to work is to set "Force Cookie Use" to FALSE, but that is a terrible solution for many reasons. That option should always be set to TRUE if possible. So the solution is to set it to FALSE only in responsehandler.php. That can be done just the same as was suggested for "Prevent Spider Sessions", like this:

 

1.) Open up resonsehandler.php

 

2.) Search for error_reporting(E_ALL); and change it to error_reporting(0);

 

3.) Search for define('MODULE_PAYMENT_GOOGLECHECKOUT_MULTISOCKET', 'False');

 

4.) Immediately below it add this: define('SESSION_FORCE_COOKIE_USE', 'False');

 

 

I have not tested this at all, but it appears to be a better solution than what I came up with, because it does not rely on knowing what the user agent is for Google Checkout. The only thing that should ever be connecting to responsehandler.php is Google Checkout, so there are no worries about starting a session for a search spider or anything like that. In fact, if you have it properly password protected via .htaccess, nothing else can get to it. I will test this out to see if it works. If so, then I will recommend using this solution instead of my previous one.

Edited by i960
Link to comment
Share on other sites

Ok, testing complete! The solution in my post immediately above works perfectly. As such, I no longer recommend using the solution I posted previously. While the previous solution does indeed work, this new solution works just as well, is easier to implement, and doesn't rely on knowing the user agent for Google Checkout.

Link to comment
Share on other sites

I have a very dumb question, and I apologize for it in advance.

 

It seems I've been working to the point that I can no longer think rationally.

 

I've installed the v1.4 beta and somehow I've done something wrong and cant seem to figure out where my issue lies.

 

While I do see the googlecheckout payment module in the admin, when I click install nothing happens.

 

I've uploaded the googlecheckout.php file to includes/modules/payment. Looked over my code in admin/modules.php and so on, but I cant find the bugger thats causing this.

 

I have the catalog installed in the root, so there is no catalog/ in my site (if that makes any difference at all)

 

I am sure there is one simple place where I can find the problem, I am sure I am just overlooking the obvious, but I need a hint on where I should be looking for this from anyone who would be so kind as to assist me.

 

Thank you in advance for your help, I'll keep plugging away on it in the meantime.

Link to comment
Share on other sites

I don't get any errors , I just see zeros for the all the shipping options, it seems GCO retrives the shipping options , but not the pricing for them.

 

 

What shipping modules are you using and what is the version of Google Checkout are you using?

Search the forum and contributions before posting. If that doesn't work, keep looking, then post. The forum is for seeking help and advice NOT for someone to do your work for you. Try to do something on your on, if you are going to run a shop then learn how it works.

Link to comment
Share on other sites

ok, install is still not working, I'm dumbfounded! Any suggestions?

 

Go into your Databases Configuration_Table and look for all Google Checkout references and delete them.

Search the forum and contributions before posting. If that doesn't work, keep looking, then post. The forum is for seeking help and advice NOT for someone to do your work for you. Try to do something on your on, if you are going to run a shop then learn how it works.

Link to comment
Share on other sites

Go into your Databases Configuration_Table and look for all Google Checkout references and delete them.

 

 

There are no references to google in my database. I must have missed something. I'll look at it with fresh eyes today.

Link to comment
Share on other sites

Hi Nick

 

My problem was :

 

QUOTE(doni @ Aug 9 2007, 04:45 AM)

 

I have installed the latest contribution, and have the following errors :

 

Warning: getxml(xml-processing/xmlbuilder.php): failed to open stream: No such file or directory in /mysite/googlecheckout/library/googlecart.php on line 232

 

Fatal error: getxml(): Failed opening required 'xml-processing/xmlbuilder.php' (include_path='') in /mysite/googlecheckout/library/googlecart.php on line 232

 

... at the point where I enter the Checkout Page (with items in my cart), and below the "- or Use -" text.

 

I used to see this code sometimes in the past, and if I refreshed the page, the GC button would usually appear. I have actually processed an order using GC. But now, this text always appears, and NO GC buttone ever appears even when I refresh the page.

 

Anyone any guidance on what I should do, or generally what this error means?

 

 

___________

 

AND YOU ASKED FOR MY SHOPPING CART, WHICH IS :

___________

 

 

<?php

/*

$Id: shopping_cart.php,v 1.73 2003/06/09 23:03:56 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

require("includes/application_top.php");

 

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_SHOPPING_CART);

 

$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_SHOPPING_CART));

?>

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

<html <?php echo HTML_PARAMS; ?>>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">

<title><?php echo TITLE; ?></title>

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">

<link rel="stylesheet" type="text/css" href="stylesheet.css">

</head>

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">

<!-- header //-->

<?php require(DIR_WS_INCLUDES . 'header.php'); ?>

<!-- header_eof //-->

 

<!-- body //-->

<table border="0" width="100%" cellspacing="3" cellpadding="3">

<tr>

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

<!-- left_navigation //-->

<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>

<!-- left_navigation_eof //-->

</table></td>

<!-- body_text //-->

<td width="100%" valign="top"><?php echo tep_draw_form('cart_quantity', tep_href_link(FILENAME_SHOPPING_CART, 'action=update_product')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0">

<tr>

<td><table border="0" width="100%" cellspacing="0" cellpadding="0">

<tr>

<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>

<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_cart.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

</tr>

</table></td>

</tr>

<tr>

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

</tr>

<?php

if ($cart->count_contents() > 0) {

?>

<tr>

<td>

<?php

$info_box_contents = array();

$info_box_contents[0][] = array('align' => 'center',

'params' => 'class="productListing-heading"',

'text' => TABLE_HEADING_REMOVE);

 

$info_box_contents[0][] = array('params' => 'class="productListing-heading"',

'text' => TABLE_HEADING_PRODUCTS);

 

$info_box_contents[0][] = array('align' => 'center',

'params' => 'class="productListing-heading"',

'text' => TABLE_HEADING_QUANTITY);

 

$info_box_contents[0][] = array('align' => 'right',

'params' => 'class="productListing-heading"',

'text' => TABLE_HEADING_TOTAL);

 

$any_out_of_stock = 0;

$products = $cart->get_products();

for ($i=0, $n=sizeof($products); $i<$n; $i++) {

// Push all attributes information in an array

if (isset($products[$i]['attributes']) && is_array($products[$i]['attributes'])) {

while (list($option, $value) = each($products[$i]['attributes'])) {

echo tep_draw_hidden_field('id[' . $products[$i]['id'] . '][' . $option . ']', $value);

$attributes = tep_db_query("select popt.products_options_name, poval.products_options_values_name, pa.options_values_price, pa.price_prefix

from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_OPTIONS_VALUES . " poval, " . TABLE_PRODUCTS_ATTRIBUTES . " pa

where pa.products_id = '" . $products[$i]['id'] . "'

and pa.options_id = '" . $option . "'

and pa.options_id = popt.products_options_id

and pa.options_values_id = '" . $value . "'

and pa.options_values_id = poval.products_options_values_id

and popt.language_id = '" . $languages_id . "'

and poval.language_id = '" . $languages_id . "'");

$attributes_values = tep_db_fetch_array($attributes);

 

$products[$i][$option]['products_options_name'] = $attributes_values['products_options_name'];

$products[$i][$option]['options_values_id'] = $value;

$products[$i][$option]['products_options_values_name'] = $attributes_values['products_options_values_name'];

$products[$i][$option]['options_values_price'] = $attributes_values['options_values_price'];

$products[$i][$option]['price_prefix'] = $attributes_values['price_prefix'];

}

}

}

 

for ($i=0, $n=sizeof($products); $i<$n; $i++) {

if (($i/2) == floor($i/2)) {

$info_box_contents[] = array('params' => 'class="productListing-even"');

} else {

$info_box_contents[] = array('params' => 'class="productListing-odd"');

}

 

$cur_row = sizeof($info_box_contents) - 1;

 

$info_box_contents[$cur_row][] = array('align' => 'center',

'params' => 'class="productListing-data" valign="top"',

'text' => tep_draw_checkbox_field('cart_delete[]', $products[$i]['id']));

 

$products_name = '<table border="0" cellspacing="2" cellpadding="2">' .

' <tr>' .

' <td class="productListing-data" align="center"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '">' . tep_image(DIR_WS_IMAGES . $products[$i]['image'], $products[$i]['name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a></td>' .

' <td class="productListing-data" valign="top"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '"><b>' . $products[$i]['name'] . '</b></a>';

 

if (STOCK_CHECK == 'true') {

$stock_check = tep_check_stock($products[$i]['id'], $products[$i]['quantity']);

if (tep_not_null($stock_check)) {

$any_out_of_stock = 1;

 

$products_name .= $stock_check;

}

}

 

if (isset($products[$i]['attributes']) && is_array($products[$i]['attributes'])) {

reset($products[$i]['attributes']);

while (list($option, $value) = each($products[$i]['attributes'])) {

$products_name .= '<br><small><i> - ' . $products[$i][$option]['products_options_name'] . ' ' . $products[$i][$option]['products_options_values_name'] . '</i></small>';

}

}

 

$products_name .= ' </td>' .

' </tr>' .

'</table>';

 

$info_box_contents[$cur_row][] = array('params' => 'class="productListing-data"',

'text' => $products_name);

 

$info_box_contents[$cur_row][] = array('align' => 'center',

'params' => 'class="productListing-data" valign="top"',

'text' => tep_draw_input_field('cart_quantity[]', $products[$i]['quantity'], 'size="4"') . tep_draw_hidden_field('products_id[]', $products[$i]['id']));

 

$info_box_contents[$cur_row][] = array('align' => 'right',

'params' => 'class="productListing-data" valign="top"',

'text' => '<b>' . $currencies->display_price($products[$i]['final_price'], tep_get_tax_rate($products[$i]['tax_class_id']), $products[$i]['quantity']) . '</b>');

}

 

new productListingBox($info_box_contents);

?>

</td>

</tr>

<tr>

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

</tr>

<tr>

<td align="right" class="main"><b><?php echo SUB_TITLE_SUB_TOTAL; ?> <?php echo $currencies->format($cart->show_total()); ?></b></td>

</tr>

<?php

if ($any_out_of_stock == 1) {

if (STOCK_ALLOW_CHECKOUT == 'true') {

?>

<tr>

<td class="stockWarning" align="center"><br><?php echo OUT_OF_STOCK_CAN_CHECKOUT; ?></td>

</tr>

<?php

} else {

?>

<tr>

<td class="stockWarning" align="center"><br><?php echo OUT_OF_STOCK_CANT_CHECKOUT; ?></td>

</tr>

<?php

}

}

?>

<tr>

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

</tr>

<tr>

<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">

<tr class="infoBoxContents">

<td><table border="0" width="100%" cellspacing="0" cellpadding="2">

<tr>

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

<td class="main"><?php echo tep_image_submit('button_update_cart.gif', IMAGE_BUTTON_UPDATE_CART); ?></td>

<?php

$back = sizeof($navigation->path)-2;

if (isset($navigation->path[$back])) {

?>

<td class="main"><?php echo '<a href="' . tep_href_link($navigation->path[$back]['page'], tep_array_to_string($navigation->path[$back]['get'], array('action')), $navigation->path[$back]['mode']) . '">' . tep_image_button('button_continue_shopping.gif', IMAGE_BUTTON_CONTINUE_SHOPPING) . '</a>'; ?></td>

<?php

}

?>

<td align="right" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image_button('button_checkout.gif', IMAGE_BUTTON_CHECKOUT) . '</a>'; ?></td>

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

</tr>

</table></td>

</tr>

</table></form></td>

</tr>

<tr>

<td>

<?php

// ** GOOGLE CHECKOUT **

// Checks if the Google Checkout payment module has been enabled and if so

// includes gcheckout.php to add the Checkout button to the page

if (defined('MODULE_PAYMENT_GOOGLECHECKOUT_STATUS') && MODULE_PAYMENT_GOOGLECHECKOUT_STATUS == 'True') {

include_once('googlecheckout/gcheckout.php');

}

// ** END GOOGLE CHECKOUT **

?>

</td>

</tr>

<?php

} else {

?>

 

<tr>

<td align="center" class="main"><?php new infoBox(array(array('text' => TEXT_CART_EMPTY))); ?></td>

</tr>

<tr>

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

</tr>

<tr>

<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">

<tr class="infoBoxContents">

<td><table border="0" width="100%" cellspacing="0" cellpadding="2">

<tr>

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

<td align="right" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td>

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

</tr>

</table></td>

</tr>

</table></td>

</tr>

<?php

}

?>

</table></form></td>

<!-- body_text_eof //-->

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

<!-- right_navigation //-->

<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>

<!-- right_navigation_eof //-->

</table></td>

</tr>

</table>

<!-- body_eof //-->

 

<!-- footer //-->

<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>

<!-- footer_eof //-->

<br>

</body>

</html>

<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

_______

 

and any help would be fabulous.

Link to comment
Share on other sites

Hello there, I'd appreciate an answer on this if someone out there can help me.

 

I've just installed v1.4beta1 but I'm in the UK and can't seem to get it to add VAT (17.5%) on my taxable products.

 

Can anybody point me to the file to edit?

 

Cheers :thumbsup:

Link to comment
Share on other sites

Ok, the issue seemed to be with my edits to admin/modules.php. I went line by line and saw that I didnt actually have any other code changes from the original osc modules.php so I just used the file from the contrib. It's installed now.

 

Thanks for tolerating me on that one!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...