PATH:
home
/
letacommog
/
rdvenunclick.fr1
/
wp-content
/
plugins
/
woo-custom-product-addons
/
includes
<?php $translations = [ 'addOption' => __('Add Option +', 'wcpa-text-domain'), 'allFieldsRemoved' => __('All fields were removed.', 'wcpa-text-domain'), 'allowMultipleFiles' => __('Allow users to upload multiple files', 'wcpa-text-domain'), 'autocomplete' => __('Autocomplete', 'wcpa-text-domain'), 'button' => __('Button', 'wcpa-text-domain'), 'cannotBeEmpty' => __('This field cannot be empty', 'wcpa-text-domain'), 'checkboxGroup' => __('Checkbox Group', 'wcpa-text-domain'), 'checkbox' => __('Checkbox', 'wcpa-text-domain'), 'checkboxes' => __('Checkboxes', 'wcpa-text-domain'), 'className' => __('Class', 'wcpa-text-domain'), 'clearAllMessage' => __('Are you sure you want to clear all fields?', 'wcpa-text-domain'), 'clear' => __('Clear', 'wcpa-text-domain'), 'close' => __('Close', 'wcpa-text-domain'), 'content' => __('Content', 'wcpa-text-domain'), 'copy' => __('Copy To Clipboard', 'wcpa-text-domain'), 'copyButton' => __('+', 'wcpa-text-domain'), 'copyButtonTooltip' => __('Copy', 'wcpa-text-domain'), 'dateField' => __('Date Field', 'wcpa-text-domain'), 'description' => __('Help Text', 'wcpa-text-domain'), 'descriptionField' => __('Description', 'wcpa-text-domain'), 'devMode' => __('Developer Mode', 'wcpa-text-domain'), 'editNames' => __('Edit Names', 'wcpa-text-domain'), 'editorTitle' => __('Form Elements', 'wcpa-text-domain'), 'editXML' => __('Edit XML', 'wcpa-text-domain'), 'enableOther' => __('Enable "Other"', 'wcpa-text-domain'), 'enableOtherMsg' => __('Let users to enter an unlisted option', 'wcpa-text-domain'), 'fieldNonEditable' => __('This field cannot be edited.', 'wcpa-text-domain'), 'fieldRemoveWarning' => __('Are you sure you want to remove this field?', 'wcpa-text-domain'), 'fileUpload' => __('File Upload', 'wcpa-text-domain'), 'formUpdated' => __('Form Updated', 'wcpa-text-domain'), 'getStarted' => __('Drag a field from the right to this area', 'wcpa-text-domain'), 'header' => __('Header', 'wcpa-text-domain'), 'edit' => __('Edit', 'wcpa-text-domain'), 'hidden' => __('Hidden Input', 'wcpa-text-domain'), 'inline' => __('Inline', 'wcpa-text-domain'), 'inlineDesc' => __('Display {type} inline', 'wcpa-text-domain'), 'label' => __('Label', 'wcpa-text-domain'), 'labelEmpty' => __('Field Label cannot be empty', 'wcpa-text-domain'), 'limitRole' => __('Limit access to one or more of the following roles:', 'wcpa-text-domain'), 'mandatory' => __('Mandatory', 'wcpa-text-domain'), 'maxlength' => __('Max Length', 'wcpa-text-domain'), 'minOptionMessage' => __('This field requires a minimum of 2 options', 'wcpa-text-domain'), 'minSelectionRequired' => __('Minimum {min} selections required', 'wcpa-text-domain'), 'multipleFiles' => __('Multiple Files', 'wcpa-text-domain'), 'name' => __('Name', 'wcpa-text-domain'), 'no' => __('No', 'wcpa-text-domain'), 'price' => __('Price', 'wcpa-text-domain'), 'noFieldsToClear' => __('There are no fields to clear', 'wcpa-text-domain'), 'number' => __('Number', 'wcpa-text-domain'), 'off' => __('Off', 'wcpa-text-domain'), 'on' => __('On', 'wcpa-text-domain'), 'option' => __('Option', 'wcpa-text-domain'), 'options' => __('Options', 'wcpa-text-domain'), 'optional' => __('optional', 'wcpa-text-domain'), 'optionLabelPlaceholder' => __('Label', 'wcpa-text-domain'), 'optionValuePlaceholder' => __('Value', 'wcpa-text-domain'), 'optionEmpty' => __('Option value required', 'wcpa-text-domain'), 'other' => __('Other', 'wcpa-text-domain'), 'paragraph' => __('Paragraph', 'wcpa-text-domain'), 'separator' => __('Separator', 'wcpa-text-domain'), 'placeholder' => __('Placeholder', 'wcpa-text-domain'), 'placeholder_value' => __('Value', 'wcpa-text-domain'), 'placeholder_price' => __('Price', 'wcpa-text-domain'), 'placeholder_label' => __('Label', 'wcpa-text-domain'), 'placeholder_text' => __('', 'wcpa-text-domain'), 'placeholder_textarea' => __('', 'wcpa-text-domain'), 'placeholder_email' => __('Enter your email', 'wcpa-text-domain'), 'placeholder_placeholder' => __('', 'wcpa-text-domain'), 'placeholder_className' => __('space separated classes', 'wcpa-text-domain'), 'placeholder_password' => __('Enter your password', 'wcpa-text-domain'), 'placeholder_tooltip' => __('ToolTip/Description', 'wcpa-text-domain'), 'preview' => __('Preview', 'wcpa-text-domain'), 'radioGroup' => __('Radio Group', 'wcpa-text-domain'), 'radio' => __('Radio', 'wcpa-text-domain'), 'removeMessage' => __('Remove Element', 'wcpa-text-domain'), 'removeOption' => __('Remove Option', 'wcpa-text-domain'), 'remove' => __('×', 'wcpa-text-domain'), 'required' => __('Required', 'wcpa-text-domain'), 'richText' => __('Rich Text Editor', 'wcpa-text-domain'), 'roles' => __('Access', 'wcpa-text-domain'), 'rows' => __('Rows', 'wcpa-text-domain'), 'save' => __('Save', 'wcpa-text-domain'), 'selectOptions' => __('Options', 'wcpa-text-domain'), 'select' => __('Select', 'wcpa-text-domain'), 'choose_relation' => __('Select Relation', 'wcpa-text-domain'), 'selectColor' => __('Select Color', 'wcpa-text-domain'), 'selectionsMessage' => __('Allow Multiple Selections', 'wcpa-text-domain'), 'size' => __('Size', 'wcpa-text-domain'), 'size_xs' => __('Extra Small', 'wcpa-text-domain'), 'size_sm' => __('Small', 'wcpa-text-domain'), 'size_m' => __('Default', 'wcpa-text-domain'), 'size_lg' => __('Large', 'wcpa-text-domain'), 'style' => __('Style', 'wcpa-text-domain'), 'styles_btn_default' => __('Default', 'wcpa-text-domain'), 'styles_btn_danger' => __('Danger', 'wcpa-text-domain'), 'styles_btn_info' => __('Info', 'wcpa-text-domain'), 'styles_btn_primary' => __('Primary', 'wcpa-text-domain'), 'styles_btn_success' => __('Success', 'wcpa-text-domain'), 'styles_btn_warning' => __('Warning', 'wcpa-text-domain'), 'subtype' => __('Type', 'wcpa-text-domain'), 'text' => __('Text Field', 'wcpa-text-domain'), 'password' => __("Password", 'wcpa-text-domain'), 'email' => __("Email", 'wcpa-text-domain'), 'textArea' => __('Text Area', 'wcpa-text-domain'), 'toggle' => __('Toggle', 'wcpa-text-domain'), 'warning' => __('Warning!', 'wcpa-text-domain'), 'value' => __('Value', 'wcpa-text-domain'), 'viewJSON' => __('{ }', 'wcpa-text-domain'), 'viewXML' => __('</>', 'wcpa-text-domain'), 'yes' => __('Yes', 'wcpa-text-domain'), 'priceOptions' => __('Price Options', 'wcpa-text-domain'), 'enablePrice' => __('Enable Price', 'wcpa-text-domain'), 'pricingType' => __('Pricing Type', 'wcpa-text-domain'), 'clearSelection' => __('Clear Selection', 'wcpa-text-domain'), 'color' => __('Color Picker', 'wcpa-text-domain'), 'datetimeLocal' => __('Date Time', 'wcpa-text-domain'), 'time' => __('Time', 'wcpa-text-domain'), 'cl_field' => __('Fields', 'wcpa-text-domain'), 'cl_rule' => __('Logic Action', 'wcpa-text-domain'), 'cl_relation' => __('Relation', 'wcpa-text-domain'), 'cl_val' => __('Value', 'wcpa-text-domain'), 'imageGroup' => __("Image Group", 'wcpa-text-domain'), 'uploadsize' => [ "first" => __("Max File Size(in MB)",'wcpa-text-domain'), "second" => __("(Leave blank for no limit)",'wcpa-text-domain') ], 'enable_popup' => [ "first"=>__("Enable PopUp",'wcpa-text-domain'), "second"=>__("Users can see full image on clicking the zoom icon provided",'wcpa-text-domain') ], 'minuploadsize'=>[ "first"=>__('Min File Size Required(in MB)','wcpa-text-domain'), "second"=>__('Leave blank for no limit','wcpa-text-domain') ], 'form_id'=>[ "first"=>__('Select form','wcpa-text-domain'), "second"=>__('You can select a form to include here','wcpa-text-domain') ], 'placeselector'=>__('Google Place Selector', 'wcpa-text-domain'), 'formselector'=>__('Global Form', 'wcpa-text-domain'), 'map_height'=>__('Map Height (in px)', 'wcpa-text-domain'), 'colorGroup'=>__('Color Group', 'wcpa-text-domain'), 'selection_type'=>__('Item selection style', 'wcpa-text-domain'), 'disp_size'=>__('Item display size in pixel(px)', 'wcpa-text-domain'), 'disp_size_img'=>[ "first"=>__('Image display size in pixel','wcpa-text-domain'), "second"=>__('(Leave blank or 0 to use default image size)','wcpa-text-domain') ], 'disp_type'=>__('Box display type', 'wcpa-text-domain'), 'cart_display_type'=>[ "first"=>__('Display color box in cart','wcpa-text-domain'), "second"=>__('It can be the same box as like in product page or just label/values','wcpa-text-domain') ], 'excl_chars_frm_length'=>[ "first"=>__('Characters to exlude','wcpa-text-domain'), "second"=>__('Enter all characters to exlude for counting, use \\s for space, or enable regular expression from below and enter regex code ','wcpa-text-domain') ], 'allowed_chars'=>[ "first"=>__('Allowed Characters(Regex)','wcpa-text-domain'), "second"=>__('Use regular expression ','wcpa-text-domain') ], 'img_selection_type'=>__('Image selection type', 'wcpa-text-domain'), 'date_pic_conf'=>[ "first"=>__('Configuration (JSON format)','wcpa-text-domain'), "second"=>__('Wordpress SHORTCODE is also supported','wcpa-text-domain') ], 'elementId'=>__('Element ID', 'wcpa-text-domain'), 'exts_supported'=>[ "first"=>__('File extentions Supported','wcpa-text-domain'), "second"=>__('Example: jpg,jpeg,png,gif (leave blank for using default wordpress types)','wcpa-text-domain') ], 'fee_label'=>[ "first"=>__('Fee Label','wcpa-text-domain'), "second"=>__('(Applicable in case it is fee type, Leave blank to use label itself)','wcpa-text-domain') ], 'min_options'=>[ "first"=>__('Minimum fields to select','wcpa-text-domain'), "second"=>__('(Leave blank for no restriction )','wcpa-text-domain') ], 'max_options'=>[ "first"=>__('Maximum fields can select','wcpa-text-domain'), "second"=>__('(Leave blank for no restriction )','wcpa-text-domain') ], 'max_date'=>[ "first"=>__('Max Date','wcpa-text-domain'), "second"=>__('(Disable all days after this)','wcpa-text-domain') ], 'min_date'=>[ "first"=>__('Min Date','wcpa-text-domain'), "second"=>__('(Disable all days before this)','wcpa-text-domain') ], 'show_as_product_image'=>[ "first"=>__('Show as Product Image','wcpa-text-domain'), "second"=>__('Image selected will be shown as product gallery image','wcpa-text-domain') ], 'in_stock'=>__('In Stock','wcpa-text-domain'), 'out_of_stock'=>__('Out of Stock','wcpa-text-domain'), 'on_back_order'=>__('On Backorder','wcpa-text-domain'), 'map_api_setup_instruction'=>__('You must setup Google Map API keys in plugin settings at (Settings>>Custom Product Addons>>Others) in order to work this place selector','wcpa-text-domain'), 'is'=>__('Is','wcpa-text-domain'), 'is_not'=>__('Is Not','wcpa-text-domain'), 'is_in'=>__('Is In','wcpa-text-domain'), 'is_not_in'=>__('Is Not In','wcpa-text-domain'), 'is_empty'=>__('Is Empty','wcpa-text-domain'), 'is_not_empty'=>__('Is Not Empty','wcpa-text-domain'), 'is_greater_than'=>__('Is Greater Than','wcpa-text-domain'), 'is_less_than'=>__('Is Less Than','wcpa-text-domain'), 'is_greater_than_or_equal'=>__('Is Greater Than Or Equal','wcpa-text-domain'), 'is_less_than_or_equal'=>__('Is Less Than Or Equal','wcpa-text-domain'), 'text_contains'=>__('Text Contains','wcpa-text-domain'), 'text_not_contains'=>__('Text Not Contains','wcpa-text-domain'), 'text_starts_with'=>__('Text Starts With','wcpa-text-domain'), 'text_ends_with'=>__('Text Ends With','wcpa-text-domain'), 'date_is'=>__('Date Is','wcpa-text-domain'), 'date_is_before'=>__('Date Is Before','wcpa-text-domain'), 'date_is_after'=>__('Date Is After','wcpa-text-domain'), 'time_is'=>__('Time Is','wcpa-text-domain'), 'time_is_before'=>__('Time Is Before','wcpa-text-domain'), 'time_is_after'=>__('Time Is After','wcpa-text-domain'), 'empty_label'=>__("[empty label]",'wcpa-text-domain'), 'product_quantity'=>__("[Product Quantity]",'wcpa-text-domain'), 'attributes_variations'=>__("[Attributes/Variations]",'wcpa-text-domain'), 'product_ids'=>__("[Product IDs]",'wcpa-text-domain'), 'stock_status'=>__("[Stock Status]",'wcpa-text-domain'), 'stock_quantity'=>__("[Stock Quantity]",'wcpa-text-domain'), 'wcpa_custom_field'=>__("[WCPA Custom Field]",'wcpa-text-domain'), 'select_field'=>__("Select Field",'wcpa-text-domain'), 'show'=>__('Show', 'wcpa-text-domain'), 'hide'=>__('Hide','wcpa-text-domain'), 'show_hide_if_true'=>__('Field if below condtions are true', 'wcpa-text-domain'), 'remove_group'=>__('Remove Group','wcpa-text-domain'), 'add_group'=>__('+ Add Group', 'wcpa-text-domain'), 'enable_conditional_logic'=>__('Enable Conditional Logic','wcpa-text-domain'), 'show_tooltip'=>__('Show helptext as Tooltip','wcpa-text-domain'), 'wpml_polylang'=>__('WPML/PolyLang','wcpa-text-domain'), 'sync_options_base_language'=>__('Sync Options with base language','wpca-text-domain'), 'tooltip_for_each'=>__('Tooltip/Description for each items','wcpa-text-domain'), 'tooltip_for_each2'=>__('Enable tooltip/description option for each items','wcpa-text-domain'), 'ajax_file_upload'=>__('Ajax File Upload','wcpa-text-domain'), 'ajax_file_upload2'=>__('Enable Ajax file upload','wcpa-text-domain'), 'disable_manual_input'=>__('Disable Manual input','wcpa-text-domain'), 'disable_manual_input2'=>__('Will disable entering value manually','wcpa-text-domain'), 'custom_style_button'=>__('Custom styled Upload button','wcpa-text-domain'), 'custom_style_button2'=>__('Enable custom styled upload button','wcpa-text-domain'), 'paragraph'=>__('Paragraph','wcpa-text-domain'), 'show_in_cart_checkout'=>__('Show this in Cart, Checkout and Order Details pages','wcpa-text-domain'), 'show_map'=>__('Show Google Map','wcpa-text-domain'), 'show_address'=>__('Show Address fields','wcpa-text-domain'), 'city_state_country'=>__('(City, State, Country, Postal code and so on)','wcpa-text-domain'), 'none'=>__('None','wcpa-text-domain'), 'today'=>__('Today','wcpa-text-domain'), 'yesterday'=>__('Yesterday','wcpa-text-domain'), 'tomorrow'=>__('Tomorrow','wcpa-text-domain'), 'squircle'=>__('Squircle','wcpa-text-domain'), 'square'=>__('Square','wcpa-text-domain'), 'circle'=>__('Circle','wcpa-text-domain'), 'tick'=>__('Tick','wcpa-text-domain'), 'tick_with_border'=>__('Tick with Border','wcpa-text-domain'), 'border'=>__('Border','wcpa-text-domain'), 'text_mode'=>__('Text Mode','wcpa-text-domain'), 'box'=>__('Box','wcpa-text-domain'), 'zoom_on_hover'=>__('Zoom Image On Hover','wcpa-text-domain'), 'no'=>__('No','wcpa-text-domain'), 'all_devices'=>__('All devices','wcpa-text-domain'), 'in_touch_device_only'=>__('In touch devices only','wcpa-text-domain'), 'desktop_only'=>__('Desktop only','wcpa-text-domain'), 'outline'=>__('Outline','wcpa-text-domain'), 'shadow'=>__('Shadow','wcpa-text-domain'), 'tick_with_shadow'=>__('Tick with Shadow','wcpa-text-domain'), 'show_label_inside'=>__('Show Label inside of the color field','wcpa-text-domain'), 'adjust_width_wrt_label'=>__('Adjust width based on the label inside','wcpa-text-domain'), 'pricing_options'=>__('Pricing Options','wcpa-text-domain'), 'different_for_all'=>__("Different Price for Each Options",'wcpa-text-domain'), 'same_for_all'=>__("Same Price for All Options",'wcpa-text-domain'), 'fixed'=>__('Fixed Price','wcpa-text-domain'), 'multiply_by_value'=>__('Multiply by Value','wcpa-text-domain'), 'percentage_of_product_price'=>__('Percentage of Product Price','wcpa-text-domain'), 'custom_formula'=>__('Custom Formula','wcpa-text-domain'), 'per_character'=>__('Per Character','wcpa-text-domain'), 'pricing_type'=>__('Pricing Type','wcpa-text-domain'), 'use_regex'=>__("Use Regular expression",'wcpa-text-domain'), 'use_regex2'=>__('Regular expression can be used to exlude/include charactes','wcpa-text-domain'), 'use_price_as_fee'=>__("Use price as Fee",'wcpa-text-domain'), 'use_price_as_fee2'=>__('Price will be counting once per order irresepective of quantity','wcpa-text-domain'), 'just_for_show'=>__("Use just for show",'wcpa-text-domain'), 'just_for_show2'=>__('It can use just to show the price value, price will not count in total amount','wcpa-text-domain'), 'enable_price'=>__('Enable Price','wcpa-text-domain'), 'is_required'=>__('Is Field Required?','wcpa-text-domain'), 'add_condition'=>__('+ Add Condition','wcpa-text-domain'), 'select_or_upload_media'=>__('Select or Upload Media Of Your Chosen ','wcpa-text-domain'), 'use_this_media'=>__('Use this media','wcpa-text-domain'), 'instruction_multiply'=>__("(This will be multiplied by the value customer enter)",'wcpa-text-domain'), 'instruction_percentage'=>__("Percentage of the product base price",'wcpa-text-domain'), 'percentage'=>__('Percentage ','wcpa-text-domain'), 'price_per_character'=>__('Price per character','wcpa-text-domain'), 'instruction_custom_formula'=>__(" (eg: ({value}>2?{value}*10:0), here value will be the value entered by customer)",'wcpa-text-domain'), 'general'=>__("General",'wcpa-text-domain'), 'advanced'=>__('Advanced','wcpa-text-domain'), 'conditional_logic'=>__("Conditional Logic",'wcpa-text-domain'), 'select_a_form'=>__('Select a Form','wcpa-text-domain'), 'required_label'=>__('(required)','wcpa-text-domain'), 'no_preview'=>__('No preview available for place selector here, You can check it at front end','wcpa-text-domain'), ];
[+]
..
[-] class-wcpa-order-meta.php
[edit]
[-] helpers.php
[edit]
[-] class-wcpa-backend.php
[edit]
[-] class-wcpa-customer.php
[edit]
[-] class-wcpa-form.php
[edit]
[-] class-wcpa-form-editor.php
[edit]
[-] class-wcpa-front-end.php
[edit]
[+]
views
[-] translations.php
[edit]
[-] class-wcpa-settings.php
[edit]
[-] class-wcpa-product-meta.php
[edit]
[-] class-wcpa-ml.php
[edit]
[-] class-wcpa-migration.php
[edit]