Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

hodja451

Pioneers
  • Posts

    98
  • Joined

  • Last visited

Posts posted by hodja451

  1. 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>

  2. 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.

  3. This is a screen shot after I set everything to zero and saved. The settings just won't hold, and I noticed they don't ever appear in database. All of the other settings for the dashboard hold. This is just weird.

     

    GC_Dashboard.JPG

     

     

    Thanks in advance!

     

    ~Vid

    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.

  4. I am running the same version of OSC. However, I am using the USPS Methods 3.0 contribution. Perhaps you are using a different one? I would really like to get GC up and running. If I have to back out of the 3.0 contribution for another that may be an option.

    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

  5. Google installer says to do this:

    2a. <osc-directory>/catalog/admin/modules.php (LINE 45)

     

    Replace:

     

    case 'save': while (list($key, $value) = each($HTTP_POST_VARS['configuration'])) {

    tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = '" . $value . "' where configuration_key = '" . $key . "'"); }

    tep_redirect(tep_href_link(FILENAME_MODULES, 'set=' . $set . '&module=' . $HTTP_GET_VARS['module'])); break;

    With:

     

    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;

    My module has this on line 45:

    case 'save':

    while (list($key, $value) = each($HTTP_POST_VARS['configuration'])) {

    //begin USPS Mod 01/24/2010

    if( is_array( $value ) ){

    $value = implode( ", ", $value);

    $value = ereg_replace (", --none--", "", $value);

    }

    //end USPS mod 01/24/2010

    tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = '" . $value . "' where configuration_key = '" . $key . "'");

    }

    tep_redirect(tep_href_link(FILENAME_MODULES, 'set=' . $set . '&module=' . $HTTP_GET_VARS['module']));

     

    break;

    Any suggestions are welcomed.

    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;

    }

    }

  6. Hi all;

     

    I ran a test through sandbox and apparently google has stopped working again.

    Even with a US shipping address, I get the box "You do not have a shipping method" blah blah

    Can anyone help me with this thing? I will even pay someone to get this working properly and

    also set up international shipping as long as the rate is reasonable. I haven't had an order in 2 months and this is my living

    here.

     

    HELP !!!!

    Could be that aside from shipping options on your website, you need to set them up at GoogleCheckout as well.

  7. Does this ring a bell?

     

    Using v2.2 RC2, with an add on that I think was called Discount Coupon Codes.

     

    While in admin/orders.php with action=edit, if the customer has used a coupon, the coupon has a line in the total column, but the email functionality is missing. Missing are: A handy table: Date Added Customer Notified Status. Then a text box: Comments, Status drop down, Notify Customer check box, and an Append Comments checkbox, and the submit button. All of these elements are missing when a coupon was used. Everything works fine otherwise.

     

    Any ideas?

     

    Thanks,

    Walter

  8. My shipping module works smoothly. The USPS rates are "up to", so 4 oz is up to 4oz, or, up to .25 lbs. Store items that weigh .26 return the 4oz weight and price from the USPS server. So on a .26 item, the customer is charged for 4 oz, I weigh and pay for 5 oz.

     

    My Package Tare weight is set at zero.

     

    Naturally, I can just switch all .26 and .27 to .28, which is easy in Easy Populate, but I am amazed that no one seems to have mentioned this and I'm afraid some technicality is in play.

     

    Any ideas?

     

    Thanks,

    Walter

  9. who can help me,i need this help

     

    Reverse engineer. Look at easypopulate.php decide which block you want to use to download them. Find a line that downloads a field. Copy and paste that line. Now that section downloads that field twice. Check the name of the field in your database, alter the pasted line to that name. Don't forget the v_ and table name the same way as it is in the line you copied, in other words, use the same method. I think reading the comments on the actual easypopulate.php helped me the first time i did it. After you do it, if it doesn't work, but you have demonstrated the willingness to try, and made a mistake, then people will help you, either someone smart, or me!

     

    Walter

  10. I am using EasyPopulate, and I need a solution for two things:

     


    1.  
    2. An ability to incorporate short term "instant" rebates, and their expiration dates. These will be deducted at the time of check out.
    3. An ability to incorporate and manage manufacturer "mail in" rebates, and their expiration dates. These discounts will not be deducted at the time of check out, but I would like to show an adjusted "After Mail In Rebate" price on the product page, so that customers can see how the rebate will afect them. I would also like to report the "After Mail In Rebate Price" to Froogle.

     

    Thanks!!

     

    Wow! Easy populate has nothing to do with any of that. You need to search the contributions for something like that and if not found, hire a programmer. Once your set-up can do that, you can modify Easy Populate to easily export, edit and import those fields. Understand that this is a tall order. Configuring Easy Populate to manage it later is simple.

     

    Walter

     

    (Don't mean to step on your toes Surfalot, but you're very helpful and don't need this)

  11. Hi again, thanks for the help.

     

    Done that and still cannot see google checkout in the payment modules.

     

     

    Shall I try and reload the other files aswell?

     

    Thanks

     

    You probably missed uploading a file. If you upload them all again, you will miss the same one again. Just double check each page that the module altered, and make sure that each one was uploaded to the correct directory. I think I had missed \catalog\includes\languages\english\modules\payment\googlecheckout.php

     

    Good luck!

     

    Walter

  12.  

    #2 - when I go to checkout it doesn't show the GC as a payment option.

     

    I don't fully understand your problem, but it may help you to realize that Googles selling point to the buyer is that you don't need to create an account at the website, you just add to cart, then procede to login at Google Checkout. Once the buyer logs into your site, Google is unavailable. I suppose this is to protect their business model and it's probably not a problem because regular users of Google know this. While testing every angle, you're doing something a regular Google shopper wouldn't do. First time Google Checkout user? Well, I guess they're screwed until they figure it out.

×
×
  • Create New...