Page 1 of 2 12 LastLast
Results 1 to 10 of 416

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Posts
    226
    Plugin Contributions
    0

    Default Re: Optional Shipping Insurance Module Support Thread...

    That issue is not occuring now - however I don't know if I did anything to fix it.

    My apologies to those people who might have that problem in the future, but I don't know why it is suddenly working.

    Cheers.

  2. #2
    Join Date
    Jan 2007
    Posts
    226
    Plugin Contributions
    0

    Default Re: Optional Shipping Insurance Module Support Thread...

    Quote:
    Originally Posted by chuby2
    Thanks for this add-on !!

    Is there a way to format the text and move the checkbox to the left ?

    I added a couple of lines to the default text, and it comes out about a third of the box wide, with several rows.

    Please advise


    Hi!

    Just add this to your css:
    #checkoutPayment .inputLabel {
    width:85%;
    }

    I think that will do the trick.


    Hello.

    Where exactly in the css file do we put the above code ?

    I am also looking to format the text and move the checkbox as currently there are only a couple of words per line, as below:

    Click add optional
    insurance to your
    order. text text
    text text text.

    Thanks,
    Anthony

  3. #3
    Join Date
    Jan 2007
    Posts
    226
    Plugin Contributions
    0

    Default Re: Optional Shipping Insurance Module Support Thread...

    Hello,

    Its OK, I just added it underneath this line:

    #checkoutPayment LABEL.radioButtonLabel {
    font-weight: bold;
    }

    and it worked fine.

    Cheers.

  4. #4
    Join Date
    Jun 2005
    Posts
    109
    Plugin Contributions
    0

    Default Re: Optional Shipping Insurance Module Support Thread...

    This was a tremendous help. Would anyone know how to get the checkbox to show up before the wording?

    Thanks!

    Quote Originally Posted by xman888 View Post
    Quote:
    Originally Posted by chuby2
    Thanks for this add-on !!

    Is there a way to format the text and move the checkbox to the left ?

    I added a couple of lines to the default text, and it comes out about a third of the box wide, with several rows.

    Please advise


    Hi!

    Just add this to your css:
    #checkoutPayment .inputLabel {
    width:85%;
    }

    I think that will do the trick.


    Hello.

    Where exactly in the css file do we put the above code ?

    I am also looking to format the text and move the checkbox as currently there are only a couple of words per line, as below:

    Click add optional
    insurance to your
    order. text text
    text text text.

    Thanks,
    Anthony

  5. #5
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: Optional Shipping Insurance Module Support Thread...

    Quote Originally Posted by kenaniah View Post
    This was a tremendous help. Would anyone know how to get the checkbox to show up before the wording?

    Thanks!
    Hi there,

    OK, to do this, open up includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_payment_default.

    Around line 91, you'll see this section:
    Code:
    <fieldset>
    <legend><?php echo $selection[$i]['module']; ?></legend>
    <?php echo $selection[$i]['redeem_instructions']; ?>
    <div class="gvBal larger"><?php echo $selection[$i]['checkbox']; ?></div>
    <label class="inputLabel"<?php echo ($selection[$i]['fields'][$j]['tag']) ? ' for="'.$selection[$i]['fields'][$j]['tag'].'"': ''; ?>><?php echo $selection[$i]['fields'][$j]['title']; ?></label>
    <?php echo $selection[$i]['fields'][$j]['field']; ?>
    </fieldset>
    Replace it with this:
    Code:
    <fieldset>
    <legend><?php echo $selection[$i]['module']; ?></legend>
    <?php echo $selection[$i]['redeem_instructions']; ?>
    <div class="gvBal larger"><?php echo $selection[$i]['checkbox']; ?></div>
    <?php echo $selection[$i]['fields'][$j]['field']; ?>
    <label class="inputLabel"<?php echo ($selection[$i]['fields'][$j]['tag']) ? ' for="'.$selection[$i]['fields'][$j]['tag'].'"': ''; ?>><?php echo $selection[$i]['fields'][$j]['title']; ?></label>
    <div class="clearBoth"></div>
    </fieldset>

  6. #6
    Join Date
    Mar 2007
    Posts
    17
    Plugin Contributions
    0

    Default Re: Optional Shipping Insurance Module Support Thread...

    I need to set up shipping insurance based on several different flat rates.
    The products have free shipping but require the insurance. How do I do this.

    Thanks
    Brian

  7. #7
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: Optional Shipping Insurance Module Support Thread...

    Quote Originally Posted by Briank58 View Post
    I need to set up shipping insurance based on several different flat rates.
    The products have free shipping but require the insurance. How do I do this.

    Thanks
    Brian
    My only advice to you is to open up inlcudes/modules/order_total/ot_insurance.php and look around at the different rates (they're hard coded into the module), and see if you can adjust them to your needs. For example this section says:

    if ($order->info['subtotal'] < 50.01) {
    $insurance = 1.35;

    If the order is less than $50.01, charge $1.35.

    You may be able to do something like this, if you're charging these rates by cart total.

    Good luck!

  8. #8
    Join Date
    Mar 2007
    Posts
    17
    Plugin Contributions
    0

    Default Re: Optional Shipping Insurance Module Support Thread...

    Hmm ... I'm going to brush up on my PHP

    the only way I can think of that might work is to create a statement like:

    if ($productID=30) {
    insurance= 29.99 }

    (you get the idea)

    does this make sense?

    Brian

  9. #9
    Join Date
    Jun 2005
    Posts
    109
    Plugin Contributions
    0

    Default Re: Optional Shipping Insurance Module Support Thread...

    Thanks Jettrue!

    Is there an easy way to have the wording come directly after the checkbox as if it were in a table as opposed to below the checkbox.

    Thanks for your help!

    Michael

    Quote Originally Posted by jettrue View Post
    Hi there,

    OK, to do this, open up includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_payment_default.

    Around line 91, you'll see this section:
    Code:
    <fieldset>
    <legend><?php echo $selection[$i]['module']; ?></legend>
    <?php echo $selection[$i]['redeem_instructions']; ?>
    <div class="gvBal larger"><?php echo $selection[$i]['checkbox']; ?></div>
    <label class="inputLabel"<?php echo ($selection[$i]['fields'][$j]['tag']) ? ' for="'.$selection[$i]['fields'][$j]['tag'].'"': ''; ?>><?php echo $selection[$i]['fields'][$j]['title']; ?></label>
    <?php echo $selection[$i]['fields'][$j]['field']; ?>
    </fieldset>
    Replace it with this:
    Code:
    <fieldset>
    <legend><?php echo $selection[$i]['module']; ?></legend>
    <?php echo $selection[$i]['redeem_instructions']; ?>
    <div class="gvBal larger"><?php echo $selection[$i]['checkbox']; ?></div>
    <?php echo $selection[$i]['fields'][$j]['field']; ?>
    <label class="inputLabel"<?php echo ($selection[$i]['fields'][$j]['tag']) ? ' for="'.$selection[$i]['fields'][$j]['tag'].'"': ''; ?>><?php echo $selection[$i]['fields'][$j]['title']; ?></label>
    <div class="clearBoth"></div>
    </fieldset>

  10. #10
    Join Date
    Aug 2006
    Posts
    254
    Plugin Contributions
    0

    Default Re: Optional Shipping Insurance Module Support Thread...

    Old thread but I think this is where everyone would tell me to put it so..

    I appear to have the module installed correctly and it shows up in the Admin-modules-order total screen and can be edited but insurance does not seem to be getting added to either USPS (which I use to non-U.S.) or UPS (all U.S. shipments.

    Any common problem out there that would cause this not to work?

    Maybe I missed a thread somewhere but read most/all of them.

    Thanks.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Optional Shipping Insurance Module Question
    By kminnich in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 7 Oct 2008, 01:16 AM
  2. Optional Shipping Insurance Module
    By Darkwander in forum Addon Shipping Modules
    Replies: 2
    Last Post: 9 Oct 2006, 02:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg