<?php
$_['paypal_smart_button_setting'] = [
    'page'               => [
        'product' => [
            'code'               => 'product',
            'name'               => 'text_product_page',
            'status'             => true,
            'insert_tag'         => '#content #product #button-cart',
            'insert_type'        => 'after',
            'button_align'       => 'center',
            'button_size'        => 'responsive',
            'button_color'       => 'gold',
            'button_shape'       => 'rect',
            'button_label'       => 'paypal',
            'button_tagline'     => false,
            'message_status'     => true,
            'message_align'      => 'center',
            'message_size'       => 'responsive',
            'message_layout'     => 'text',
            'message_text_color' => 'black',
            'message_text_size'  => '12',
            'message_flex_color' => 'blue',
            'message_flex_ratio' => '8x1'
        ],
        'cart'    => [
            'code'               => 'cart',
            'name'               => 'text_cart_page',
            'status'             => true,
            'insert_tag'         => '#content',
            'insert_type'        => 'append',
            'button_align'       => 'right',
            'button_size'        => 'large',
            'button_color'       => 'gold',
            'button_shape'       => 'rect',
            'button_label'       => 'paypal',
            'button_tagline'     => false,
            'message_status'     => true,
            'message_align'      => 'right',
            'message_size'       => 'large',
            'message_layout'     => 'text',
            'message_text_color' => 'black',
            'message_text_size'  => '12',
            'message_flex_color' => 'blue',
            'message_flex_ratio' => '8x1'
        ]
    ],
    'insert_type'        => [
        'into_begin' => [
            'code' => 'prepend',
            'name' => 'text_insert_prepend'
        ],
        'into_end'   => [
            'code' => 'append',
            'name' => 'text_insert_append'
        ],
        'before'     => [
            'code' => 'before',
            'name' => 'text_insert_before'
        ],
        'after'      => [
            'code' => 'after',
            'name' => 'text_insert_after'
        ]
    ],
    'button_align'       => [
        'left'   => [
            'code' => 'left',
            'name' => 'text_align_left'
        ],
        'center' => [
            'code' => 'center',
            'name' => 'text_align_center'
        ],
        'right'  => [
            'code' => 'right',
            'name' => 'text_align_right'
        ]
    ],
    'button_size'        => [
        'small'      => [
            'code' => 'small',
            'name' => 'text_small'
        ],
        'medium'     => [
            'code' => 'medium',
            'name' => 'text_medium'
        ],
        'large'      => [
            'code' => 'large',
            'name' => 'text_large'
        ],
        'responsive' => [
            'code' => 'responsive',
            'name' => 'text_responsive'
        ]
    ],
    'button_color'       => [
        'gold'   => [
            'code' => 'gold',
            'name' => 'text_gold'
        ],
        'blue'   => [
            'code' => 'blue',
            'name' => 'text_blue'
        ],
        'silver' => [
            'code' => 'silver',
            'name' => 'text_silver'
        ],
        'white'  => [
            'code' => 'white',
            'name' => 'text_white'
        ],
        'black'  => [
            'code' => 'black',
            'name' => 'text_black'
        ]
    ],
    'button_shape'       => [
        'pill' => [
            'code' => 'pill',
            'name' => 'text_pill'
        ],
        'rect' => [
            'code' => 'rect',
            'name' => 'text_rect'
        ]
    ],
    'button_label'       => [
        'checkout'    => [
            'code' => 'checkout',
            'name' => 'text_checkout'
        ],
        'pay'         => [
            'code' => 'pay',
            'name' => 'text_pay'
        ],
        'buynow'      => [
            'code' => 'buynow',
            'name' => 'text_buy_now'
        ],
        'paypal'      => [
            'code' => 'paypal',
            'name' => 'text_pay_pal'
        ],
        'installment' => [
            'code' => 'installment',
            'name' => 'text_installment'
        ]
    ],
    'button_tagline'     => [
        'true'  => [
            'code' => 'true',
            'name' => 'text_yes'
        ],
        'false' => [
            'code' => 'false',
            'name' => 'text_no'
        ],
    ],
    'button_width'       => [
        'small'      => '200px',
        'medium'     => '250px',
        'large'      => '350px',
        'responsive' => ''
    ],
    'message_align'      => [
        'left'   => [
            'code' => 'left',
            'name' => 'text_align_left'
        ],
        'center' => [
            'code' => 'center',
            'name' => 'text_align_center'
        ],
        'right'  => [
            'code' => 'right',
            'name' => 'text_align_right'
        ]
    ],
    'message_size'       => [
        'small'      => [
            'code' => 'small',
            'name' => 'text_small'
        ],
        'medium'     => [
            'code' => 'medium',
            'name' => 'text_medium'
        ],
        'large'      => [
            'code' => 'large',
            'name' => 'text_large'
        ],
        'responsive' => [
            'code' => 'responsive',
            'name' => 'text_responsive'
        ]
    ],
    'message_width'      => [
        'small'      => '200px',
        'medium'     => '250px',
        'large'      => '350px',
        'responsive' => ''
    ],
    'message_layout'     => [
        'text' => [
            'code' => 'text',
            'name' => 'text_text'
        ],
        'flex' => [
            'code' => 'flex',
            'name' => 'text_flex'
        ]
    ],
    'message_text_color' => [
        'black' => [
            'code' => 'black',
            'name' => 'text_black'
        ],
        'white' => [
            'code' => 'white',
            'name' => 'text_white'
        ]
    ],
    'message_text_size'  => ['10', '11', '12', '13', '14', '15', '16'],
    'message_flex_color' => [
        'blue'  => [
            'code' => 'blue',
            'name' => 'text_blue'
        ],
        'black' => [
            'code' => 'black',
            'name' => 'text_black'
        ],
        'white' => [
            'code' => 'white',
            'name' => 'text_white'
        ]
    ],
    'message_flex_ratio' => ['1x1', '1x4', '8x1', '20x1']
];