-
Content count
98 -
Joined
-
Last visited
Profile Information
-
Real Name
Walter Doherty
-
Gender
Male
-
Interests
Todd Rundgren, New York Mets
- Website
Recent Profile Visitors
-
My problem is that on the /Admin-renamed/orders.php, the insertion of the debug script stops before it's done, and the end comment tag is never inserted. This essentially comments out the rest of the page. Does anyone know anything that could even cause such behavior? Thanks, Walter From /Admin-renamed/orders.php <td align="right" colspan="8"><table border="0" cellspacing="0" cellpadding="2"> <?php for ($i = 0, $n = sizeof($order->totals); $i < $n; $i++) { echo ' <tr>' . "\n" . ' <td align="right" class="smallText">' . $order->totals[$i]['title'] . '</td>' . "\n" . ' <td align="right" class="smallText">' . $order->totals[$i]['text'] . '</td>' . "\n" . ' </tr>' . "\n"; } ?> </table></td> Online output from /Admin-renamed/orders.php <td align="right" colspan="8"><table border="0" cellspacing="0" cellpadding="2"> <tr> <td align="right" class="smallText">Sub-Total:</td> <td align="right" class="smallText">$12.49</td> </tr> <tr> <td align="right" class="smallText">Discount Coupon Laura applied:</td> <td align="right" class="smallText">-$1.25 <!-- Discount Coupons DEBUG order Object ( [info] => Array ( [order_status] => 1 [currency] => USD [currency_value] => 1.00000000 [payment_method] => PayPal (including Credit Cards and De</td> </tr> <tr> <td align="right" class="smallText">United States Postal Service (1 x 5oz) (First Class Mail: Estimated 1 - 5 Days):</td> <td align="right" class="smallText">$2.24</td> </tr> <tr> <td align="right" class="smallText">Total:</td> <td align="right" class="smallText"><b>$13.48</b></td> </tr> </table></td> </tr> </table></td>
-
Thank you Geoffrey, the American community appreciates your input.
-
Easy populate + Different Supplier prices
hodja451 replied to phoenix90's topic in General Add-Ons Support
I have done this. First, the v does something, so use v_suppliers_group_id, not suppliers_group_id. Next, easy populate works with the products table and warns that it may not work with other tables, so instead of a new suppliers database table, just add onto the products table. I would pick an existing field like v_products_name_1, and mimic it. Go into PHP MyAdmin and look at the v_products_name_1 field in the data base. Add your fields in that table, mimicking the structure. Then go to your Easy Populate PHP pages, and mimic those lines adding your fields. Worked for me. -
Offical Google Checkout module for osCommerce Support Thread
hodja451 replied to Silverado05's topic in Other
Google uses your weight, but not your shipping quote from USPS, it gets it's own, and fails. Or so I've read. Make sure the check boxes above jive with what your picking. -
Offical Google Checkout module for osCommerce Support Thread
hodja451 replied to Silverado05's topic in Other
Neither? PayPal Website Payments Standard. -
Offical Google Checkout module for osCommerce Support Thread
hodja451 replied to Silverado05's topic in Other
Maybe it no longer allows it because it doesn't make sense to disable it, or they don't want to lose the sale. Why would you not want a backup method? Also I can tell you that GoogleCheckout fails to contact the Post Office about 50% of the time. My site gets a postage quote from the Post office 100% of the time, I have never seen it fail. I have this on my webpage: GoogleCheckout: The GoogleCheckout payment service does not accept the shipping cost that my website fetches from the USPS. GoogleCheckout must fetch the rate itself. At times, Googlecheckout can not fetch the rate at all, then, Shipping will be a default rate of $2.50. In such times if you refresh, Googlecheckout tries to fetch the rate again. -
Offical Google Checkout module for osCommerce Support Thread
hodja451 replied to Silverado05's topic in Other
Do you have an SSL certificate? -
Offical Google Checkout module for osCommerce Support Thread
hodja451 replied to Silverado05's topic in Other
The somehow is the word "require". I think "require" is like "read it in here". require(DIR_FS_CATALOG . 'googlecheckout/inserts/admin/modules2.php') -
Offical Google Checkout module for osCommerce Support Thread
hodja451 replied to Silverado05's topic in Other
No. You shouldn't alter Modules2.php -
Offical Google Checkout module for osCommerce Support Thread
hodja451 replied to Silverado05's topic in Other
I am using the USPS Methods 3.0 contribution. I see that the //begin USPS Mod 01/24/2010 code that you are hesitant to replace, is contained within the referenced googlecheckout/inserts/admin/modules2.php, so it's the same thing, just replace it. -
Offical Google Checkout module for osCommerce Support Thread
hodja451 replied to Silverado05's topic in Other
I believe I have methods, I don't know what version. The top says: $Id: usps.php 3.0.2 2009-01-02 04:59:07Z user $ ++++ Original contribution by Brad Waite and Fritz Clapp ++++ ++++ incorporating USPS revisions to service names ++++ Copyright 2008 osCommerce Released under the GNU General Public License -
Offical Google Checkout module for osCommerce Support Thread
hodja451 replied to Silverado05's topic in Other
I use osCommerce Online Merchant v2.2 RC2 -
Offical Google Checkout module for osCommerce Support Thread
hodja451 replied to Silverado05's topic in Other
I use USPS only, and your //begin USPS Mod 01/24/2010 if( is_array( $value ) ){ $value = implode( ", ", $value); $value = ereg_replace (", --none--", "", $value); } //end USPS mod 01/24/2010 Appears nowhere on my modules.php I have: if (tep_not_null($action)) { switch ($action) { case 'save': // *** BEGIN GOOGLE CHECKOUT *** require(DIR_FS_CATALOG . 'googlecheckout/inserts/admin/modules2.php'); // *** END GOOGLE CHECKOUT *** tep_redirect(tep_href_link(FILENAME_MODULES, 'set=' . $set . '&module=' . $HTTP_GET_VARS['module'])); break; case 'install': case 'remove': $file_extension = substr($PHP_SELF, strrpos($PHP_SELF, '.')); $class = basename($HTTP_GET_VARS['module']); if (file_exists($module_directory . $class . $file_extension)) { include($module_directory . $class . $file_extension); $module = new $class; if ($action == 'install') { $module->install(); } elseif ($action == 'remove') { $module->remove(); } } tep_redirect(tep_href_link(FILENAME_MODULES, 'set=' . $set . '&module=' . $class)); break; } } -
Offical Google Checkout module for osCommerce Support Thread
hodja451 replied to Silverado05's topic in Other
Could be that aside from shipping options on your website, you need to set them up at GoogleCheckout as well.