parent
4779d5c3fa
commit
0fb4cf2a39
6 changed files with 40 additions and 40 deletions
|
@ -466,5 +466,5 @@ msgstr "Condiciones del tratamiento de datos personales"
|
|||
msgid "Insert the terms and conditions for processing personal data"
|
||||
msgstr "Inserte las condiciones para el tratamiento de datos personales"
|
||||
|
||||
msgid "To activate the loyalty program it is necessary to activate the work with coupons!"
|
||||
msgstr "Para activar el programa de fidelidad es necesario activar el trabajo con cupones"
|
||||
msgid "To activate the loyalty program it is necessary to activate the <a href='?page=wc-settings'>'enable use of coupons option'</a>"
|
||||
msgstr "Para activar el programa de fidelización es necesario activar la opción <a href='?page=wc-settings'>'habilitar uso de cupones'</a>."
|
||||
|
|
|
@ -475,5 +475,5 @@ msgstr "Условия обработки персональных данных"
|
|||
msgid "Insert the terms and conditions for processing personal data"
|
||||
msgstr "Вставьте условия обработки персональных данных"
|
||||
|
||||
msgid "To activate the loyalty program it is necessary to activate the work with coupons!"
|
||||
msgstr "Для активации программы лояльности необходимо активировать работу с купонами!"
|
||||
msgid "To activate the loyalty program it is necessary to activate the <a href='?page=wc-settings'>'enable use of coupons option'</a>"
|
||||
msgstr "Для активации программы лояльности необходимо активировать опцию <a href='?page=wc-settings'>'включить использование купонов'</a>"
|
||||
|
|
|
@ -391,41 +391,6 @@ abstract class WC_Retailcrm_Abstracts_Settings extends WC_Integration
|
|||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* Loyalty Program
|
||||
*/
|
||||
|
||||
$this->form_fields[] = [
|
||||
'title' => __('Loyalty program', 'retailcrm'),
|
||||
'type' => 'heading',
|
||||
'description' => '',
|
||||
'id' => 'loyalty_options'
|
||||
];
|
||||
|
||||
$this->form_fields['loyalty'] = [
|
||||
'label' => __('Activate program loyalty', 'retailcrm'),
|
||||
'title' => __('Loyalty program', 'retailcrm'),
|
||||
'class' => 'checkbox',
|
||||
'type' => 'checkbox',
|
||||
'description' => __('Enable this setting for activate program loyalty on site', 'retailcrm')
|
||||
];
|
||||
|
||||
$this->form_fields['loyalty_terms'] = [
|
||||
'title' => __('Terms of loyalty program', 'retailcrm'),
|
||||
'css' => 'width:400px; height:215px; resize: horizontal;',
|
||||
'type' => 'textarea',
|
||||
'id' => 'loyalty_terms',
|
||||
'placeholder' => __('Insert the terms and conditions of the loyalty program', 'retailcrm')
|
||||
];
|
||||
|
||||
$this->form_fields['loyalty_personal'] = [
|
||||
'title' => __('Conditions of personal data processing', 'retailcrm'),
|
||||
'css' => 'width:400px; height:215px; resize: horizontal;',
|
||||
'type' => 'textarea',
|
||||
'id' => 'loyalty_personal',
|
||||
'placeholder' => __('Insert the terms and conditions for processing personal data', 'retailcrm')
|
||||
];
|
||||
|
||||
/**
|
||||
* Meta data options
|
||||
*/
|
||||
|
@ -617,6 +582,41 @@ abstract class WC_Retailcrm_Abstracts_Settings extends WC_Integration
|
|||
'description' => __('WhatsApp chat will be opened with this contact', 'retailcrm')
|
||||
];
|
||||
|
||||
/**
|
||||
* Loyalty Program
|
||||
*/
|
||||
|
||||
$this->form_fields[] = [
|
||||
'title' => __('Loyalty program', 'retailcrm'),
|
||||
'type' => 'heading',
|
||||
'description' => '',
|
||||
'id' => 'loyalty_options'
|
||||
];
|
||||
|
||||
$this->form_fields['loyalty'] = [
|
||||
'label' => __('Activate program loyalty', 'retailcrm'),
|
||||
'title' => __('Loyalty program', 'retailcrm'),
|
||||
'class' => 'checkbox',
|
||||
'type' => 'checkbox',
|
||||
'description' => __('Enable this setting for activate program loyalty on site', 'retailcrm')
|
||||
];
|
||||
|
||||
$this->form_fields['loyalty_terms'] = [
|
||||
'title' => __('Terms of loyalty program', 'retailcrm'),
|
||||
'css' => 'width:400px; height:215px; resize: horizontal;',
|
||||
'type' => 'textarea',
|
||||
'id' => 'loyalty_terms',
|
||||
'placeholder' => __('Insert the terms and conditions of the loyalty program', 'retailcrm')
|
||||
];
|
||||
|
||||
$this->form_fields['loyalty_personal'] = [
|
||||
'title' => __('Conditions of personal data processing', 'retailcrm'),
|
||||
'css' => 'width:400px; height:215px; resize: horizontal;',
|
||||
'type' => 'textarea',
|
||||
'id' => 'loyalty_personal',
|
||||
'placeholder' => __('Insert the terms and conditions for processing personal data', 'retailcrm')
|
||||
];
|
||||
|
||||
/**
|
||||
* Generate icml file
|
||||
*/
|
||||
|
|
|
@ -609,7 +609,7 @@ if (!class_exists('WC_Retailcrm_Base')) {
|
|||
'coupon_status' => get_option('woocommerce_enable_coupons'),
|
||||
'translate' => [
|
||||
'coupon_warning' => __(
|
||||
'To activate the loyalty program it is necessary to activate the work with coupons!',
|
||||
"To activate the loyalty program it is necessary to activate the <a href='?page=wc-settings'>'enable use of coupons option'</a>",
|
||||
'retailcrm'
|
||||
)
|
||||
]
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Add table
Reference in a new issue