Re: fixed rates

Posts: 2267
Joined: 08/07/2007
AdministratoreLiTe!

You can make a tiny module that loads a javascript file on the checkout page. It doesn't even have to be a separate file, just this snippet of code:

<?php
  drupal_add_js
('$(document).ready(function(){
    $("input[@id*=quote-button]").click();
  });'
, 'inline');
?>

Is there a way to skip "Click to Calculate Shipping" By: stompeers (7 replies) Mon, 11/05/2007 - 16:53