Radio Button Misalignment in Payzippy Payment gateway

ThemeBurn SupportForumsOpenCart ThemesShoppica 2 OpenCart ThemeRadio Button Misalignment in Payzippy Payment gateway

This topic has been marked as resolved.

Hi,

I’m using a Payment gateway, Payzippy, and I’m facing a problem with the radio buttons. I’ve attached a screenshot showing how it is right now.
The radio buttons should align left of the text, ideally.

Would it be possible to help me with this issue?

I’ve had a look at the .tpl and this is the code which needs modification I believe:


  <p><?php echo $text_payment_method ?>:
  <?php if(in_array("CREDIT", $payment_method)){ ?><input type="radio" name="payment_method" value="CREDIT" id="credit" /> <label for="credit">Credit Card</label><?php } ?>
  <?php if(in_array("DEBIT", $payment_method)){ ?><input type="radio" name="payment_method" value="DEBIT" id="debit" /> <label for="debit">Debit Card</label><?php } ?>
  <?php if(in_array("EMI", $payment_method)){ ?><input type="radio" name="payment_method" value="EMI" id="emi" /> <label for="emi">Credit Card EMI</label><?php } ?>
  <?php if(in_array("NET", $payment_method)){ ?><input type="radio" name="payment_method" value="NET" id="net" /> <label for="net">Net Banking</label><?php } ?></p>
  <?php if(!empty($bank_name)){ ?>
  <p id="bank_name" style="display:none;"><?php echo $text_bank_name ?>:
    <select name="bank_name">
      <?php foreach($bank_name as $row){ $bank = explode('|', $row); ?>
      <option value="<?php echo $bank[0] ?>"><?php echo $bank[1] ?></option>
      <?php } ?>
    </select>
  </p>
  <?php } ?>
  <?php if(!empty($emi_name)){ ?>
  <p id="emi_name" style="display:none;"><?php echo $text_bank_name ?>:
    <select name="bank_name">
      <?php foreach($emi_name as $row){ $bank = explode('|', $row); ?>
      <option value="<?php echo $bank[0] ?>"><?php echo $bank[1] ?></option>
      <?php } ?>
    </select>
  </p>
  <?php } ?>
  <?php if(!empty($emi_name)){ ?>
  <p id="emi_months" style="display:none;"><?php echo $text_emi_name ?>:
    <select name="emi_months">
    </select>
  </p>
  <?php } ?>

 Abhas
December 18, 2013 at 3:55 pm #29571
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
December 28, 2013 at 4:38 pm #29690

Thanks, it worked perfectly. :)

 Abhas
December 29, 2013 at 6:09 am #29705

Glad we’ve helped, mate :)

BR,
ThemeBurn team

January 3, 2014 at 12:34 pm #29743
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.