WordPress.org

Plugin Directory

Changeset 1283158


Ignore:
Timestamp:
11/10/15 09:38:32 (23 months ago)
Author:
seuser
Message:

Update ordered list formatting

Location:
wpec-targetpay-for-wp-e-commerce/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wpec-targetpay-for-wp-e-commerce/trunk/classes/wpscTargetpay.class.php

    r1272898 r1283158  
    7474        //setup js 
    7575        wp_register_script( 'magnificPopupJs', plugins_url( '../assets/js/magnific-popup.min.js', __FILE__ ) ); 
     76         
     77        //enqueue wp core scripts for colour picker 
     78        add_action( 'admin_enqueue_scripts', array( $this, 'wpscTargetpayColorPicker' ) ); 
    7679 
    7780    } 
     
    591594                case 'true_false'; 
    592595                    $return .= '<input type="hidden" name="'.$key.'" value="0" />'; 
    593                     $return .= '<input type="checkbox" name="'.$key.'" value="1" '.( $options && $options[$key] ? 'checked="checked"' : '' ).' />'; 
     596                    $return .= '<input type="checkbox" name="'.$key.'" id="'.$key.'" value="1" '.( $options && $options[$key] ? 'checked="checked"' : '' ).' />'; 
    594597                    break; 
    595598                default: 
     
    629632    } 
    630633 
     634    /** 
     635     * Enqueue colour picker scripts. 
     636     */ 
     637    public function wpscTargetpayColorPicker() { 
     638 
     639        if ( is_admin() ) { 
     640            wp_enqueue_style( 'wp-color-picker' );  
     641            wp_enqueue_script( 'wp-e-commerce-targetpay-color-picker', plugins_url( '../assets/js/color-picker.js', __FILE__ ), array( 'wp-color-picker' ), false, true );  
     642        } 
     643         
     644    } 
     645 
    631646} 
  • wpec-targetpay-for-wp-e-commerce/trunk/readme.txt

    r1283129 r1283158  
    2020= How it works = 
    2121 
    22 1. When a visitor goes to checkout they will see the new payment option which will be "iDEAL via Targetpay" by default (but you can name it as you would like)., 2. If a visitor chooses that payment method a responsive popup window will appear prompting them to choose their bank first., 3. Once they have chosen their bank they will be taken to the bank's iDEAL payment page., 4. TargetPay will let the website know how the transaction when and that information is used to update the Store Sale and adds that information to the WP E-Commerce purchase logs. 
     221. When a visitor goes to checkout they will see the new payment option which will be "iDEAL via Targetpay" by default (but you can name it as you would like). 
     232. If a visitor chooses that payment method a responsive popup window will appear prompting them to choose their bank first. 
     243. Once they have chosen their bank they will be taken to the bank's iDEAL payment page. 
     254. TargetPay will let the website know how the transaction when and that information is used to update the Store Sale and adds that information to the WP E-Commerce purchase logs. 
    2326 
    2427= If something goes wrong = 
Note: See TracChangeset for help on using the changeset viewer.