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.
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.
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
Hello,
Its OK, I just added it underneath this line:
#checkoutPayment LABEL.radioButtonLabel {
font-weight: bold;
}
and it worked fine.
Cheers.
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:
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> <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>
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>
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!
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
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.