Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Feb 2009
    Posts
    24
    Plugin Contributions
    0

    red flag multiple radio button for same module

    Hi Guys,

    I have a payment module installed for my payment gateway . The same payment gateway has multiple options once the customers are redirected there ..like netbanking credit cards etc etc but on the payment method page (on zencart) we can have only one radio button since its a single module .

    I wish to have multiple radio buttons for the same module diffrent labels to improve the experience for the end user . How can I go ahead doing that ? The module id is "ebs2_5" . Any help would be appreciated.

    One example would be having a radio button labelled Credit Card and one labelled PayPal for the same paypal module .

    Thanks.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: multiple radio button for same module

    This appears to be some 3rd party payment module...
    We do not even know what the code is as it is not part of the default distribution
    Do you know who wrote the module?
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Feb 2009
    Posts
    24
    Plugin Contributions
    0

    Default Re: multiple radio button for same module

    Hi ,

    I have attached the module . Though what i want is to display more radio buttons(options) for a particular payment module with diffrent labels on the payment selection page.

    Thanks.
    Attached Files Attached Files

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: multiple radio button for same module

    Someone might have a look at this???

    You might also try posting in the commercial help area
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Feb 2009
    Posts
    24
    Plugin Contributions
    0

    Default Re: multiple radio button for same module

    guys,
    i found a workaround for my problem ...
    open up tpl_checkout_payment_default.php in the templates folder.

    Scroll down to line which reads "<label for="pmt-<?php echo $selection[$i]['id']; ?>" class="radioButtonLabel"><?php echo $selection[$i]['module']; ?></label>"
    just below that add something like this :

    <input type="radio" name="payment" value="ebs2_5" id="pmt-ebs2_51" /><label for="pmt-ebs2_51" class="radioButtonLabel">your label</label>

    where :
    i)ebs2_5 was my unique module id for which i wanted to implement this feature
    ii) also ensure the id tag is unique for every radio button to create

    let me know for any further help ...

 

 

Similar Threads

  1. Replies: 1
    Last Post: 13 Oct 2011, 09:13 PM
  2. radio button styles for attributes
    By earmsby in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 10 Nov 2009, 09:27 PM
  3. Payment module radio button
    By rocketrod in forum Built-in Shipping and Payment Modules
    Replies: 22
    Last Post: 30 Aug 2007, 06:24 AM
  4. No radio button for PayPal IPN as sole payment module
    By sakwoya in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 23 May 2007, 11:25 PM
  5. Default selection for Radio Button
    By absoluteblock in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 2 Nov 2006, 11:46 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