Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

cannuck1964

Members
  • Posts

    1,043
  • Joined

  • Last visited

  • Days Won

    2

cannuck1964 last won the day on November 10 2021

cannuck1964 had the most liked content!

About cannuck1964

  • Birthday 06/30/1964

Profile Information

  • Real Name
    Peter McGrath
  • Gender
    Male
  • Location
    Ontario, Canada
  • Interests
    osCommerce development, customization and related services. I provide code development not found here on the osCommerce site, implementing functionality built to meet your business needs. If you need contributions installed or modified, I have worked with osC for many years and understand the code very well.
  • Website

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

cannuck1964's Achievements

  1. My version of osC is 2.3.4++ I do a lot of upgrades and do not follow all of the osC releases. Tried the new one and same thing, no luck. I think I will try upgrading my jQuery and bootstrap versions, maybe that will help, not sure when I did so last. thanks Peter
  2. Thanks Demitry, but no, that does not work either. Normally I do not have a lot of issues with javascript, but this one is just not quite right. I suspect a conflict somewhere.
  3. And adding in the line: var sn=$("#inputState").val(); does not help. cheers Peter
  4. I have the developer module running. did not think this would be a hard contribution to install, but this is the error : Uncaught ReferenceError: sn is not defined <anonymous> https://dev.mrboxonline.com/quote_history.php:127 Coming from this code: window.addEventListener('DOMContentLoaded', function() { if($("#inputCountry").val()==""){ $("#inputCountry").val('223'); } if($("#inputCountry").val()!=""){ $("label[for='inputState']+div").html(''),id_country=$("#inputCountry").val(),$.post("states.php",{country_id:id_country,state_name:sn},function(a){ $("label[for='inputState']+div").html(a) } ) } }); sn (state name) is not defined for some reason. cheers Peter
  5. Thanks Jack, no did not work. I might just move past it, as my guess it is a conflict somewhere. I have a lot of JS on the site, looking to actually move all cart functions to AJAX calls. I use a lot of modals to login, create accounts etc. cheers Peter
  6. This is the form input I am using: <div class="md-form pb-3"> <div class="form-group has-feedback"> <label for="inputState" class="control-label col-sm-6">State/Province:</label> <select name="state" placeholder="Enter State" required aria-required="true" aria-describedby="atState" id="inputState" class="form-control validate white-text" > <option value="1">Alabama</option><option value="2">Alaska</option><option value="4">Arizona</option><option value="5">Arkansas</option><option value="12">California</option><option value="13">Colorado</option><option value="14">Connecticut</option><option value="15">Delaware</option><option value="16">District of Columbia</option><option value="18" selected="selected">Florida</option><option value="19">Georgia</option><option value="21">Hawaii</option><option value="22">Idaho</option><option value="23">Illinois</option><option value="24">Indiana</option><option value="25">Iowa</option><option value="26">Kansas</option><option value="27">Kentucky</option><option value="28">Louisiana</option><option value="29">Maine</option><option value="31">Maryland</option><option value="32">Massachusetts</option><option value="33">Michigan</option><option value="34">Minnesota</option><option value="35">Mississippi</option><option value="36">Missouri</option><option value="37">Montana</option><option value="38">Nebraska</option><option value="39">Nevada</option><option value="40">New Hampshire</option><option value="41">New Jersey</option><option value="42">New Mexico</option><option value="43">New York</option><option value="44">North Carolina</option><option value="45">North Dakota</option><option value="47">Ohio</option><option value="48">Oklahoma</option><option value="49">Oregon</option><option value="51">Pennsylvania</option><option value="53">Rhode Island</option><option value="54">South Carolina</option><option value="55">South Dakota</option><option value="56">Tennessee</option><option value="57">Texas</option><option value="58">Utah</option><option value="59">Vermont</option><option value="61">Virginia</option><option value="62">Washington</option><option value="63">West Virginia</option><option value="64">Wisconsin</option><option value="65">Wyoming</option></select> </div> </div> <div class="md-form pb-3"> <div class="form-group has-feedback"> <label for="inputCountry" class="control-label col-sm-6">Country:</label> <select name="country" required aria-required="true" aria-describedby="atCountry" id="inputCountry"><option value="" selected="selected">Please Select</option><option value="38">Canada</option><option value="223">United States</option></select> </div> </div>
  7. I want to run this on every page load. I am using : $(document).ready(function(){ if($("#inputCountry").val()==""){ $("#inputCountry").val('223'); } if($("#inputCountry").val()!=""){ $("label[for='inputState']+div").html('<i class="fa fa-spinner fa-spin fa-2x fa-fw" style="margin-top:2px; margin-bottom:9px; margin-left:0px;"></i>'),id_country=$("#inputCountry").val(),$.post("states.php",{country_id:id_country,state_name:sn},function(a){ $("label[for='inputState']+div").html(a) } ) } }); The state does not change from USA to Canada. I have put the script below the drop downs in the code. Not sure why it is not though, is there a specific BS version I need to be using or some tool in the BS release?
  8. I am currently working on that right now. The usage of "each" is all over the place and was my starting point. Is a slow and tedious job, since this function is used extensively all over the files.
  9. You would have to look at the shipto (or billto) address and put a filter on the payment modules being displayed out (or modify the module).
  10. Hi, I have developed a CIM frame work for authorize. CIM uses XML for communication, and allows for a host of newer features. I am just looking to implement an update to the error handling on expired cards.
  11. For hosted forms. For XML it is the preferred method of implementation The link I sent is for XML implementation classes Hosted forms have not been in use for a very long time now. cheers Peter
  12. The CIM method has a lot of added functionality. You can use it to save credit card data with authorize.net in a PCI safe manor, and subscription etc easily implemented. I have built the CIM based system to save card info etc. I will see if I have some time to put a package together, just that the extraction etc will take some work to do and not sure I have the time until after vacation and work load. There are some class implementations if anyone wants to start it up on development: https://github.com/stymiee/Authorize.Net-XML cheers Peter
  13. This generally means the SOAP library is not installed on the server. This library is needed for the module to communicate with fedex. You may want to contact your hosting provider and ask them about it. cheers Peter
  14. Actually Jack the TLS1.2 requirement will be in 4 months (Sept 18, 2017).
×
×
  • Create New...