Knowledgebase:
Adding Diners Club and JCB to Payment methods on OSEL
Posted by , Last modified by Stacey Atkins on 15 December 2015 11:49 AM

Disclaimer

This will work for stores on Miva Version 9.0 or newer. Note that this will require making changes to files on the server. Make sure you make a backup of any files you will be altering.These edits are low-risk but if you feel uncomfortable with making these changes then we advise you to seek help from a developer. 

 

Issue

On the OSEL page where the user selects a credit card type there are 2 images for American Express/2 images for Discover Card. The second image takes you to Diner's Club/JCB

SUIVANT THEME

Instructions

 

Add the attached images to the following directory via FTP httpdocs > images > icons

Add the following to the paymentmethods foreach 

 

Look for <mvt:assign name="l.settings:payment:method:image" value="'../images/icons/logo_paypal.png'" />

Add the code below after this line.

<mvt:elseif expr="'DC' EQ l.settings:method:code">
<mvt:assign name="l.settings:payment:method:image" value="'../images/icons/logo_diners.png'" />

<mvt:elseif expr="'JCB' EQ l.settings:method:code">
<mvt:assign name="l.settings:payment:method:image" value="'../images/icons/logo_jcb.png'" /> 
</mvt:if>



Attachments 
 
 logo_diners.png (6.76 KB)
 logo_jcb.png (4.49 KB)
(1 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.

Help Desk Software by Kayako support.miva.com/supportsuite/index.php?