Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

crossbow888

Pioneers
  • Posts

    1
  • Joined

  • Last visited

Posts posted by crossbow888

  1. Hi All,

     

    I just installed Ajax Attribute Price Change. Basically the price shown on the product page should dynamically change based on what attributes a customer chooses before they even add to the shopping cart. The contribution is for OSC 2.2, but I'm using OSC 2.3.1. The code it modifies (I used manual installation) in product_info.php is basically the same as the OSC2.2 version. I uploaded the required ajax_onchange_price.php to my catalog directory too. But when I tested it out, I get an error on line 64 with the error details saying:

     

    ----------------------------------

    Message: Unknown runtime error

    Line: 64

    Char: 5

    Code: 0

    URI: http://scoutdigitalusa.elementfx.com/catalog/product_info.php/products_id/29

    ----------------------------------

     

    When I view the source code on the page, line 64 is part of this contribution's javascript in the <head> section inside the following "if" statement:

     

    if(xmlHttpObj.readyState==4)

    {

     

    THIS IS LINE 64 ==> document.getElementById("display_price").innerHTML = xmlHttpObj.responseText;

     

    }

     

    This is a great contribution that many people were probably looking for, for a long time now. I have enough coding skill to make interface changes and such, but not in-depth in PHP and javascript. Any help will be great!

×
×
  • Create New...