Jump to content

Gateway Logos


Recommended Posts

I am trying to add a gateway logos in Foundation after the text on the checkout page. I have modified line 22 of content.gateway.php to

 <label for="{$gateway.folder}">{$gateway.description} <img src="https://www.example.com/modules/gateway/{$gateway.folder}/admin/logo.gif"/></label> 

 but no images appear?

Link to comment
Share on other sites

<div class="row">
         <div class="small-12 columns">
            <ul class="no-bullet center" id="gateway_error">
                              <li>
                  <input name="gateway" type="radio" value="Card_Capture" id="Card_Capture" required  rel="gateway_error"><label for="Card_Capture">Credit or Debit Card</label>
                                 </li>
                              <li>
                  <input name="gateway" type="radio" value="Cash_On_Delivery" id="Cash_On_Delivery" required  rel="gateway_error"><label for="Cash_On_Delivery">Cash On Delivery</label>
                                 </li>
                              <li>
                  <input name="gateway" type="radio" value="PayPal" id="PayPal" required  rel="gateway_error"><label for="PayPal">PayPal</label>
                                 </li>
                           </ul>
            <div class="hide" id="validate_gateway_required">Please select a payment method.</div>
         </div>
      </div>

The HTML I put there seems to have disappeared?

Link to comment
Share on other sites

I think, depending on what's happening and the viewport size, CC6 is using either content.gateway.php (which is a separate step at checkout), or is using content.checkout.php (which now includes the gateways getting listed at the bottom of the View Basket screen).

Link to comment
Share on other sites

  • 10 months later...

I added image and I have installed two gateway, the image show on both gateway at checkout and if I add text in plugin setting it also show text left side of image.

Q, can I hide it from one gateway and show to only for one gateway?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...