first commit
This commit is contained in:
46
plugins/stTrustPlugin/config/config.php
Normal file
46
plugins/stTrustPlugin/config/config.php
Normal file
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
/**
|
||||
* SOTESHOP/stTrustPlugin
|
||||
*
|
||||
*
|
||||
* @package stTrustPlugin
|
||||
* @author Bartosz Alejski <bartosz.alejski@sote.pl>
|
||||
*/
|
||||
|
||||
/**
|
||||
* Enabling frontend and backend modules
|
||||
*/
|
||||
stPluginHelper::addEnableModule('stTrustBackend', 'backend');
|
||||
stPluginHelper::addEnableModule('stTrustFrontend', 'frontend');
|
||||
|
||||
/**
|
||||
* Dodanie do panelu sklepu
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Adding nessesary Routing
|
||||
*/
|
||||
stPluginHelper::addRouting('stTrustPlugin', '/trust/:action/*', 'stTrustBackend', 'config', 'backend');
|
||||
//stPluginHelper::addRouting('stTrustPlugin', '/trust/*', 'stTrustBackend', 'config', 'backend');
|
||||
//stPluginHelper::addRouting('stTrustPluginDefault', '/trust', 'stTrustBackend', 'config', 'backend');
|
||||
|
||||
stPluginHelper::addRouting('stTrustPlugin', '/trust/*', 'stTrustFrontend', 'show', 'frontend');
|
||||
|
||||
/**
|
||||
* Dodanie do konfiguracji
|
||||
*/
|
||||
stConfiguration::addModule('stTrustPlugin', 'group_2');
|
||||
|
||||
|
||||
/**
|
||||
* Pobiera instancję obiektu sfEventDispatcher
|
||||
*/
|
||||
$dispatcher = stEventDispatcher::getInstance();
|
||||
|
||||
/**
|
||||
* Dodaje sluchacza dla zdarzenia generator.generate
|
||||
*/
|
||||
$dispatcher->connect('stAdminGenerator.generateStProduct', array('stTrustListener', 'generate'));
|
||||
$dispatcher->connect('autoStProductActions.preSaveTrust', array('stTrustListener', 'preSaveProduct'));
|
||||
$dispatcher->connect('autoStProductActions.preGetTrustOrCreate', array('stTrustListener', 'preGetOrCreateProduct'));
|
||||
47
plugins/stTrustPlugin/config/generator/stProduct.yml
Normal file
47
plugins/stTrustPlugin/config/generator/stProduct.yml
Normal file
@@ -0,0 +1,47 @@
|
||||
trust_model_class: Trust
|
||||
|
||||
custom_actions:
|
||||
edit: [trust]
|
||||
|
||||
edit:
|
||||
menu:
|
||||
display: [trust]
|
||||
fields:
|
||||
trust: {name: Gwarancja, action: stProduct/trustEdit?product_id=%%id%%}
|
||||
|
||||
|
||||
trust_edit:
|
||||
forward_parameters: [product_id]
|
||||
build_options:
|
||||
related_id: forward_parameters.product_id
|
||||
menu: {use: edit.menu}
|
||||
description: Zarządzanie produktami w sklepie.
|
||||
title: Dodaj opisy dla produktu
|
||||
display:
|
||||
"Tekst pod przyciskiem koszyka": [ field_on, field_description ]
|
||||
"Etykieta dostawy": [ field_f_on, field_label_f, field_sub_label_f, _icon_f, field_description_f ]
|
||||
"Etykieta gwarancji": [ field_s_on, field_label_s, field_sub_label_s, _icon_s, field_description_s ]
|
||||
"Etykieta zwrotu": [ field_t_on, field_label_t, field_sub_label_t, _icon_t, field_description_t ]
|
||||
|
||||
fields:
|
||||
field_on: {name: Włącz}
|
||||
field_description: {name: Opis, type: textarea_tag, params: size=75x10 rich=true tinymce_options='height:300,width:400,theme:'simple''}
|
||||
field_f_on: {name: Włącz }
|
||||
field_label_f: {name: Tytuł, type: input_tag, params: size=12 maxlength=10, help: "max 10 znaków"}
|
||||
field_sub_label_f: {name: Podtytuł, type: input_tag, params: size=12 maxlength=12, help: "max 12 znaków"}
|
||||
field_description_f: {name: Opis, type: textarea_tag, params: size=75x10 rich=true tinymce_options='height:300,width:400,theme:'simple''}
|
||||
icon_f: {name: Ikona, type: input_tag, params: size=20, help: "Rozmiar ikonki 30x30px"}
|
||||
field_s_on: {name: Włącz}
|
||||
field_label_s: {name: Tytuł, type: input_tag, params: size=12 maxlength=10, help: "max 10 znaków"}
|
||||
field_sub_label_s: {name: Podtytuł, type: input_tag, params: size=12 maxlength=12, help: "max 12 znaków"}
|
||||
field_description_s: {name: Opis, type: textarea_tag, params: size=75x10 rich=true tinymce_options='height:300,width:400,theme:'simple''}
|
||||
icon_s: {name: Ikona, type: input_tag, params: size=20, help: "Rozmiar ikonki 30x30px"}
|
||||
field_t_on: {name: Włącz}
|
||||
field_label_t: {name: Tytuł, type: input_tag, params: size=12 maxlength=10, help: "max 10 znaków"}
|
||||
field_sub_label_t: {name: Podtytuł, type: input_tag, params: size=12 maxlength=12, help: "max 12 znaków"}
|
||||
field_description_t: {name: Opis, type: textarea_tag, params: size=75x10 rich=true tinymce_options='height:300,width:400,theme:'simple''}
|
||||
icon_t: {name: Ikona, type: input_tag, params: size=20, help: "Rozmiar ikonki 30x30px"}
|
||||
|
||||
|
||||
actions:
|
||||
_save: {name: Zapisz}
|
||||
35
plugins/stTrustPlugin/config/schema.yml
Normal file
35
plugins/stTrustPlugin/config/schema.yml
Normal file
@@ -0,0 +1,35 @@
|
||||
---
|
||||
propel:
|
||||
_attributes:
|
||||
defaultIdMethod: native
|
||||
package: plugins.stTrustPlugin.lib.model
|
||||
st_trust:
|
||||
_attributes:
|
||||
phpName: Trust
|
||||
created_at:
|
||||
type: timestamp
|
||||
updated_at:
|
||||
type: timestamp
|
||||
id:
|
||||
type: INTEGER
|
||||
primaryKey: true
|
||||
required: true
|
||||
autoIncrement: true
|
||||
product_id:
|
||||
type: INTEGER
|
||||
required: true
|
||||
foreignTable: st_product
|
||||
foreignReference: id
|
||||
onDelete: cascade
|
||||
field_on:
|
||||
type: BOOLEAN
|
||||
default: 0
|
||||
field_f_on:
|
||||
type: BOOLEAN
|
||||
default: 0
|
||||
field_s_on:
|
||||
type: BOOLEAN
|
||||
default: 0
|
||||
field_t_on:
|
||||
type: BOOLEAN
|
||||
default: 0
|
||||
57
plugins/stTrustPlugin/config/stTrustPlugin_schema.custom.yml
Normal file
57
plugins/stTrustPlugin/config/stTrustPlugin_schema.custom.yml
Normal file
@@ -0,0 +1,57 @@
|
||||
propel:
|
||||
st_trust:
|
||||
_attributes:
|
||||
phpName: Trust
|
||||
isI18n: true
|
||||
i18nTable: st_trust_i18n
|
||||
|
||||
st_trust_i18n:
|
||||
_attributes:
|
||||
phpName: TrustI18n
|
||||
id:
|
||||
type: integer
|
||||
required: true
|
||||
primaryKey: true
|
||||
foreignTable: st_trust
|
||||
foreignReference: id
|
||||
onDelete: cascade
|
||||
culture:
|
||||
isCulture: true
|
||||
primaryKey: true
|
||||
type: VARCHAR
|
||||
size: 7
|
||||
field_description:
|
||||
type: LONGVARCHAR
|
||||
field_label_f:
|
||||
type: VARCHAR
|
||||
size: 255
|
||||
field_sub_label_f:
|
||||
type: VARCHAR
|
||||
size: 255
|
||||
field_description_f:
|
||||
type: LONGVARCHAR
|
||||
icon_f:
|
||||
type: VARCHAR
|
||||
size: 255
|
||||
field_label_s:
|
||||
type: VARCHAR
|
||||
size: 255
|
||||
field_sub_label_s:
|
||||
type: VARCHAR
|
||||
size: 255
|
||||
field_description_s:
|
||||
type: LONGVARCHAR
|
||||
icon_s:
|
||||
type: VARCHAR
|
||||
size: 255
|
||||
field_label_t:
|
||||
type: VARCHAR
|
||||
size: 255
|
||||
field_sub_label_t:
|
||||
type: VARCHAR
|
||||
size: 255
|
||||
field_description_t:
|
||||
type: LONGVARCHAR
|
||||
icon_t:
|
||||
type: VARCHAR
|
||||
size: 255
|
||||
398
plugins/stTrustPlugin/data/fixtures-argento8/stTrustPlugin.yml
Normal file
398
plugins/stTrustPlugin/data/fixtures-argento8/stTrustPlugin.yml
Normal file
@@ -0,0 +1,398 @@
|
||||
Trust:
|
||||
Trust_1:
|
||||
product_id: Product_1
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_2:
|
||||
product_id: Product_2
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_3:
|
||||
product_id: Product_3
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_4:
|
||||
product_id: Product_4
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_5:
|
||||
product_id: Product_5
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_6:
|
||||
product_id: Product_6
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_7:
|
||||
product_id: Product_7
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_8:
|
||||
product_id: Product_8
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_9:
|
||||
product_id: Product_9
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_10:
|
||||
product_id: Product_10
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_11:
|
||||
product_id: Product_11
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_12:
|
||||
product_id: Product_12
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n:
|
||||
TrustI18n_1:
|
||||
id: Trust_1
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_2:
|
||||
id: Trust_2
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_3:
|
||||
id: Trust_3
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_4:
|
||||
id: Trust_4
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_5:
|
||||
id: Trust_5
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_6:
|
||||
id: Trust_6
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_7:
|
||||
id: Trust_7
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_8:
|
||||
id: Trust_8
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_9:
|
||||
id: Trust_9
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_10:
|
||||
id: Trust_10
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_11:
|
||||
id: Trust_11
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_12:
|
||||
id: Trust_12
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
200
plugins/stTrustPlugin/data/fixtures-bianco/stTrustPlugin.yml
Normal file
200
plugins/stTrustPlugin/data/fixtures-bianco/stTrustPlugin.yml
Normal file
@@ -0,0 +1,200 @@
|
||||
Trust:
|
||||
Trust_1:
|
||||
product_id: Product_1
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_2:
|
||||
product_id: Product_2
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_3:
|
||||
product_id: Product_3
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_4:
|
||||
product_id: Product_4
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_5:
|
||||
product_id: Product_5
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_6:
|
||||
product_id: Product_6
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n:
|
||||
TrustI18n_1:
|
||||
id: Trust_1
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_2:
|
||||
id: Trust_2
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_3:
|
||||
id: Trust_3
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_4:
|
||||
id: Trust_4
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_5:
|
||||
id: Trust_5
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_6:
|
||||
id: Trust_6
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
365
plugins/stTrustPlugin/data/fixtures-climb/stTrustPlugin.yml
Normal file
365
plugins/stTrustPlugin/data/fixtures-climb/stTrustPlugin.yml
Normal file
@@ -0,0 +1,365 @@
|
||||
Trust:
|
||||
Trust_1:
|
||||
product_id: Product_1
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_2:
|
||||
product_id: Product_2
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_3:
|
||||
product_id: Product_3
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_4:
|
||||
product_id: Product_4
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_5:
|
||||
product_id: Product_5
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_6:
|
||||
product_id: Product_6
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_7:
|
||||
product_id: Product_7
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_8:
|
||||
product_id: Product_8
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_9:
|
||||
product_id: Product_9
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_10:
|
||||
product_id: Product_10
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_11:
|
||||
product_id: Product_11
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n:
|
||||
TrustI18n_1:
|
||||
id: Trust_1
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_2:
|
||||
id: Trust_2
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_3:
|
||||
id: Trust_3
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_4:
|
||||
id: Trust_4
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_5:
|
||||
id: Trust_5
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_6:
|
||||
id: Trust_6
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_7:
|
||||
id: Trust_7
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_8:
|
||||
id: Trust_8
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_9:
|
||||
id: Trust_9
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_10:
|
||||
id: Trust_10
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_11:
|
||||
id: Trust_11
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
233
plugins/stTrustPlugin/data/fixtures-cosmo/stTrustPlugin.yml
Normal file
233
plugins/stTrustPlugin/data/fixtures-cosmo/stTrustPlugin.yml
Normal file
@@ -0,0 +1,233 @@
|
||||
Trust:
|
||||
Trust_1:
|
||||
product_id: Product_1
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon-white.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
Trust_2:
|
||||
product_id: Product_2
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon-white.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
Trust_3:
|
||||
product_id: Product_3
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon-white.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
Trust_4:
|
||||
product_id: Product_4
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon-white.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
Trust_5:
|
||||
product_id: Product_5
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon-white.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
Trust_6:
|
||||
product_id: Product_6
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon-white.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
Trust_7:
|
||||
product_id: Product_7
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon-white.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
TrustI18n:
|
||||
TrustI18n_1:
|
||||
id: Trust_1
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon-white.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
TrustI18n_2:
|
||||
id: Trust_2
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon-white.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
TrustI18n_3:
|
||||
id: Trust_3
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon-white.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
TrustI18n_4:
|
||||
id: Trust_4
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon-white.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
TrustI18n_5:
|
||||
id: Trust_5
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon-white.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
TrustI18n_6:
|
||||
id: Trust_6
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon-white.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
TrustI18n_7:
|
||||
id: Trust_7
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon-white.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
464
plugins/stTrustPlugin/data/fixtures-cutlery8/stTrustPlugin.yml
Normal file
464
plugins/stTrustPlugin/data/fixtures-cutlery8/stTrustPlugin.yml
Normal file
@@ -0,0 +1,464 @@
|
||||
Trust:
|
||||
Trust_1:
|
||||
product_id: Product_1
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
Trust_2:
|
||||
product_id: Product_2
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
Trust_3:
|
||||
product_id: Product_3
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
Trust_4:
|
||||
product_id: Product_4
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
Trust_5:
|
||||
product_id: Product_5
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
Trust_6:
|
||||
product_id: Product_6
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
Trust_7:
|
||||
product_id: Product_7
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
Trust_8:
|
||||
product_id: Product_8
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
Trust_9:
|
||||
product_id: Product_9
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
Trust_10:
|
||||
product_id: Product_10
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
Trust_11:
|
||||
product_id: Product_11
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
Trust_12:
|
||||
product_id: Product_12
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
Trust_13:
|
||||
product_id: Product_13
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
Trust_14:
|
||||
product_id: Product_14
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
TrustI18n:
|
||||
TrustI18n_1:
|
||||
id: Trust_1
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
TrustI18n_2:
|
||||
id: Trust_2
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
TrustI18n_3:
|
||||
id: Trust_3
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
TrustI18n_4:
|
||||
id: Trust_4
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
TrustI18n_5:
|
||||
id: Trust_5
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
TrustI18n_6:
|
||||
id: Trust_6
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
TrustI18n_7:
|
||||
id: Trust_7
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
TrustI18n_8:
|
||||
id: Trust_8
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
TrustI18n_9:
|
||||
id: Trust_9
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
TrustI18n_10:
|
||||
id: Trust_10
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
TrustI18n_11:
|
||||
id: Trust_11
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
TrustI18n_12:
|
||||
id: Trust_12
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
TrustI18n_13:
|
||||
id: Trust_13
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
TrustI18n_14:
|
||||
id: Trust_14
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
299
plugins/stTrustPlugin/data/fixtures-elegante/stTrustPlugin.yml
Normal file
299
plugins/stTrustPlugin/data/fixtures-elegante/stTrustPlugin.yml
Normal file
@@ -0,0 +1,299 @@
|
||||
Trust:
|
||||
Trust_1:
|
||||
product_id: Product_1
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_2:
|
||||
product_id: Product_2
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_3:
|
||||
product_id: Product_3
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_4:
|
||||
product_id: Product_4
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_5:
|
||||
product_id: Product_5
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_6:
|
||||
product_id: Product_6
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_7:
|
||||
product_id: Product_7
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_8:
|
||||
product_id: Product_8
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_9:
|
||||
product_id: Product_9
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n:
|
||||
TrustI18n_1:
|
||||
id: Trust_1
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_2:
|
||||
id: Trust_2
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_3:
|
||||
id: Trust_3
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_4:
|
||||
id: Trust_4
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_5:
|
||||
id: Trust_5
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_6:
|
||||
id: Trust_6
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_7:
|
||||
id: Trust_7
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_8:
|
||||
id: Trust_8
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_9:
|
||||
id: Trust_9
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
167
plugins/stTrustPlugin/data/fixtures-futura/stTrustPlugin.yml
Normal file
167
plugins/stTrustPlugin/data/fixtures-futura/stTrustPlugin.yml
Normal file
@@ -0,0 +1,167 @@
|
||||
Trust:
|
||||
Trust_1:
|
||||
product_id: Product_1
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon-white.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
Trust_2:
|
||||
product_id: Product_2
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon-white.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
Trust_3:
|
||||
product_id: Product_3
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon-white.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
Trust_4:
|
||||
product_id: Product_4
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon-white.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
Trust_5:
|
||||
product_id: Product_5
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon-white.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
TrustI18n:
|
||||
TrustI18n_1:
|
||||
id: Trust_1
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon-white.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
TrustI18n_2:
|
||||
id: Trust_2
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon-white.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
TrustI18n_3:
|
||||
id: Trust_3
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon-white.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
TrustI18n_4:
|
||||
id: Trust_4
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon-white.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
TrustI18n_5:
|
||||
id: Trust_5
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon-white.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon-white.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon-white.png
|
||||
398
plugins/stTrustPlugin/data/fixtures-giallo8/stTrustPlugin.yml
Normal file
398
plugins/stTrustPlugin/data/fixtures-giallo8/stTrustPlugin.yml
Normal file
@@ -0,0 +1,398 @@
|
||||
Trust:
|
||||
Trust_1:
|
||||
product_id: Product_1
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_2:
|
||||
product_id: Product_2
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_3:
|
||||
product_id: Product_3
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_4:
|
||||
product_id: Product_4
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_5:
|
||||
product_id: Product_5
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_6:
|
||||
product_id: Product_6
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_7:
|
||||
product_id: Product_7
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_8:
|
||||
product_id: Product_8
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_9:
|
||||
product_id: Product_9
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_10:
|
||||
product_id: Product_10
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_11:
|
||||
product_id: Product_11
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_12:
|
||||
product_id: Product_12
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n:
|
||||
TrustI18n_1:
|
||||
id: Trust_1
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_2:
|
||||
id: Trust_2
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_3:
|
||||
id: Trust_3
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_4:
|
||||
id: Trust_4
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_5:
|
||||
id: Trust_5
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_6:
|
||||
id: Trust_6
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_7:
|
||||
id: Trust_7
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_8:
|
||||
id: Trust_8
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_9:
|
||||
id: Trust_9
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_10:
|
||||
id: Trust_10
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_11:
|
||||
id: Trust_11
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_12:
|
||||
id: Trust_12
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
266
plugins/stTrustPlugin/data/fixtures-lazuli/stTrustPlugin.yml
Normal file
266
plugins/stTrustPlugin/data/fixtures-lazuli/stTrustPlugin.yml
Normal file
@@ -0,0 +1,266 @@
|
||||
Trust:
|
||||
Trust_1:
|
||||
product_id: Product_1
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_2:
|
||||
product_id: Product_2
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_3:
|
||||
product_id: Product_3
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_4:
|
||||
product_id: Product_4
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_5:
|
||||
product_id: Product_5
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_6:
|
||||
product_id: Product_6
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_7:
|
||||
product_id: Product_7
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_8:
|
||||
product_id: Product_8
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n:
|
||||
TrustI18n_1:
|
||||
id: Trust_1
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_2:
|
||||
id: Trust_2
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_3:
|
||||
id: Trust_3
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_4:
|
||||
id: Trust_4
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_5:
|
||||
id: Trust_5
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_6:
|
||||
id: Trust_6
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_7:
|
||||
id: Trust_7
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_8:
|
||||
id: Trust_8
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
266
plugins/stTrustPlugin/data/fixtures-marrone/stTrustPlugin.yml
Normal file
266
plugins/stTrustPlugin/data/fixtures-marrone/stTrustPlugin.yml
Normal file
@@ -0,0 +1,266 @@
|
||||
Trust:
|
||||
Trust_1:
|
||||
product_id: Product_1
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_2:
|
||||
product_id: Product_2
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_3:
|
||||
product_id: Product_3
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_4:
|
||||
product_id: Product_4
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_5:
|
||||
product_id: Product_5
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_6:
|
||||
product_id: Product_6
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_7:
|
||||
product_id: Product_7
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_8:
|
||||
product_id: Product_8
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n:
|
||||
TrustI18n_1:
|
||||
id: Trust_1
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_2:
|
||||
id: Trust_2
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_3:
|
||||
id: Trust_3
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_4:
|
||||
id: Trust_4
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_5:
|
||||
id: Trust_5
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_6:
|
||||
id: Trust_6
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_7:
|
||||
id: Trust_7
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_8:
|
||||
id: Trust_8
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
200
plugins/stTrustPlugin/data/fixtures-moda/stTrustPlugin.yml
Normal file
200
plugins/stTrustPlugin/data/fixtures-moda/stTrustPlugin.yml
Normal file
@@ -0,0 +1,200 @@
|
||||
Trust:
|
||||
Trust_1:
|
||||
product_id: Product_1
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_2:
|
||||
product_id: Product_2
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_3:
|
||||
product_id: Product_3
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_4:
|
||||
product_id: Product_4
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_5:
|
||||
product_id: Product_5
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_6:
|
||||
product_id: Product_6
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n:
|
||||
TrustI18n_1:
|
||||
id: Trust_1
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_2:
|
||||
id: Trust_2
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_3:
|
||||
id: Trust_3
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_4:
|
||||
id: Trust_4
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_5:
|
||||
id: Trust_5
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_6:
|
||||
id: Trust_6
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
332
plugins/stTrustPlugin/data/fixtures-ristorante/stTrustPlugin.yml
Normal file
332
plugins/stTrustPlugin/data/fixtures-ristorante/stTrustPlugin.yml
Normal file
@@ -0,0 +1,332 @@
|
||||
Trust:
|
||||
Trust_1:
|
||||
product_id: Product_1
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_2:
|
||||
product_id: Product_2
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_3:
|
||||
product_id: Product_3
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_4:
|
||||
product_id: Product_4
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_5:
|
||||
product_id: Product_5
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_6:
|
||||
product_id: Product_6
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_7:
|
||||
product_id: Product_7
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_8:
|
||||
product_id: Product_8
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_9:
|
||||
product_id: Product_9
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_10:
|
||||
product_id: Product_10
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n:
|
||||
TrustI18n_1:
|
||||
id: Trust_1
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_2:
|
||||
id: Trust_2
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_3:
|
||||
id: Trust_3
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_4:
|
||||
id: Trust_4
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_5:
|
||||
id: Trust_5
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_6:
|
||||
id: Trust_6
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_7:
|
||||
id: Trust_7
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_8:
|
||||
id: Trust_8
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_9:
|
||||
id: Trust_9
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_10:
|
||||
id: Trust_10
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
332
plugins/stTrustPlugin/data/fixtures-watch/stTrustPlugin.yml
Normal file
332
plugins/stTrustPlugin/data/fixtures-watch/stTrustPlugin.yml
Normal file
@@ -0,0 +1,332 @@
|
||||
Trust:
|
||||
Trust_1:
|
||||
product_id: Product_1
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_2:
|
||||
product_id: Product_2
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_3:
|
||||
product_id: Product_3
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_4:
|
||||
product_id: Product_4
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_5:
|
||||
product_id: Product_5
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_6:
|
||||
product_id: Product_6
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_7:
|
||||
product_id: Product_7
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_8:
|
||||
product_id: Product_8
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_9:
|
||||
product_id: Product_9
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
Trust_10:
|
||||
product_id: Product_10
|
||||
field_f_on: 1
|
||||
field_s_on: 1
|
||||
field_t_on: 1
|
||||
culture: pl_PL
|
||||
field_label_f: Dostawa
|
||||
field_sub_label_f: w 24h
|
||||
field_description_f: <p>Produkty wysyłamy w ciągu 24h w dni robocze.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Gwarancja
|
||||
field_sub_label_s: przez 1 rok
|
||||
field_description_s: <p>Produkt objęty jest roczną gwarancją.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Zwrot
|
||||
field_sub_label_t: do 14 dni
|
||||
field_description_t: <p>Masz 14 dni na przetestowanie i sprawdzenie produktu. W tym czasie możesz go zwrócić i otrzymać zwrot wpłaconej kwoty zamówienia.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n:
|
||||
TrustI18n_1:
|
||||
id: Trust_1
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_2:
|
||||
id: Trust_2
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_3:
|
||||
id: Trust_3
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_4:
|
||||
id: Trust_4
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_5:
|
||||
id: Trust_5
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_6:
|
||||
id: Trust_6
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_7:
|
||||
id: Trust_7
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_8:
|
||||
id: Trust_8
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_9:
|
||||
id: Trust_9
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
TrustI18n_10:
|
||||
id: Trust_10
|
||||
culture: en_US
|
||||
field_label_f: Delivery
|
||||
field_sub_label_f: in 24h
|
||||
field_description_f: <p>We ship products within 24 hours.</p>
|
||||
icon_f: /picture/pl_PL/delivery-icon.png
|
||||
field_label_s: Warranty
|
||||
field_sub_label_s: for 1 year
|
||||
field_description_s: <p>The product is covered by a one-year warranty.</p>
|
||||
icon_s: /picture/pl_PL/guarantee-icon.png
|
||||
field_label_t: Return
|
||||
field_sub_label_t: up to 14 days
|
||||
field_description_t: <p>You have 14 days to test and check the product. During this time, you can return it and receive a refund of the paid order amount.</p>
|
||||
icon_t: /picture/pl_PL/return-icon.png
|
||||
12
plugins/stTrustPlugin/lib/model/Trust.php
Normal file
12
plugins/stTrustPlugin/lib/model/Trust.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Subclass for representing a row from the 'st_trust' table.
|
||||
*
|
||||
*
|
||||
*
|
||||
* @package plugins.stTrustPlugin.lib.model
|
||||
*/
|
||||
class Trust extends BaseTrust
|
||||
{
|
||||
}
|
||||
12
plugins/stTrustPlugin/lib/model/TrustI18n.php
Normal file
12
plugins/stTrustPlugin/lib/model/TrustI18n.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Subclass for representing a row from the 'st_trust_i18n' table.
|
||||
*
|
||||
*
|
||||
*
|
||||
* @package plugins.stTrustPlugin.lib.model
|
||||
*/
|
||||
class TrustI18n extends BaseTrustI18n
|
||||
{
|
||||
}
|
||||
12
plugins/stTrustPlugin/lib/model/TrustI18nPeer.php
Normal file
12
plugins/stTrustPlugin/lib/model/TrustI18nPeer.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Subclass for performing query and update operations on the 'st_trust_i18n' table.
|
||||
*
|
||||
*
|
||||
*
|
||||
* @package plugins.stTrustPlugin.lib.model
|
||||
*/
|
||||
class TrustI18nPeer extends BaseTrustI18nPeer
|
||||
{
|
||||
}
|
||||
12
plugins/stTrustPlugin/lib/model/TrustPeer.php
Normal file
12
plugins/stTrustPlugin/lib/model/TrustPeer.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Subclass for performing query and update operations on the 'st_trust' table.
|
||||
*
|
||||
*
|
||||
*
|
||||
* @package plugins.stTrustPlugin.lib.model
|
||||
*/
|
||||
class TrustPeer extends BaseTrustPeer
|
||||
{
|
||||
}
|
||||
96
plugins/stTrustPlugin/lib/model/map/TrustI18nMapBuilder.php
Normal file
96
plugins/stTrustPlugin/lib/model/map/TrustI18nMapBuilder.php
Normal file
@@ -0,0 +1,96 @@
|
||||
<?php
|
||||
|
||||
|
||||
/**
|
||||
* This class adds structure of 'st_trust_i18n' table to 'propel' DatabaseMap object.
|
||||
*
|
||||
*
|
||||
*
|
||||
* These statically-built map classes are used by Propel to do runtime db structure discovery.
|
||||
* For example, the createSelectSql() method checks the type of a given column used in an
|
||||
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
|
||||
* (i.e. if it's a text column type).
|
||||
*
|
||||
* @package plugins.stTrustPlugin.lib.model.map
|
||||
*/
|
||||
class TrustI18nMapBuilder {
|
||||
|
||||
/**
|
||||
* The (dot-path) name of this class
|
||||
*/
|
||||
const CLASS_NAME = 'plugins.stTrustPlugin.lib.model.map.TrustI18nMapBuilder';
|
||||
|
||||
/**
|
||||
* The database map.
|
||||
*/
|
||||
private $dbMap;
|
||||
|
||||
/**
|
||||
* Tells us if this DatabaseMapBuilder is built so that we
|
||||
* don't have to re-build it every time.
|
||||
*
|
||||
* @return boolean true if this DatabaseMapBuilder is built, false otherwise.
|
||||
*/
|
||||
public function isBuilt()
|
||||
{
|
||||
return ($this->dbMap !== null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the databasemap this map builder built.
|
||||
*
|
||||
* @return the databasemap
|
||||
*/
|
||||
public function getDatabaseMap()
|
||||
{
|
||||
return $this->dbMap;
|
||||
}
|
||||
|
||||
/**
|
||||
* The doBuild() method builds the DatabaseMap
|
||||
*
|
||||
* @return void
|
||||
* @throws PropelException
|
||||
*/
|
||||
public function doBuild()
|
||||
{
|
||||
$this->dbMap = Propel::getDatabaseMap('propel');
|
||||
|
||||
$tMap = $this->dbMap->addTable('st_trust_i18n');
|
||||
$tMap->setPhpName('TrustI18n');
|
||||
|
||||
$tMap->setUseIdGenerator(false);
|
||||
|
||||
$tMap->addForeignPrimaryKey('ID', 'Id', 'int' , CreoleTypes::INTEGER, 'st_trust', 'ID', true, null);
|
||||
|
||||
$tMap->addPrimaryKey('CULTURE', 'Culture', 'string', CreoleTypes::VARCHAR, true, 7);
|
||||
|
||||
$tMap->addColumn('FIELD_DESCRIPTION', 'FieldDescription', 'string', CreoleTypes::LONGVARCHAR, false, null);
|
||||
|
||||
$tMap->addColumn('FIELD_LABEL_F', 'FieldLabelF', 'string', CreoleTypes::VARCHAR, false, 255);
|
||||
|
||||
$tMap->addColumn('FIELD_SUB_LABEL_F', 'FieldSubLabelF', 'string', CreoleTypes::VARCHAR, false, 255);
|
||||
|
||||
$tMap->addColumn('FIELD_DESCRIPTION_F', 'FieldDescriptionF', 'string', CreoleTypes::LONGVARCHAR, false, null);
|
||||
|
||||
$tMap->addColumn('ICON_F', 'IconF', 'string', CreoleTypes::VARCHAR, false, 255);
|
||||
|
||||
$tMap->addColumn('FIELD_LABEL_S', 'FieldLabelS', 'string', CreoleTypes::VARCHAR, false, 255);
|
||||
|
||||
$tMap->addColumn('FIELD_SUB_LABEL_S', 'FieldSubLabelS', 'string', CreoleTypes::VARCHAR, false, 255);
|
||||
|
||||
$tMap->addColumn('FIELD_DESCRIPTION_S', 'FieldDescriptionS', 'string', CreoleTypes::LONGVARCHAR, false, null);
|
||||
|
||||
$tMap->addColumn('ICON_S', 'IconS', 'string', CreoleTypes::VARCHAR, false, 255);
|
||||
|
||||
$tMap->addColumn('FIELD_LABEL_T', 'FieldLabelT', 'string', CreoleTypes::VARCHAR, false, 255);
|
||||
|
||||
$tMap->addColumn('FIELD_SUB_LABEL_T', 'FieldSubLabelT', 'string', CreoleTypes::VARCHAR, false, 255);
|
||||
|
||||
$tMap->addColumn('FIELD_DESCRIPTION_T', 'FieldDescriptionT', 'string', CreoleTypes::LONGVARCHAR, false, null);
|
||||
|
||||
$tMap->addColumn('ICON_T', 'IconT', 'string', CreoleTypes::VARCHAR, false, 255);
|
||||
|
||||
} // doBuild()
|
||||
|
||||
} // TrustI18nMapBuilder
|
||||
82
plugins/stTrustPlugin/lib/model/map/TrustMapBuilder.php
Normal file
82
plugins/stTrustPlugin/lib/model/map/TrustMapBuilder.php
Normal file
@@ -0,0 +1,82 @@
|
||||
<?php
|
||||
|
||||
|
||||
/**
|
||||
* This class adds structure of 'st_trust' table to 'propel' DatabaseMap object.
|
||||
*
|
||||
*
|
||||
*
|
||||
* These statically-built map classes are used by Propel to do runtime db structure discovery.
|
||||
* For example, the createSelectSql() method checks the type of a given column used in an
|
||||
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
|
||||
* (i.e. if it's a text column type).
|
||||
*
|
||||
* @package plugins.stTrustPlugin.lib.model.map
|
||||
*/
|
||||
class TrustMapBuilder {
|
||||
|
||||
/**
|
||||
* The (dot-path) name of this class
|
||||
*/
|
||||
const CLASS_NAME = 'plugins.stTrustPlugin.lib.model.map.TrustMapBuilder';
|
||||
|
||||
/**
|
||||
* The database map.
|
||||
*/
|
||||
private $dbMap;
|
||||
|
||||
/**
|
||||
* Tells us if this DatabaseMapBuilder is built so that we
|
||||
* don't have to re-build it every time.
|
||||
*
|
||||
* @return boolean true if this DatabaseMapBuilder is built, false otherwise.
|
||||
*/
|
||||
public function isBuilt()
|
||||
{
|
||||
return ($this->dbMap !== null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the databasemap this map builder built.
|
||||
*
|
||||
* @return the databasemap
|
||||
*/
|
||||
public function getDatabaseMap()
|
||||
{
|
||||
return $this->dbMap;
|
||||
}
|
||||
|
||||
/**
|
||||
* The doBuild() method builds the DatabaseMap
|
||||
*
|
||||
* @return void
|
||||
* @throws PropelException
|
||||
*/
|
||||
public function doBuild()
|
||||
{
|
||||
$this->dbMap = Propel::getDatabaseMap('propel');
|
||||
|
||||
$tMap = $this->dbMap->addTable('st_trust');
|
||||
$tMap->setPhpName('Trust');
|
||||
|
||||
$tMap->setUseIdGenerator(true);
|
||||
|
||||
$tMap->addColumn('CREATED_AT', 'CreatedAt', 'int', CreoleTypes::TIMESTAMP, false, null);
|
||||
|
||||
$tMap->addColumn('UPDATED_AT', 'UpdatedAt', 'int', CreoleTypes::TIMESTAMP, false, null);
|
||||
|
||||
$tMap->addPrimaryKey('ID', 'Id', 'int', CreoleTypes::INTEGER, true, null);
|
||||
|
||||
$tMap->addForeignKey('PRODUCT_ID', 'ProductId', 'int', CreoleTypes::INTEGER, 'st_product', 'ID', true, null);
|
||||
|
||||
$tMap->addColumn('FIELD_ON', 'FieldOn', 'boolean', CreoleTypes::BOOLEAN, false, null);
|
||||
|
||||
$tMap->addColumn('FIELD_F_ON', 'FieldFOn', 'boolean', CreoleTypes::BOOLEAN, false, null);
|
||||
|
||||
$tMap->addColumn('FIELD_S_ON', 'FieldSOn', 'boolean', CreoleTypes::BOOLEAN, false, null);
|
||||
|
||||
$tMap->addColumn('FIELD_T_ON', 'FieldTOn', 'boolean', CreoleTypes::BOOLEAN, false, null);
|
||||
|
||||
} // doBuild()
|
||||
|
||||
} // TrustMapBuilder
|
||||
1430
plugins/stTrustPlugin/lib/model/om/BaseTrust.php
Normal file
1430
plugins/stTrustPlugin/lib/model/om/BaseTrust.php
Normal file
File diff suppressed because it is too large
Load Diff
1388
plugins/stTrustPlugin/lib/model/om/BaseTrustI18n.php
Normal file
1388
plugins/stTrustPlugin/lib/model/om/BaseTrustI18n.php
Normal file
File diff suppressed because it is too large
Load Diff
894
plugins/stTrustPlugin/lib/model/om/BaseTrustI18nPeer.php
Normal file
894
plugins/stTrustPlugin/lib/model/om/BaseTrustI18nPeer.php
Normal file
@@ -0,0 +1,894 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Base static class for performing query and update operations on the 'st_trust_i18n' table.
|
||||
*
|
||||
*
|
||||
*
|
||||
* @package plugins.stTrustPlugin.lib.model.om
|
||||
*/
|
||||
abstract class BaseTrustI18nPeer {
|
||||
|
||||
/** the default database name for this class */
|
||||
const DATABASE_NAME = 'propel';
|
||||
|
||||
/** the table name for this class */
|
||||
const TABLE_NAME = 'st_trust_i18n';
|
||||
|
||||
/** A class that can be returned by this peer. */
|
||||
const CLASS_DEFAULT = 'plugins.stTrustPlugin.lib.model.TrustI18n';
|
||||
|
||||
/** The total number of columns. */
|
||||
const NUM_COLUMNS = 15;
|
||||
|
||||
/** The number of lazy-loaded columns. */
|
||||
const NUM_LAZY_LOAD_COLUMNS = 0;
|
||||
|
||||
|
||||
/** the column name for the ID field */
|
||||
const ID = 'st_trust_i18n.ID';
|
||||
|
||||
/** the column name for the CULTURE field */
|
||||
const CULTURE = 'st_trust_i18n.CULTURE';
|
||||
|
||||
/** the column name for the FIELD_DESCRIPTION field */
|
||||
const FIELD_DESCRIPTION = 'st_trust_i18n.FIELD_DESCRIPTION';
|
||||
|
||||
/** the column name for the FIELD_LABEL_F field */
|
||||
const FIELD_LABEL_F = 'st_trust_i18n.FIELD_LABEL_F';
|
||||
|
||||
/** the column name for the FIELD_SUB_LABEL_F field */
|
||||
const FIELD_SUB_LABEL_F = 'st_trust_i18n.FIELD_SUB_LABEL_F';
|
||||
|
||||
/** the column name for the FIELD_DESCRIPTION_F field */
|
||||
const FIELD_DESCRIPTION_F = 'st_trust_i18n.FIELD_DESCRIPTION_F';
|
||||
|
||||
/** the column name for the ICON_F field */
|
||||
const ICON_F = 'st_trust_i18n.ICON_F';
|
||||
|
||||
/** the column name for the FIELD_LABEL_S field */
|
||||
const FIELD_LABEL_S = 'st_trust_i18n.FIELD_LABEL_S';
|
||||
|
||||
/** the column name for the FIELD_SUB_LABEL_S field */
|
||||
const FIELD_SUB_LABEL_S = 'st_trust_i18n.FIELD_SUB_LABEL_S';
|
||||
|
||||
/** the column name for the FIELD_DESCRIPTION_S field */
|
||||
const FIELD_DESCRIPTION_S = 'st_trust_i18n.FIELD_DESCRIPTION_S';
|
||||
|
||||
/** the column name for the ICON_S field */
|
||||
const ICON_S = 'st_trust_i18n.ICON_S';
|
||||
|
||||
/** the column name for the FIELD_LABEL_T field */
|
||||
const FIELD_LABEL_T = 'st_trust_i18n.FIELD_LABEL_T';
|
||||
|
||||
/** the column name for the FIELD_SUB_LABEL_T field */
|
||||
const FIELD_SUB_LABEL_T = 'st_trust_i18n.FIELD_SUB_LABEL_T';
|
||||
|
||||
/** the column name for the FIELD_DESCRIPTION_T field */
|
||||
const FIELD_DESCRIPTION_T = 'st_trust_i18n.FIELD_DESCRIPTION_T';
|
||||
|
||||
/** the column name for the ICON_T field */
|
||||
const ICON_T = 'st_trust_i18n.ICON_T';
|
||||
|
||||
/** The PHP to DB Name Mapping */
|
||||
private static $phpNameMap = null;
|
||||
|
||||
|
||||
/**
|
||||
* holds an array of fieldnames
|
||||
*
|
||||
* first dimension keys are the type constants
|
||||
* e.g. self::$fieldNames[self::TYPE_PHPNAME][0] = 'Id'
|
||||
*/
|
||||
private static $fieldNames = array (
|
||||
BasePeer::TYPE_PHPNAME => array ('Id', 'Culture', 'FieldDescription', 'FieldLabelF', 'FieldSubLabelF', 'FieldDescriptionF', 'IconF', 'FieldLabelS', 'FieldSubLabelS', 'FieldDescriptionS', 'IconS', 'FieldLabelT', 'FieldSubLabelT', 'FieldDescriptionT', 'IconT', ),
|
||||
BasePeer::TYPE_COLNAME => array (TrustI18nPeer::ID, TrustI18nPeer::CULTURE, TrustI18nPeer::FIELD_DESCRIPTION, TrustI18nPeer::FIELD_LABEL_F, TrustI18nPeer::FIELD_SUB_LABEL_F, TrustI18nPeer::FIELD_DESCRIPTION_F, TrustI18nPeer::ICON_F, TrustI18nPeer::FIELD_LABEL_S, TrustI18nPeer::FIELD_SUB_LABEL_S, TrustI18nPeer::FIELD_DESCRIPTION_S, TrustI18nPeer::ICON_S, TrustI18nPeer::FIELD_LABEL_T, TrustI18nPeer::FIELD_SUB_LABEL_T, TrustI18nPeer::FIELD_DESCRIPTION_T, TrustI18nPeer::ICON_T, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('id', 'culture', 'field_description', 'field_label_f', 'field_sub_label_f', 'field_description_f', 'icon_f', 'field_label_s', 'field_sub_label_s', 'field_description_s', 'icon_s', 'field_label_t', 'field_sub_label_t', 'field_description_t', 'icon_t', ),
|
||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, )
|
||||
);
|
||||
|
||||
/**
|
||||
* holds an array of keys for quick access to the fieldnames array
|
||||
*
|
||||
* first dimension keys are the type constants
|
||||
* e.g. self::$fieldNames[BasePeer::TYPE_PHPNAME]['Id'] = 0
|
||||
*/
|
||||
private static $fieldKeys = array (
|
||||
BasePeer::TYPE_PHPNAME => array ('Id' => 0, 'Culture' => 1, 'FieldDescription' => 2, 'FieldLabelF' => 3, 'FieldSubLabelF' => 4, 'FieldDescriptionF' => 5, 'IconF' => 6, 'FieldLabelS' => 7, 'FieldSubLabelS' => 8, 'FieldDescriptionS' => 9, 'IconS' => 10, 'FieldLabelT' => 11, 'FieldSubLabelT' => 12, 'FieldDescriptionT' => 13, 'IconT' => 14, ),
|
||||
BasePeer::TYPE_COLNAME => array (TrustI18nPeer::ID => 0, TrustI18nPeer::CULTURE => 1, TrustI18nPeer::FIELD_DESCRIPTION => 2, TrustI18nPeer::FIELD_LABEL_F => 3, TrustI18nPeer::FIELD_SUB_LABEL_F => 4, TrustI18nPeer::FIELD_DESCRIPTION_F => 5, TrustI18nPeer::ICON_F => 6, TrustI18nPeer::FIELD_LABEL_S => 7, TrustI18nPeer::FIELD_SUB_LABEL_S => 8, TrustI18nPeer::FIELD_DESCRIPTION_S => 9, TrustI18nPeer::ICON_S => 10, TrustI18nPeer::FIELD_LABEL_T => 11, TrustI18nPeer::FIELD_SUB_LABEL_T => 12, TrustI18nPeer::FIELD_DESCRIPTION_T => 13, TrustI18nPeer::ICON_T => 14, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('id' => 0, 'culture' => 1, 'field_description' => 2, 'field_label_f' => 3, 'field_sub_label_f' => 4, 'field_description_f' => 5, 'icon_f' => 6, 'field_label_s' => 7, 'field_sub_label_s' => 8, 'field_description_s' => 9, 'icon_s' => 10, 'field_label_t' => 11, 'field_sub_label_t' => 12, 'field_description_t' => 13, 'icon_t' => 14, ),
|
||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, )
|
||||
);
|
||||
|
||||
protected static $hydrateMethod = null;
|
||||
|
||||
protected static $postHydrateMethod = null;
|
||||
|
||||
public static function setHydrateMethod($callback)
|
||||
{
|
||||
self::$hydrateMethod = $callback;
|
||||
}
|
||||
|
||||
public static function setPostHydrateMethod($callback)
|
||||
{
|
||||
self::$postHydrateMethod = $callback;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return MapBuilder the map builder for this peer
|
||||
* @throws PropelException Any exceptions caught during processing will be
|
||||
* rethrown wrapped into a PropelException.
|
||||
*/
|
||||
public static function getMapBuilder()
|
||||
{
|
||||
return BasePeer::getMapBuilder('plugins.stTrustPlugin.lib.model.map.TrustI18nMapBuilder');
|
||||
}
|
||||
/**
|
||||
* Gets a map (hash) of PHP names to DB column names.
|
||||
*
|
||||
* @return array The PHP to DB name map for this peer
|
||||
* @throws PropelException Any exceptions caught during processing will be
|
||||
* rethrown wrapped into a PropelException.
|
||||
* @deprecated Use the getFieldNames() and translateFieldName() methods instead of this.
|
||||
*/
|
||||
public static function getPhpNameMap()
|
||||
{
|
||||
if (self::$phpNameMap === null) {
|
||||
$map = TrustI18nPeer::getTableMap();
|
||||
$columns = $map->getColumns();
|
||||
$nameMap = array();
|
||||
foreach ($columns as $column) {
|
||||
$nameMap[$column->getPhpName()] = $column->getColumnName();
|
||||
}
|
||||
self::$phpNameMap = $nameMap;
|
||||
}
|
||||
return self::$phpNameMap;
|
||||
}
|
||||
/**
|
||||
* Translates a fieldname to another type
|
||||
*
|
||||
* @param string $name field name
|
||||
* @param string $fromType One of the class type constants TYPE_PHPNAME,
|
||||
* TYPE_COLNAME, TYPE_FIELDNAME, TYPE_NUM
|
||||
* @param string $toType One of the class type constants
|
||||
* @return string translated name of the field.
|
||||
*/
|
||||
static public function translateFieldName($name, $fromType, $toType)
|
||||
{
|
||||
$toNames = self::getFieldNames($toType);
|
||||
$key = isset(self::$fieldKeys[$fromType][$name]) ? self::$fieldKeys[$fromType][$name] : null;
|
||||
if ($key === null) {
|
||||
throw new PropelException("'$name' could not be found in the field names of type '$fromType'. These are: " . print_r(self::$fieldKeys[$fromType], true));
|
||||
}
|
||||
return $toNames[$key];
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns an array of of field names.
|
||||
*
|
||||
* @param string $type The type of fieldnames to return:
|
||||
* One of the class type constants TYPE_PHPNAME,
|
||||
* TYPE_COLNAME, TYPE_FIELDNAME, TYPE_NUM
|
||||
* @return array A list of field names
|
||||
*/
|
||||
|
||||
static public function getFieldNames($type = BasePeer::TYPE_PHPNAME)
|
||||
{
|
||||
if (!array_key_exists($type, self::$fieldNames)) {
|
||||
throw new PropelException('Method getFieldNames() expects the parameter $type to be one of the class constants TYPE_PHPNAME, TYPE_COLNAME, TYPE_FIELDNAME, TYPE_NUM. ' . $type . ' was given.');
|
||||
}
|
||||
return self::$fieldNames[$type];
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience method which changes table.column to alias.column.
|
||||
*
|
||||
* Using this method you can maintain SQL abstraction while using column aliases.
|
||||
* <code>
|
||||
* $c->addAlias("alias1", TablePeer::TABLE_NAME);
|
||||
* $c->addJoin(TablePeer::alias("alias1", TablePeer::PRIMARY_KEY_COLUMN), TablePeer::PRIMARY_KEY_COLUMN);
|
||||
* </code>
|
||||
* @param string $alias The alias for the current table.
|
||||
* @param string $column The column name for current table. (i.e. TrustI18nPeer::COLUMN_NAME).
|
||||
* @return string
|
||||
*/
|
||||
public static function alias($alias, $column)
|
||||
{
|
||||
return str_replace(TrustI18nPeer::TABLE_NAME.'.', $alias.'.', $column);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add all the columns needed to create a new object.
|
||||
*
|
||||
* Note: any columns that were marked with lazyLoad="true" in the
|
||||
* XML schema will not be added to the select list and only loaded
|
||||
* on demand.
|
||||
*
|
||||
* @param criteria object containing the columns to add.
|
||||
* @throws PropelException Any exceptions caught during processing will be
|
||||
* rethrown wrapped into a PropelException.
|
||||
*/
|
||||
public static function addSelectColumns(Criteria $criteria)
|
||||
{
|
||||
|
||||
$criteria->addSelectColumn(TrustI18nPeer::ID);
|
||||
|
||||
$criteria->addSelectColumn(TrustI18nPeer::CULTURE);
|
||||
|
||||
$criteria->addSelectColumn(TrustI18nPeer::FIELD_DESCRIPTION);
|
||||
|
||||
$criteria->addSelectColumn(TrustI18nPeer::FIELD_LABEL_F);
|
||||
|
||||
$criteria->addSelectColumn(TrustI18nPeer::FIELD_SUB_LABEL_F);
|
||||
|
||||
$criteria->addSelectColumn(TrustI18nPeer::FIELD_DESCRIPTION_F);
|
||||
|
||||
$criteria->addSelectColumn(TrustI18nPeer::ICON_F);
|
||||
|
||||
$criteria->addSelectColumn(TrustI18nPeer::FIELD_LABEL_S);
|
||||
|
||||
$criteria->addSelectColumn(TrustI18nPeer::FIELD_SUB_LABEL_S);
|
||||
|
||||
$criteria->addSelectColumn(TrustI18nPeer::FIELD_DESCRIPTION_S);
|
||||
|
||||
$criteria->addSelectColumn(TrustI18nPeer::ICON_S);
|
||||
|
||||
$criteria->addSelectColumn(TrustI18nPeer::FIELD_LABEL_T);
|
||||
|
||||
$criteria->addSelectColumn(TrustI18nPeer::FIELD_SUB_LABEL_T);
|
||||
|
||||
$criteria->addSelectColumn(TrustI18nPeer::FIELD_DESCRIPTION_T);
|
||||
|
||||
$criteria->addSelectColumn(TrustI18nPeer::ICON_T);
|
||||
|
||||
|
||||
if (stEventDispatcher::getInstance()->getListeners('TrustI18nPeer.postAddSelectColumns')) {
|
||||
stEventDispatcher::getInstance()->notify(new sfEvent($criteria, 'TrustI18nPeer.postAddSelectColumns'));
|
||||
}
|
||||
}
|
||||
|
||||
const COUNT = 'COUNT(st_trust_i18n.ID)';
|
||||
const COUNT_DISTINCT = 'COUNT(DISTINCT st_trust_i18n.ID)';
|
||||
|
||||
/**
|
||||
* Returns the number of rows matching criteria.
|
||||
*
|
||||
* @param Criteria $criteria
|
||||
* @param boolean $distinct Whether to select only distinct columns (You can also set DISTINCT modifier in Criteria).
|
||||
* @param Connection $con
|
||||
* @return int Number of matching rows.
|
||||
*/
|
||||
public static function doCount(Criteria $criteria, $distinct = false, $con = null)
|
||||
{
|
||||
// we're going to modify criteria, so copy it first
|
||||
$criteria = clone $criteria;
|
||||
|
||||
// clear out anything that might confuse the ORDER BY clause
|
||||
$criteria->clearSelectColumns()->clearOrderByColumns();
|
||||
if ($distinct || in_array(Criteria::DISTINCT, $criteria->getSelectModifiers())) {
|
||||
$criteria->addSelectColumn(TrustI18nPeer::COUNT_DISTINCT);
|
||||
} else {
|
||||
$criteria->addSelectColumn(TrustI18nPeer::COUNT);
|
||||
}
|
||||
|
||||
// just in case we're grouping: add those columns to the select statement
|
||||
foreach($criteria->getGroupByColumns() as $column)
|
||||
{
|
||||
$criteria->addSelectColumn($column);
|
||||
}
|
||||
|
||||
$rs = TrustI18nPeer::doSelectRS($criteria, $con);
|
||||
if ($rs->next()) {
|
||||
return $rs->getInt(1);
|
||||
} else {
|
||||
// no rows returned; we infer that means 0 matches.
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Method to select one object from the DB.
|
||||
*
|
||||
* @param Criteria $criteria object used to create the SELECT statement.
|
||||
* @param Connection $con
|
||||
* @return TrustI18n
|
||||
* @throws PropelException Any exceptions caught during processing will be
|
||||
* rethrown wrapped into a PropelException.
|
||||
*/
|
||||
public static function doSelectOne(Criteria $criteria, $con = null)
|
||||
{
|
||||
$critcopy = clone $criteria;
|
||||
$critcopy->setLimit(1);
|
||||
$objects = TrustI18nPeer::doSelect($critcopy, $con);
|
||||
if ($objects) {
|
||||
return $objects[0];
|
||||
}
|
||||
return null;
|
||||
}
|
||||
/**
|
||||
* Method to do selects.
|
||||
*
|
||||
* @param Criteria $criteria The Criteria object used to build the SELECT statement.
|
||||
* @param Connection $con
|
||||
* @return TrustI18n[]
|
||||
* @throws PropelException Any exceptions caught during processing will be
|
||||
* rethrown wrapped into a PropelException.
|
||||
*/
|
||||
public static function doSelect(Criteria $criteria, $con = null)
|
||||
{
|
||||
return TrustI18nPeer::populateObjects(TrustI18nPeer::doSelectRS($criteria, $con));
|
||||
}
|
||||
/**
|
||||
* Prepares the Criteria object and uses the parent doSelect()
|
||||
* method to get a ResultSet.
|
||||
*
|
||||
* Use this method directly if you want to just get the resultset
|
||||
* (instead of an array of objects).
|
||||
*
|
||||
* @param Criteria $criteria The Criteria object used to build the SELECT statement.
|
||||
* @param Connection $con the connection to use
|
||||
* @throws PropelException Any exceptions caught during processing will be
|
||||
* rethrown wrapped into a PropelException.
|
||||
* @return ResultSet The resultset object with numerically-indexed fields.
|
||||
* @see BasePeer::doSelect()
|
||||
*/
|
||||
public static function doSelectRS(Criteria $criteria, $con = null)
|
||||
{
|
||||
if ($con === null) {
|
||||
$con = Propel::getConnection(self::DATABASE_NAME);
|
||||
}
|
||||
|
||||
if (!$criteria->getSelectColumns()) {
|
||||
$criteria = clone $criteria;
|
||||
TrustI18nPeer::addSelectColumns($criteria);
|
||||
}
|
||||
|
||||
if (stEventDispatcher::getInstance()->getListeners('BasePeer.preDoSelectRs')) {
|
||||
stEventDispatcher::getInstance()->notify(new sfEvent($criteria, 'BasePeer.preDoSelectRs'));
|
||||
}
|
||||
|
||||
// Set the correct dbName
|
||||
$criteria->setDbName(self::DATABASE_NAME);
|
||||
|
||||
// BasePeer returns a Creole ResultSet, set to return
|
||||
// rows indexed numerically.
|
||||
$rs = BasePeer::doSelect($criteria, $con);
|
||||
|
||||
if (stEventDispatcher::getInstance()->getListeners('BasePeer.postDoSelectRs')) {
|
||||
stEventDispatcher::getInstance()->notify(new sfEvent($rs, 'BasePeer.postDoSelectRs'));
|
||||
}
|
||||
|
||||
return $rs;
|
||||
}
|
||||
/**
|
||||
* The returned array will contain objects of the default type or
|
||||
* objects that inherit from the default.
|
||||
*
|
||||
* @throws PropelException Any exceptions caught during processing will be
|
||||
* rethrown wrapped into a PropelException.
|
||||
*/
|
||||
public static function populateObjects(ResultSet $rs)
|
||||
{
|
||||
|
||||
if (self::$hydrateMethod)
|
||||
{
|
||||
return call_user_func(self::$hydrateMethod, $rs);
|
||||
}
|
||||
$results = array();
|
||||
|
||||
// set the class once to avoid overhead in the loop
|
||||
$cls = TrustI18nPeer::getOMClass();
|
||||
$cls = Propel::import($cls);
|
||||
// populate the object(s)
|
||||
while($rs->next()) {
|
||||
|
||||
$obj = new $cls();
|
||||
$obj->hydrate($rs);
|
||||
$results[] = self::$postHydrateMethod ? call_user_func(self::$postHydrateMethod, $obj) : $obj;
|
||||
|
||||
}
|
||||
return $results;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the number of rows matching criteria, joining the related Trust table
|
||||
*
|
||||
* @param Criteria $c
|
||||
* @param boolean $distinct Whether to select only distinct columns (You can also set DISTINCT modifier in Criteria).
|
||||
* @param Connection $con
|
||||
* @return int Number of matching rows.
|
||||
*/
|
||||
public static function doCountJoinTrust(Criteria $criteria, $distinct = false, $con = null)
|
||||
{
|
||||
// we're going to modify criteria, so copy it first
|
||||
$criteria = clone $criteria;
|
||||
|
||||
// clear out anything that might confuse the ORDER BY clause
|
||||
$criteria->clearSelectColumns()->clearOrderByColumns();
|
||||
if ($distinct || in_array(Criteria::DISTINCT, $criteria->getSelectModifiers())) {
|
||||
$criteria->addSelectColumn(TrustI18nPeer::COUNT_DISTINCT);
|
||||
} else {
|
||||
$criteria->addSelectColumn(TrustI18nPeer::COUNT);
|
||||
}
|
||||
|
||||
// just in case we're grouping: add those columns to the select statement
|
||||
foreach($criteria->getGroupByColumns() as $column)
|
||||
{
|
||||
$criteria->addSelectColumn($column);
|
||||
}
|
||||
|
||||
$criteria->addJoin(TrustI18nPeer::ID, TrustPeer::ID);
|
||||
|
||||
$rs = TrustI18nPeer::doSelectRS($criteria, $con);
|
||||
if ($rs->next()) {
|
||||
return $rs->getInt(1);
|
||||
} else {
|
||||
// no rows returned; we infer that means 0 matches.
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Selects a collection of TrustI18n objects pre-filled with their Trust objects.
|
||||
*
|
||||
* @return TrustI18n[] Array of TrustI18n objects.
|
||||
* @throws PropelException Any exceptions caught during processing will be
|
||||
* rethrown wrapped into a PropelException.
|
||||
*/
|
||||
public static function doSelectJoinTrust(Criteria $c, $con = null)
|
||||
{
|
||||
$c = clone $c;
|
||||
|
||||
// Set the correct dbName if it has not been overridden
|
||||
if ($c->getDbName() == Propel::getDefaultDB()) {
|
||||
$c->setDbName(self::DATABASE_NAME);
|
||||
}
|
||||
|
||||
TrustI18nPeer::addSelectColumns($c);
|
||||
|
||||
TrustPeer::addSelectColumns($c);
|
||||
|
||||
$c->addJoin(TrustI18nPeer::ID, TrustPeer::ID);
|
||||
$rs = TrustI18nPeer::doSelectRs($c, $con);
|
||||
|
||||
if (self::$hydrateMethod)
|
||||
{
|
||||
return call_user_func(self::$hydrateMethod, $rs);
|
||||
}
|
||||
|
||||
$results = array();
|
||||
|
||||
while($rs->next()) {
|
||||
|
||||
$obj1 = new TrustI18n();
|
||||
$startcol = $obj1->hydrate($rs);
|
||||
if ($obj1->getId())
|
||||
{
|
||||
|
||||
$obj2 = new Trust();
|
||||
$obj2->hydrate($rs, $startcol);
|
||||
$obj2->addTrustI18n($obj1);
|
||||
}
|
||||
$results[] = self::$postHydrateMethod ? call_user_func(self::$postHydrateMethod, $obj1) : $obj1;;
|
||||
}
|
||||
return $results;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns the number of rows matching criteria, joining all related tables
|
||||
*
|
||||
* @param Criteria $c
|
||||
* @param boolean $distinct Whether to select only distinct columns (You can also set DISTINCT modifier in Criteria).
|
||||
* @param Connection $con
|
||||
* @return int Number of matching rows.
|
||||
*/
|
||||
public static function doCountJoinAll(Criteria $criteria, $distinct = false, $con = null)
|
||||
{
|
||||
$criteria = clone $criteria;
|
||||
|
||||
// clear out anything that might confuse the ORDER BY clause
|
||||
$criteria->clearSelectColumns()->clearOrderByColumns();
|
||||
if ($distinct || in_array(Criteria::DISTINCT, $criteria->getSelectModifiers())) {
|
||||
$criteria->addSelectColumn(TrustI18nPeer::COUNT_DISTINCT);
|
||||
} else {
|
||||
$criteria->addSelectColumn(TrustI18nPeer::COUNT);
|
||||
}
|
||||
|
||||
// just in case we're grouping: add those columns to the select statement
|
||||
foreach($criteria->getGroupByColumns() as $column)
|
||||
{
|
||||
$criteria->addSelectColumn($column);
|
||||
}
|
||||
|
||||
$criteria->addJoin(TrustI18nPeer::ID, TrustPeer::ID);
|
||||
|
||||
$rs = TrustI18nPeer::doSelectRS($criteria, $con);
|
||||
if ($rs->next()) {
|
||||
return $rs->getInt(1);
|
||||
} else {
|
||||
// no rows returned; we infer that means 0 matches.
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Selects a collection of TrustI18n objects pre-filled with all related objects.
|
||||
*
|
||||
* @return TrustI18n[]
|
||||
* @throws PropelException Any exceptions caught during processing will be
|
||||
* rethrown wrapped into a PropelException.
|
||||
*/
|
||||
public static function doSelectJoinAll(Criteria $c, $con = null)
|
||||
{
|
||||
$c = clone $c;
|
||||
|
||||
// Set the correct dbName if it has not been overridden
|
||||
if ($c->getDbName() == Propel::getDefaultDB()) {
|
||||
$c->setDbName(self::DATABASE_NAME);
|
||||
}
|
||||
|
||||
TrustI18nPeer::addSelectColumns($c);
|
||||
$startcol2 = (TrustI18nPeer::NUM_COLUMNS - TrustI18nPeer::NUM_LAZY_LOAD_COLUMNS) + 1;
|
||||
|
||||
TrustPeer::addSelectColumns($c);
|
||||
$startcol3 = $startcol2 + TrustPeer::NUM_COLUMNS;
|
||||
|
||||
$c->addJoin(TrustI18nPeer::ID, TrustPeer::ID);
|
||||
|
||||
$rs = BasePeer::doSelect($c, $con);
|
||||
|
||||
if (self::$hydrateMethod)
|
||||
{
|
||||
return call_user_func(self::$hydrateMethod, $rs);
|
||||
}
|
||||
$results = array();
|
||||
|
||||
while($rs->next()) {
|
||||
|
||||
$omClass = TrustI18nPeer::getOMClass();
|
||||
|
||||
|
||||
$cls = Propel::import($omClass);
|
||||
$obj1 = new $cls();
|
||||
$obj1->hydrate($rs);
|
||||
|
||||
|
||||
// Add objects for joined Trust rows
|
||||
|
||||
$omClass = TrustPeer::getOMClass();
|
||||
|
||||
|
||||
$cls = Propel::import($omClass);
|
||||
$obj2 = new $cls();
|
||||
$obj2->hydrate($rs, $startcol2);
|
||||
|
||||
$newObject = true;
|
||||
for ($j=0, $resCount=count($results); $j < $resCount; $j++) {
|
||||
$temp_obj1 = $results[$j];
|
||||
$temp_obj2 = $temp_obj1->getTrust(); // CHECKME
|
||||
if (null !== $temp_obj2 && $temp_obj2->getPrimaryKey() === $obj2->getPrimaryKey()) {
|
||||
$newObject = false;
|
||||
$temp_obj2->addTrustI18n($obj1); // CHECKME
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if ($newObject) {
|
||||
$obj2->initTrustI18ns();
|
||||
$obj2->addTrustI18n($obj1);
|
||||
}
|
||||
|
||||
$results[] = self::$postHydrateMethod ? call_user_func(self::$postHydrateMethod, $obj1) : $obj1;
|
||||
}
|
||||
return $results;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the TableMap related to this peer.
|
||||
* This method is not needed for general use but a specific application could have a need.
|
||||
* @return TableMap
|
||||
* @throws PropelException Any exceptions caught during processing will be
|
||||
* rethrown wrapped into a PropelException.
|
||||
*/
|
||||
public static function getTableMap()
|
||||
{
|
||||
return Propel::getDatabaseMap(self::DATABASE_NAME)->getTable(self::TABLE_NAME);
|
||||
}
|
||||
|
||||
/**
|
||||
* The class that the Peer will make instances of.
|
||||
*
|
||||
* This uses a dot-path notation which is tranalted into a path
|
||||
* relative to a location on the PHP include_path.
|
||||
* (e.g. path.to.MyClass -> 'path/to/MyClass.php')
|
||||
*
|
||||
* @return string path.to.ClassName
|
||||
*/
|
||||
public static function getOMClass()
|
||||
{
|
||||
return TrustI18nPeer::CLASS_DEFAULT;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method perform an INSERT on the database, given a TrustI18n or Criteria object.
|
||||
*
|
||||
* @param mixed $values Criteria or TrustI18n object containing data that is used to create the INSERT statement.
|
||||
* @param Connection $con the connection to use
|
||||
* @return mixed The new primary key.
|
||||
* @throws PropelException Any exceptions caught during processing will be
|
||||
* rethrown wrapped into a PropelException.
|
||||
*/
|
||||
public static function doInsert($values, $con = null)
|
||||
{
|
||||
|
||||
foreach (sfMixer::getCallables('BaseTrustI18nPeer:doInsert:pre') as $callable)
|
||||
{
|
||||
$ret = call_user_func($callable, 'BaseTrustI18nPeer', $values, $con);
|
||||
if (false !== $ret)
|
||||
{
|
||||
return $ret;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if ($con === null) {
|
||||
$con = Propel::getConnection(self::DATABASE_NAME);
|
||||
}
|
||||
|
||||
if ($values instanceof Criteria) {
|
||||
$criteria = clone $values; // rename for clarity
|
||||
} else {
|
||||
$criteria = $values->buildCriteria(); // build Criteria from TrustI18n object
|
||||
}
|
||||
|
||||
|
||||
// Set the correct dbName
|
||||
$criteria->setDbName(self::DATABASE_NAME);
|
||||
|
||||
try {
|
||||
// use transaction because $criteria could contain info
|
||||
// for more than one table (I guess, conceivably)
|
||||
$con->begin();
|
||||
$pk = BasePeer::doInsert($criteria, $con);
|
||||
$con->commit();
|
||||
} catch(PropelException $e) {
|
||||
$con->rollback();
|
||||
throw $e;
|
||||
}
|
||||
|
||||
|
||||
foreach (sfMixer::getCallables('BaseTrustI18nPeer:doInsert:post') as $callable)
|
||||
{
|
||||
call_user_func($callable, 'BaseTrustI18nPeer', $values, $con, $pk);
|
||||
}
|
||||
|
||||
return $pk;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method perform an UPDATE on the database, given a TrustI18n or Criteria object.
|
||||
*
|
||||
* @param mixed $values Criteria or TrustI18n object containing data that is used to create the UPDATE statement.
|
||||
* @param Connection $con The connection to use (specify Connection object to exert more control over transactions).
|
||||
* @return int The number of affected rows (if supported by underlying database driver).
|
||||
* @throws PropelException Any exceptions caught during processing will be
|
||||
* rethrown wrapped into a PropelException.
|
||||
*/
|
||||
public static function doUpdate($values, $con = null)
|
||||
{
|
||||
|
||||
foreach (sfMixer::getCallables('BaseTrustI18nPeer:doUpdate:pre') as $callable)
|
||||
{
|
||||
$ret = call_user_func($callable, 'BaseTrustI18nPeer', $values, $con);
|
||||
if (false !== $ret)
|
||||
{
|
||||
return $ret;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if ($con === null) {
|
||||
$con = Propel::getConnection(self::DATABASE_NAME);
|
||||
}
|
||||
|
||||
$selectCriteria = new Criteria(self::DATABASE_NAME);
|
||||
|
||||
if ($values instanceof Criteria) {
|
||||
$criteria = clone $values; // rename for clarity
|
||||
|
||||
$comparison = $criteria->getComparison(TrustI18nPeer::ID);
|
||||
$selectCriteria->add(TrustI18nPeer::ID, $criteria->remove(TrustI18nPeer::ID), $comparison);
|
||||
|
||||
$comparison = $criteria->getComparison(TrustI18nPeer::CULTURE);
|
||||
$selectCriteria->add(TrustI18nPeer::CULTURE, $criteria->remove(TrustI18nPeer::CULTURE), $comparison);
|
||||
|
||||
} else { // $values is TrustI18n object
|
||||
$criteria = $values->buildCriteria(); // gets full criteria
|
||||
$selectCriteria = $values->buildPkeyCriteria(); // gets criteria w/ primary key(s)
|
||||
}
|
||||
|
||||
// set the correct dbName
|
||||
$criteria->setDbName(self::DATABASE_NAME);
|
||||
|
||||
$ret = BasePeer::doUpdate($selectCriteria, $criteria, $con);
|
||||
|
||||
|
||||
foreach (sfMixer::getCallables('BaseTrustI18nPeer:doUpdate:post') as $callable)
|
||||
{
|
||||
call_user_func($callable, 'BaseTrustI18nPeer', $values, $con, $ret);
|
||||
}
|
||||
|
||||
return $ret;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to DELETE all rows from the st_trust_i18n table.
|
||||
*
|
||||
* @return int The number of affected rows (if supported by underlying database driver).
|
||||
*/
|
||||
public static function doDeleteAll($con = null)
|
||||
{
|
||||
if ($con === null) {
|
||||
$con = Propel::getConnection(self::DATABASE_NAME);
|
||||
}
|
||||
$affectedRows = 0; // initialize var to track total num of affected rows
|
||||
try {
|
||||
// use transaction because $criteria could contain info
|
||||
// for more than one table or we could emulating ON DELETE CASCADE, etc.
|
||||
$con->begin();
|
||||
$affectedRows += BasePeer::doDeleteAll(TrustI18nPeer::TABLE_NAME, $con);
|
||||
$con->commit();
|
||||
return $affectedRows;
|
||||
} catch (PropelException $e) {
|
||||
$con->rollback();
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Method perform a DELETE on the database, given a TrustI18n or Criteria object OR a primary key value.
|
||||
*
|
||||
* @param mixed $values Criteria or TrustI18n object or primary key or array of primary keys
|
||||
* which is used to create the DELETE statement
|
||||
* @param Connection $con the connection to use
|
||||
* @return int The number of affected rows (if supported by underlying database driver). This includes CASCADE-related rows
|
||||
* if supported by native driver or if emulated using Propel.
|
||||
* @throws PropelException Any exceptions caught during processing will be
|
||||
* rethrown wrapped into a PropelException.
|
||||
*/
|
||||
public static function doDelete($values, $con = null)
|
||||
{
|
||||
if ($con === null) {
|
||||
$con = Propel::getConnection(TrustI18nPeer::DATABASE_NAME);
|
||||
}
|
||||
|
||||
if ($values instanceof Criteria) {
|
||||
$criteria = clone $values; // rename for clarity
|
||||
} elseif ($values instanceof TrustI18n) {
|
||||
|
||||
$criteria = $values->buildPkeyCriteria();
|
||||
} else {
|
||||
// it must be the primary key
|
||||
$criteria = new Criteria(self::DATABASE_NAME);
|
||||
// primary key is composite; we therefore, expect
|
||||
// the primary key passed to be an array of pkey
|
||||
// values
|
||||
if(count($values) == count($values, COUNT_RECURSIVE))
|
||||
{
|
||||
// array is not multi-dimensional
|
||||
$values = array($values);
|
||||
}
|
||||
$vals = array();
|
||||
foreach($values as $value)
|
||||
{
|
||||
|
||||
$vals[0][] = $value[0];
|
||||
$vals[1][] = $value[1];
|
||||
}
|
||||
|
||||
$criteria->add(TrustI18nPeer::ID, $vals[0], Criteria::IN);
|
||||
$criteria->add(TrustI18nPeer::CULTURE, $vals[1], Criteria::IN);
|
||||
}
|
||||
|
||||
// Set the correct dbName
|
||||
$criteria->setDbName(self::DATABASE_NAME);
|
||||
|
||||
$affectedRows = 0; // initialize var to track total num of affected rows
|
||||
|
||||
try {
|
||||
// use transaction because $criteria could contain info
|
||||
// for more than one table or we could emulating ON DELETE CASCADE, etc.
|
||||
$con->begin();
|
||||
|
||||
$affectedRows += BasePeer::doDelete($criteria, $con);
|
||||
$con->commit();
|
||||
return $affectedRows;
|
||||
} catch (PropelException $e) {
|
||||
$con->rollback();
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Validates all modified columns of given TrustI18n object.
|
||||
* If parameter $columns is either a single column name or an array of column names
|
||||
* than only those columns are validated.
|
||||
*
|
||||
* NOTICE: This does not apply to primary or foreign keys for now.
|
||||
*
|
||||
* @param TrustI18n $obj The object to validate.
|
||||
* @param mixed $cols Column name or array of column names.
|
||||
*
|
||||
* @return mixed TRUE if all columns are valid or the error message of the first invalid column.
|
||||
*/
|
||||
public static function doValidate(TrustI18n $obj, $cols = null)
|
||||
{
|
||||
$columns = array();
|
||||
|
||||
if ($cols) {
|
||||
$dbMap = Propel::getDatabaseMap(TrustI18nPeer::DATABASE_NAME);
|
||||
$tableMap = $dbMap->getTable(TrustI18nPeer::TABLE_NAME);
|
||||
|
||||
if (! is_array($cols)) {
|
||||
$cols = array($cols);
|
||||
}
|
||||
|
||||
foreach($cols as $colName) {
|
||||
if ($tableMap->containsColumn($colName)) {
|
||||
$get = 'get' . $tableMap->getColumn($colName)->getPhpName();
|
||||
$columns[$colName] = $obj->$get();
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
}
|
||||
|
||||
$res = BasePeer::doValidate(TrustI18nPeer::DATABASE_NAME, TrustI18nPeer::TABLE_NAME, $columns);
|
||||
if ($res !== true) {
|
||||
$request = sfContext::getInstance()->getRequest();
|
||||
foreach ($res as $failed) {
|
||||
$col = TrustI18nPeer::translateFieldname($failed->getColumn(), BasePeer::TYPE_COLNAME, BasePeer::TYPE_PHPNAME);
|
||||
$request->setError($col, $failed->getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieve object using using composite pkey values.
|
||||
* @param int $id
|
||||
@param string $culture
|
||||
|
||||
* @param Connection $con
|
||||
* @return TrustI18n
|
||||
*/
|
||||
public static function retrieveByPK( $id, $culture, $con = null) {
|
||||
if ($con === null) {
|
||||
$con = Propel::getConnection(self::DATABASE_NAME);
|
||||
}
|
||||
$criteria = new Criteria();
|
||||
$criteria->add(TrustI18nPeer::ID, $id);
|
||||
$criteria->add(TrustI18nPeer::CULTURE, $culture);
|
||||
$v = TrustI18nPeer::doSelect($criteria, $con);
|
||||
|
||||
return !empty($v) ? $v[0] : null;
|
||||
}
|
||||
} // BaseTrustI18nPeer
|
||||
|
||||
// static code to register the map builder for this Peer with the main Propel class
|
||||
if (Propel::isInit()) {
|
||||
// the MapBuilder classes register themselves with Propel during initialization
|
||||
// so we need to load them here.
|
||||
try {
|
||||
BaseTrustI18nPeer::getMapBuilder();
|
||||
} catch (Exception $e) {
|
||||
Propel::log('Could not initialize Peer: ' . $e->getMessage(), Propel::LOG_ERR);
|
||||
}
|
||||
} else {
|
||||
// even if Propel is not yet initialized, the map builder class can be registered
|
||||
// now and then it will be loaded when Propel initializes.
|
||||
Propel::registerMapBuilder('plugins.stTrustPlugin.lib.model.map.TrustI18nMapBuilder');
|
||||
}
|
||||
961
plugins/stTrustPlugin/lib/model/om/BaseTrustPeer.php
Normal file
961
plugins/stTrustPlugin/lib/model/om/BaseTrustPeer.php
Normal file
@@ -0,0 +1,961 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Base static class for performing query and update operations on the 'st_trust' table.
|
||||
*
|
||||
*
|
||||
*
|
||||
* @package plugins.stTrustPlugin.lib.model.om
|
||||
*/
|
||||
abstract class BaseTrustPeer {
|
||||
|
||||
/** the default database name for this class */
|
||||
const DATABASE_NAME = 'propel';
|
||||
|
||||
/** the table name for this class */
|
||||
const TABLE_NAME = 'st_trust';
|
||||
|
||||
/** A class that can be returned by this peer. */
|
||||
const CLASS_DEFAULT = 'plugins.stTrustPlugin.lib.model.Trust';
|
||||
|
||||
/** The total number of columns. */
|
||||
const NUM_COLUMNS = 8;
|
||||
|
||||
/** The number of lazy-loaded columns. */
|
||||
const NUM_LAZY_LOAD_COLUMNS = 0;
|
||||
|
||||
|
||||
/** the column name for the CREATED_AT field */
|
||||
const CREATED_AT = 'st_trust.CREATED_AT';
|
||||
|
||||
/** the column name for the UPDATED_AT field */
|
||||
const UPDATED_AT = 'st_trust.UPDATED_AT';
|
||||
|
||||
/** the column name for the ID field */
|
||||
const ID = 'st_trust.ID';
|
||||
|
||||
/** the column name for the PRODUCT_ID field */
|
||||
const PRODUCT_ID = 'st_trust.PRODUCT_ID';
|
||||
|
||||
/** the column name for the FIELD_ON field */
|
||||
const FIELD_ON = 'st_trust.FIELD_ON';
|
||||
|
||||
/** the column name for the FIELD_F_ON field */
|
||||
const FIELD_F_ON = 'st_trust.FIELD_F_ON';
|
||||
|
||||
/** the column name for the FIELD_S_ON field */
|
||||
const FIELD_S_ON = 'st_trust.FIELD_S_ON';
|
||||
|
||||
/** the column name for the FIELD_T_ON field */
|
||||
const FIELD_T_ON = 'st_trust.FIELD_T_ON';
|
||||
|
||||
/** The PHP to DB Name Mapping */
|
||||
private static $phpNameMap = null;
|
||||
|
||||
|
||||
/**
|
||||
* holds an array of fieldnames
|
||||
*
|
||||
* first dimension keys are the type constants
|
||||
* e.g. self::$fieldNames[self::TYPE_PHPNAME][0] = 'Id'
|
||||
*/
|
||||
private static $fieldNames = array (
|
||||
BasePeer::TYPE_PHPNAME => array ('CreatedAt', 'UpdatedAt', 'Id', 'ProductId', 'FieldOn', 'FieldFOn', 'FieldSOn', 'FieldTOn', ),
|
||||
BasePeer::TYPE_COLNAME => array (TrustPeer::CREATED_AT, TrustPeer::UPDATED_AT, TrustPeer::ID, TrustPeer::PRODUCT_ID, TrustPeer::FIELD_ON, TrustPeer::FIELD_F_ON, TrustPeer::FIELD_S_ON, TrustPeer::FIELD_T_ON, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('created_at', 'updated_at', 'id', 'product_id', 'field_on', 'field_f_on', 'field_s_on', 'field_t_on', ),
|
||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, )
|
||||
);
|
||||
|
||||
/**
|
||||
* holds an array of keys for quick access to the fieldnames array
|
||||
*
|
||||
* first dimension keys are the type constants
|
||||
* e.g. self::$fieldNames[BasePeer::TYPE_PHPNAME]['Id'] = 0
|
||||
*/
|
||||
private static $fieldKeys = array (
|
||||
BasePeer::TYPE_PHPNAME => array ('CreatedAt' => 0, 'UpdatedAt' => 1, 'Id' => 2, 'ProductId' => 3, 'FieldOn' => 4, 'FieldFOn' => 5, 'FieldSOn' => 6, 'FieldTOn' => 7, ),
|
||||
BasePeer::TYPE_COLNAME => array (TrustPeer::CREATED_AT => 0, TrustPeer::UPDATED_AT => 1, TrustPeer::ID => 2, TrustPeer::PRODUCT_ID => 3, TrustPeer::FIELD_ON => 4, TrustPeer::FIELD_F_ON => 5, TrustPeer::FIELD_S_ON => 6, TrustPeer::FIELD_T_ON => 7, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('created_at' => 0, 'updated_at' => 1, 'id' => 2, 'product_id' => 3, 'field_on' => 4, 'field_f_on' => 5, 'field_s_on' => 6, 'field_t_on' => 7, ),
|
||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, )
|
||||
);
|
||||
|
||||
protected static $hydrateMethod = null;
|
||||
|
||||
protected static $postHydrateMethod = null;
|
||||
|
||||
public static function setHydrateMethod($callback)
|
||||
{
|
||||
self::$hydrateMethod = $callback;
|
||||
}
|
||||
|
||||
public static function setPostHydrateMethod($callback)
|
||||
{
|
||||
self::$postHydrateMethod = $callback;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return MapBuilder the map builder for this peer
|
||||
* @throws PropelException Any exceptions caught during processing will be
|
||||
* rethrown wrapped into a PropelException.
|
||||
*/
|
||||
public static function getMapBuilder()
|
||||
{
|
||||
return BasePeer::getMapBuilder('plugins.stTrustPlugin.lib.model.map.TrustMapBuilder');
|
||||
}
|
||||
/**
|
||||
* Gets a map (hash) of PHP names to DB column names.
|
||||
*
|
||||
* @return array The PHP to DB name map for this peer
|
||||
* @throws PropelException Any exceptions caught during processing will be
|
||||
* rethrown wrapped into a PropelException.
|
||||
* @deprecated Use the getFieldNames() and translateFieldName() methods instead of this.
|
||||
*/
|
||||
public static function getPhpNameMap()
|
||||
{
|
||||
if (self::$phpNameMap === null) {
|
||||
$map = TrustPeer::getTableMap();
|
||||
$columns = $map->getColumns();
|
||||
$nameMap = array();
|
||||
foreach ($columns as $column) {
|
||||
$nameMap[$column->getPhpName()] = $column->getColumnName();
|
||||
}
|
||||
self::$phpNameMap = $nameMap;
|
||||
}
|
||||
return self::$phpNameMap;
|
||||
}
|
||||
/**
|
||||
* Translates a fieldname to another type
|
||||
*
|
||||
* @param string $name field name
|
||||
* @param string $fromType One of the class type constants TYPE_PHPNAME,
|
||||
* TYPE_COLNAME, TYPE_FIELDNAME, TYPE_NUM
|
||||
* @param string $toType One of the class type constants
|
||||
* @return string translated name of the field.
|
||||
*/
|
||||
static public function translateFieldName($name, $fromType, $toType)
|
||||
{
|
||||
$toNames = self::getFieldNames($toType);
|
||||
$key = isset(self::$fieldKeys[$fromType][$name]) ? self::$fieldKeys[$fromType][$name] : null;
|
||||
if ($key === null) {
|
||||
throw new PropelException("'$name' could not be found in the field names of type '$fromType'. These are: " . print_r(self::$fieldKeys[$fromType], true));
|
||||
}
|
||||
return $toNames[$key];
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns an array of of field names.
|
||||
*
|
||||
* @param string $type The type of fieldnames to return:
|
||||
* One of the class type constants TYPE_PHPNAME,
|
||||
* TYPE_COLNAME, TYPE_FIELDNAME, TYPE_NUM
|
||||
* @return array A list of field names
|
||||
*/
|
||||
|
||||
static public function getFieldNames($type = BasePeer::TYPE_PHPNAME)
|
||||
{
|
||||
if (!array_key_exists($type, self::$fieldNames)) {
|
||||
throw new PropelException('Method getFieldNames() expects the parameter $type to be one of the class constants TYPE_PHPNAME, TYPE_COLNAME, TYPE_FIELDNAME, TYPE_NUM. ' . $type . ' was given.');
|
||||
}
|
||||
return self::$fieldNames[$type];
|
||||
}
|
||||
|
||||
/**
|
||||
* Convenience method which changes table.column to alias.column.
|
||||
*
|
||||
* Using this method you can maintain SQL abstraction while using column aliases.
|
||||
* <code>
|
||||
* $c->addAlias("alias1", TablePeer::TABLE_NAME);
|
||||
* $c->addJoin(TablePeer::alias("alias1", TablePeer::PRIMARY_KEY_COLUMN), TablePeer::PRIMARY_KEY_COLUMN);
|
||||
* </code>
|
||||
* @param string $alias The alias for the current table.
|
||||
* @param string $column The column name for current table. (i.e. TrustPeer::COLUMN_NAME).
|
||||
* @return string
|
||||
*/
|
||||
public static function alias($alias, $column)
|
||||
{
|
||||
return str_replace(TrustPeer::TABLE_NAME.'.', $alias.'.', $column);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add all the columns needed to create a new object.
|
||||
*
|
||||
* Note: any columns that were marked with lazyLoad="true" in the
|
||||
* XML schema will not be added to the select list and only loaded
|
||||
* on demand.
|
||||
*
|
||||
* @param criteria object containing the columns to add.
|
||||
* @throws PropelException Any exceptions caught during processing will be
|
||||
* rethrown wrapped into a PropelException.
|
||||
*/
|
||||
public static function addSelectColumns(Criteria $criteria)
|
||||
{
|
||||
|
||||
$criteria->addSelectColumn(TrustPeer::CREATED_AT);
|
||||
|
||||
$criteria->addSelectColumn(TrustPeer::UPDATED_AT);
|
||||
|
||||
$criteria->addSelectColumn(TrustPeer::ID);
|
||||
|
||||
$criteria->addSelectColumn(TrustPeer::PRODUCT_ID);
|
||||
|
||||
$criteria->addSelectColumn(TrustPeer::FIELD_ON);
|
||||
|
||||
$criteria->addSelectColumn(TrustPeer::FIELD_F_ON);
|
||||
|
||||
$criteria->addSelectColumn(TrustPeer::FIELD_S_ON);
|
||||
|
||||
$criteria->addSelectColumn(TrustPeer::FIELD_T_ON);
|
||||
|
||||
|
||||
if (stEventDispatcher::getInstance()->getListeners('TrustPeer.postAddSelectColumns')) {
|
||||
stEventDispatcher::getInstance()->notify(new sfEvent($criteria, 'TrustPeer.postAddSelectColumns'));
|
||||
}
|
||||
}
|
||||
|
||||
const COUNT = 'COUNT(st_trust.ID)';
|
||||
const COUNT_DISTINCT = 'COUNT(DISTINCT st_trust.ID)';
|
||||
|
||||
/**
|
||||
* Returns the number of rows matching criteria.
|
||||
*
|
||||
* @param Criteria $criteria
|
||||
* @param boolean $distinct Whether to select only distinct columns (You can also set DISTINCT modifier in Criteria).
|
||||
* @param Connection $con
|
||||
* @return int Number of matching rows.
|
||||
*/
|
||||
public static function doCount(Criteria $criteria, $distinct = false, $con = null)
|
||||
{
|
||||
// we're going to modify criteria, so copy it first
|
||||
$criteria = clone $criteria;
|
||||
|
||||
// clear out anything that might confuse the ORDER BY clause
|
||||
$criteria->clearSelectColumns()->clearOrderByColumns();
|
||||
if ($distinct || in_array(Criteria::DISTINCT, $criteria->getSelectModifiers())) {
|
||||
$criteria->addSelectColumn(TrustPeer::COUNT_DISTINCT);
|
||||
} else {
|
||||
$criteria->addSelectColumn(TrustPeer::COUNT);
|
||||
}
|
||||
|
||||
// just in case we're grouping: add those columns to the select statement
|
||||
foreach($criteria->getGroupByColumns() as $column)
|
||||
{
|
||||
$criteria->addSelectColumn($column);
|
||||
}
|
||||
|
||||
$rs = TrustPeer::doSelectRS($criteria, $con);
|
||||
if ($rs->next()) {
|
||||
return $rs->getInt(1);
|
||||
} else {
|
||||
// no rows returned; we infer that means 0 matches.
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Method to select one object from the DB.
|
||||
*
|
||||
* @param Criteria $criteria object used to create the SELECT statement.
|
||||
* @param Connection $con
|
||||
* @return Trust
|
||||
* @throws PropelException Any exceptions caught during processing will be
|
||||
* rethrown wrapped into a PropelException.
|
||||
*/
|
||||
public static function doSelectOne(Criteria $criteria, $con = null)
|
||||
{
|
||||
$critcopy = clone $criteria;
|
||||
$critcopy->setLimit(1);
|
||||
$objects = TrustPeer::doSelect($critcopy, $con);
|
||||
if ($objects) {
|
||||
return $objects[0];
|
||||
}
|
||||
return null;
|
||||
}
|
||||
/**
|
||||
* Method to do selects.
|
||||
*
|
||||
* @param Criteria $criteria The Criteria object used to build the SELECT statement.
|
||||
* @param Connection $con
|
||||
* @return Trust[]
|
||||
* @throws PropelException Any exceptions caught during processing will be
|
||||
* rethrown wrapped into a PropelException.
|
||||
*/
|
||||
public static function doSelect(Criteria $criteria, $con = null)
|
||||
{
|
||||
return TrustPeer::populateObjects(TrustPeer::doSelectRS($criteria, $con));
|
||||
}
|
||||
/**
|
||||
* Prepares the Criteria object and uses the parent doSelect()
|
||||
* method to get a ResultSet.
|
||||
*
|
||||
* Use this method directly if you want to just get the resultset
|
||||
* (instead of an array of objects).
|
||||
*
|
||||
* @param Criteria $criteria The Criteria object used to build the SELECT statement.
|
||||
* @param Connection $con the connection to use
|
||||
* @throws PropelException Any exceptions caught during processing will be
|
||||
* rethrown wrapped into a PropelException.
|
||||
* @return ResultSet The resultset object with numerically-indexed fields.
|
||||
* @see BasePeer::doSelect()
|
||||
*/
|
||||
public static function doSelectRS(Criteria $criteria, $con = null)
|
||||
{
|
||||
if ($con === null) {
|
||||
$con = Propel::getConnection(self::DATABASE_NAME);
|
||||
}
|
||||
|
||||
if (!$criteria->getSelectColumns()) {
|
||||
$criteria = clone $criteria;
|
||||
TrustPeer::addSelectColumns($criteria);
|
||||
}
|
||||
|
||||
if (stEventDispatcher::getInstance()->getListeners('BasePeer.preDoSelectRs')) {
|
||||
stEventDispatcher::getInstance()->notify(new sfEvent($criteria, 'BasePeer.preDoSelectRs'));
|
||||
}
|
||||
|
||||
// Set the correct dbName
|
||||
$criteria->setDbName(self::DATABASE_NAME);
|
||||
|
||||
// BasePeer returns a Creole ResultSet, set to return
|
||||
// rows indexed numerically.
|
||||
$rs = BasePeer::doSelect($criteria, $con);
|
||||
|
||||
if (stEventDispatcher::getInstance()->getListeners('BasePeer.postDoSelectRs')) {
|
||||
stEventDispatcher::getInstance()->notify(new sfEvent($rs, 'BasePeer.postDoSelectRs'));
|
||||
}
|
||||
|
||||
return $rs;
|
||||
}
|
||||
/**
|
||||
* The returned array will contain objects of the default type or
|
||||
* objects that inherit from the default.
|
||||
*
|
||||
* @throws PropelException Any exceptions caught during processing will be
|
||||
* rethrown wrapped into a PropelException.
|
||||
*/
|
||||
public static function populateObjects(ResultSet $rs)
|
||||
{
|
||||
|
||||
if (self::$hydrateMethod)
|
||||
{
|
||||
return call_user_func(self::$hydrateMethod, $rs);
|
||||
}
|
||||
$results = array();
|
||||
|
||||
// set the class once to avoid overhead in the loop
|
||||
$cls = TrustPeer::getOMClass();
|
||||
$cls = Propel::import($cls);
|
||||
// populate the object(s)
|
||||
while($rs->next()) {
|
||||
|
||||
$obj = new $cls();
|
||||
$obj->hydrate($rs);
|
||||
$results[] = self::$postHydrateMethod ? call_user_func(self::$postHydrateMethod, $obj) : $obj;
|
||||
|
||||
}
|
||||
return $results;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the number of rows matching criteria, joining the related Product table
|
||||
*
|
||||
* @param Criteria $c
|
||||
* @param boolean $distinct Whether to select only distinct columns (You can also set DISTINCT modifier in Criteria).
|
||||
* @param Connection $con
|
||||
* @return int Number of matching rows.
|
||||
*/
|
||||
public static function doCountJoinProduct(Criteria $criteria, $distinct = false, $con = null)
|
||||
{
|
||||
// we're going to modify criteria, so copy it first
|
||||
$criteria = clone $criteria;
|
||||
|
||||
// clear out anything that might confuse the ORDER BY clause
|
||||
$criteria->clearSelectColumns()->clearOrderByColumns();
|
||||
if ($distinct || in_array(Criteria::DISTINCT, $criteria->getSelectModifiers())) {
|
||||
$criteria->addSelectColumn(TrustPeer::COUNT_DISTINCT);
|
||||
} else {
|
||||
$criteria->addSelectColumn(TrustPeer::COUNT);
|
||||
}
|
||||
|
||||
// just in case we're grouping: add those columns to the select statement
|
||||
foreach($criteria->getGroupByColumns() as $column)
|
||||
{
|
||||
$criteria->addSelectColumn($column);
|
||||
}
|
||||
|
||||
$criteria->addJoin(TrustPeer::PRODUCT_ID, ProductPeer::ID);
|
||||
|
||||
$rs = TrustPeer::doSelectRS($criteria, $con);
|
||||
if ($rs->next()) {
|
||||
return $rs->getInt(1);
|
||||
} else {
|
||||
// no rows returned; we infer that means 0 matches.
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Selects a collection of Trust objects pre-filled with their Product objects.
|
||||
*
|
||||
* @return Trust[] Array of Trust objects.
|
||||
* @throws PropelException Any exceptions caught during processing will be
|
||||
* rethrown wrapped into a PropelException.
|
||||
*/
|
||||
public static function doSelectJoinProduct(Criteria $c, $con = null)
|
||||
{
|
||||
$c = clone $c;
|
||||
|
||||
// Set the correct dbName if it has not been overridden
|
||||
if ($c->getDbName() == Propel::getDefaultDB()) {
|
||||
$c->setDbName(self::DATABASE_NAME);
|
||||
}
|
||||
|
||||
TrustPeer::addSelectColumns($c);
|
||||
|
||||
ProductPeer::addSelectColumns($c);
|
||||
|
||||
$c->addJoin(TrustPeer::PRODUCT_ID, ProductPeer::ID);
|
||||
$rs = TrustPeer::doSelectRs($c, $con);
|
||||
|
||||
if (self::$hydrateMethod)
|
||||
{
|
||||
return call_user_func(self::$hydrateMethod, $rs);
|
||||
}
|
||||
|
||||
$results = array();
|
||||
|
||||
while($rs->next()) {
|
||||
|
||||
$obj1 = new Trust();
|
||||
$startcol = $obj1->hydrate($rs);
|
||||
if ($obj1->getProductId())
|
||||
{
|
||||
|
||||
$obj2 = new Product();
|
||||
$obj2->hydrate($rs, $startcol);
|
||||
$obj2->addTrust($obj1);
|
||||
}
|
||||
$results[] = self::$postHydrateMethod ? call_user_func(self::$postHydrateMethod, $obj1) : $obj1;;
|
||||
}
|
||||
return $results;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns the number of rows matching criteria, joining all related tables
|
||||
*
|
||||
* @param Criteria $c
|
||||
* @param boolean $distinct Whether to select only distinct columns (You can also set DISTINCT modifier in Criteria).
|
||||
* @param Connection $con
|
||||
* @return int Number of matching rows.
|
||||
*/
|
||||
public static function doCountJoinAll(Criteria $criteria, $distinct = false, $con = null)
|
||||
{
|
||||
$criteria = clone $criteria;
|
||||
|
||||
// clear out anything that might confuse the ORDER BY clause
|
||||
$criteria->clearSelectColumns()->clearOrderByColumns();
|
||||
if ($distinct || in_array(Criteria::DISTINCT, $criteria->getSelectModifiers())) {
|
||||
$criteria->addSelectColumn(TrustPeer::COUNT_DISTINCT);
|
||||
} else {
|
||||
$criteria->addSelectColumn(TrustPeer::COUNT);
|
||||
}
|
||||
|
||||
// just in case we're grouping: add those columns to the select statement
|
||||
foreach($criteria->getGroupByColumns() as $column)
|
||||
{
|
||||
$criteria->addSelectColumn($column);
|
||||
}
|
||||
|
||||
$criteria->addJoin(TrustPeer::PRODUCT_ID, ProductPeer::ID);
|
||||
|
||||
$rs = TrustPeer::doSelectRS($criteria, $con);
|
||||
if ($rs->next()) {
|
||||
return $rs->getInt(1);
|
||||
} else {
|
||||
// no rows returned; we infer that means 0 matches.
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Selects a collection of Trust objects pre-filled with all related objects.
|
||||
*
|
||||
* @return Trust[]
|
||||
* @throws PropelException Any exceptions caught during processing will be
|
||||
* rethrown wrapped into a PropelException.
|
||||
*/
|
||||
public static function doSelectJoinAll(Criteria $c, $con = null)
|
||||
{
|
||||
$c = clone $c;
|
||||
|
||||
// Set the correct dbName if it has not been overridden
|
||||
if ($c->getDbName() == Propel::getDefaultDB()) {
|
||||
$c->setDbName(self::DATABASE_NAME);
|
||||
}
|
||||
|
||||
TrustPeer::addSelectColumns($c);
|
||||
$startcol2 = (TrustPeer::NUM_COLUMNS - TrustPeer::NUM_LAZY_LOAD_COLUMNS) + 1;
|
||||
|
||||
ProductPeer::addSelectColumns($c);
|
||||
$startcol3 = $startcol2 + ProductPeer::NUM_COLUMNS;
|
||||
|
||||
$c->addJoin(TrustPeer::PRODUCT_ID, ProductPeer::ID);
|
||||
|
||||
$rs = BasePeer::doSelect($c, $con);
|
||||
|
||||
if (self::$hydrateMethod)
|
||||
{
|
||||
return call_user_func(self::$hydrateMethod, $rs);
|
||||
}
|
||||
$results = array();
|
||||
|
||||
while($rs->next()) {
|
||||
|
||||
$omClass = TrustPeer::getOMClass();
|
||||
|
||||
|
||||
$cls = Propel::import($omClass);
|
||||
$obj1 = new $cls();
|
||||
$obj1->hydrate($rs);
|
||||
|
||||
|
||||
// Add objects for joined Product rows
|
||||
|
||||
$omClass = ProductPeer::getOMClass();
|
||||
|
||||
|
||||
$cls = Propel::import($omClass);
|
||||
$obj2 = new $cls();
|
||||
$obj2->hydrate($rs, $startcol2);
|
||||
|
||||
$newObject = true;
|
||||
for ($j=0, $resCount=count($results); $j < $resCount; $j++) {
|
||||
$temp_obj1 = $results[$j];
|
||||
$temp_obj2 = $temp_obj1->getProduct(); // CHECKME
|
||||
if (null !== $temp_obj2 && $temp_obj2->getPrimaryKey() === $obj2->getPrimaryKey()) {
|
||||
$newObject = false;
|
||||
$temp_obj2->addTrust($obj1); // CHECKME
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if ($newObject) {
|
||||
$obj2->initTrusts();
|
||||
$obj2->addTrust($obj1);
|
||||
}
|
||||
|
||||
$results[] = self::$postHydrateMethod ? call_user_func(self::$postHydrateMethod, $obj1) : $obj1;
|
||||
}
|
||||
return $results;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Selects a collection of Trust objects pre-filled with their i18n objects.
|
||||
*
|
||||
* @return array Array of Trust objects.
|
||||
* @throws PropelException Any exceptions caught during processing will be
|
||||
* rethrown wrapped into a PropelException.
|
||||
*/
|
||||
public static function doSelectWithI18n(Criteria $c, $culture = null, $con = null)
|
||||
{
|
||||
$c = clone $c;
|
||||
|
||||
if ($culture === null)
|
||||
{
|
||||
$culture = sfContext::getInstance()->getUser()->getCulture();
|
||||
}
|
||||
|
||||
// Set the correct dbName if it has not been overridden
|
||||
if ($c->getDbName() == Propel::getDefaultDB())
|
||||
{
|
||||
$c->setDbName(self::DATABASE_NAME);
|
||||
}
|
||||
|
||||
if (!$c->getSelectColumns())
|
||||
{
|
||||
TrustPeer::addSelectColumns($c);
|
||||
TrustI18nPeer::addSelectColumns($c);
|
||||
}
|
||||
|
||||
$c->addJoin(TrustPeer::ID, sprintf('%s AND %s = \'%s\'', TrustI18nPeer::ID, TrustI18nPeer::CULTURE, $culture), Criteria::LEFT_JOIN);
|
||||
|
||||
$rs = TrustPeer::doSelectRs($c, $con);
|
||||
|
||||
if (self::$hydrateMethod)
|
||||
{
|
||||
return call_user_func(self::$hydrateMethod, $rs);
|
||||
}
|
||||
|
||||
$results = array();
|
||||
|
||||
while($rs->next()) {
|
||||
|
||||
$obj1 = new Trust();
|
||||
$startcol = $obj1->hydrate($rs);
|
||||
$obj1->setCulture($culture);
|
||||
|
||||
$obj2 = new TrustI18n();
|
||||
$obj2->hydrate($rs, $startcol);
|
||||
|
||||
$obj1->setTrustI18nForCulture($obj2, $culture);
|
||||
$obj2->setTrust($obj1);
|
||||
|
||||
$results[] = self::$postHydrateMethod ? call_user_func(self::$postHydrateMethod, $obj1) : $obj1;
|
||||
}
|
||||
return $results;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the TableMap related to this peer.
|
||||
* This method is not needed for general use but a specific application could have a need.
|
||||
* @return TableMap
|
||||
* @throws PropelException Any exceptions caught during processing will be
|
||||
* rethrown wrapped into a PropelException.
|
||||
*/
|
||||
public static function getTableMap()
|
||||
{
|
||||
return Propel::getDatabaseMap(self::DATABASE_NAME)->getTable(self::TABLE_NAME);
|
||||
}
|
||||
|
||||
/**
|
||||
* The class that the Peer will make instances of.
|
||||
*
|
||||
* This uses a dot-path notation which is tranalted into a path
|
||||
* relative to a location on the PHP include_path.
|
||||
* (e.g. path.to.MyClass -> 'path/to/MyClass.php')
|
||||
*
|
||||
* @return string path.to.ClassName
|
||||
*/
|
||||
public static function getOMClass()
|
||||
{
|
||||
return TrustPeer::CLASS_DEFAULT;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method perform an INSERT on the database, given a Trust or Criteria object.
|
||||
*
|
||||
* @param mixed $values Criteria or Trust object containing data that is used to create the INSERT statement.
|
||||
* @param Connection $con the connection to use
|
||||
* @return mixed The new primary key.
|
||||
* @throws PropelException Any exceptions caught during processing will be
|
||||
* rethrown wrapped into a PropelException.
|
||||
*/
|
||||
public static function doInsert($values, $con = null)
|
||||
{
|
||||
|
||||
foreach (sfMixer::getCallables('BaseTrustPeer:doInsert:pre') as $callable)
|
||||
{
|
||||
$ret = call_user_func($callable, 'BaseTrustPeer', $values, $con);
|
||||
if (false !== $ret)
|
||||
{
|
||||
return $ret;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if ($con === null) {
|
||||
$con = Propel::getConnection(self::DATABASE_NAME);
|
||||
}
|
||||
|
||||
if ($values instanceof Criteria) {
|
||||
$criteria = clone $values; // rename for clarity
|
||||
} else {
|
||||
$criteria = $values->buildCriteria(); // build Criteria from Trust object
|
||||
}
|
||||
|
||||
$criteria->remove(TrustPeer::ID); // remove pkey col since this table uses auto-increment
|
||||
|
||||
|
||||
// Set the correct dbName
|
||||
$criteria->setDbName(self::DATABASE_NAME);
|
||||
|
||||
try {
|
||||
// use transaction because $criteria could contain info
|
||||
// for more than one table (I guess, conceivably)
|
||||
$con->begin();
|
||||
$pk = BasePeer::doInsert($criteria, $con);
|
||||
$con->commit();
|
||||
} catch(PropelException $e) {
|
||||
$con->rollback();
|
||||
throw $e;
|
||||
}
|
||||
|
||||
|
||||
foreach (sfMixer::getCallables('BaseTrustPeer:doInsert:post') as $callable)
|
||||
{
|
||||
call_user_func($callable, 'BaseTrustPeer', $values, $con, $pk);
|
||||
}
|
||||
|
||||
return $pk;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method perform an UPDATE on the database, given a Trust or Criteria object.
|
||||
*
|
||||
* @param mixed $values Criteria or Trust object containing data that is used to create the UPDATE statement.
|
||||
* @param Connection $con The connection to use (specify Connection object to exert more control over transactions).
|
||||
* @return int The number of affected rows (if supported by underlying database driver).
|
||||
* @throws PropelException Any exceptions caught during processing will be
|
||||
* rethrown wrapped into a PropelException.
|
||||
*/
|
||||
public static function doUpdate($values, $con = null)
|
||||
{
|
||||
|
||||
foreach (sfMixer::getCallables('BaseTrustPeer:doUpdate:pre') as $callable)
|
||||
{
|
||||
$ret = call_user_func($callable, 'BaseTrustPeer', $values, $con);
|
||||
if (false !== $ret)
|
||||
{
|
||||
return $ret;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if ($con === null) {
|
||||
$con = Propel::getConnection(self::DATABASE_NAME);
|
||||
}
|
||||
|
||||
$selectCriteria = new Criteria(self::DATABASE_NAME);
|
||||
|
||||
if ($values instanceof Criteria) {
|
||||
$criteria = clone $values; // rename for clarity
|
||||
|
||||
$comparison = $criteria->getComparison(TrustPeer::ID);
|
||||
$selectCriteria->add(TrustPeer::ID, $criteria->remove(TrustPeer::ID), $comparison);
|
||||
|
||||
} else { // $values is Trust object
|
||||
$criteria = $values->buildCriteria(); // gets full criteria
|
||||
$selectCriteria = $values->buildPkeyCriteria(); // gets criteria w/ primary key(s)
|
||||
}
|
||||
|
||||
// set the correct dbName
|
||||
$criteria->setDbName(self::DATABASE_NAME);
|
||||
|
||||
$ret = BasePeer::doUpdate($selectCriteria, $criteria, $con);
|
||||
|
||||
|
||||
foreach (sfMixer::getCallables('BaseTrustPeer:doUpdate:post') as $callable)
|
||||
{
|
||||
call_user_func($callable, 'BaseTrustPeer', $values, $con, $ret);
|
||||
}
|
||||
|
||||
return $ret;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to DELETE all rows from the st_trust table.
|
||||
*
|
||||
* @return int The number of affected rows (if supported by underlying database driver).
|
||||
*/
|
||||
public static function doDeleteAll($con = null)
|
||||
{
|
||||
if ($con === null) {
|
||||
$con = Propel::getConnection(self::DATABASE_NAME);
|
||||
}
|
||||
$affectedRows = 0; // initialize var to track total num of affected rows
|
||||
try {
|
||||
// use transaction because $criteria could contain info
|
||||
// for more than one table or we could emulating ON DELETE CASCADE, etc.
|
||||
$con->begin();
|
||||
$affectedRows += TrustPeer::doOnDeleteCascade(new Criteria(), $con);
|
||||
$affectedRows += BasePeer::doDeleteAll(TrustPeer::TABLE_NAME, $con);
|
||||
$con->commit();
|
||||
return $affectedRows;
|
||||
} catch (PropelException $e) {
|
||||
$con->rollback();
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Method perform a DELETE on the database, given a Trust or Criteria object OR a primary key value.
|
||||
*
|
||||
* @param mixed $values Criteria or Trust object or primary key or array of primary keys
|
||||
* which is used to create the DELETE statement
|
||||
* @param Connection $con the connection to use
|
||||
* @return int The number of affected rows (if supported by underlying database driver). This includes CASCADE-related rows
|
||||
* if supported by native driver or if emulated using Propel.
|
||||
* @throws PropelException Any exceptions caught during processing will be
|
||||
* rethrown wrapped into a PropelException.
|
||||
*/
|
||||
public static function doDelete($values, $con = null)
|
||||
{
|
||||
if ($con === null) {
|
||||
$con = Propel::getConnection(TrustPeer::DATABASE_NAME);
|
||||
}
|
||||
|
||||
if ($values instanceof Criteria) {
|
||||
$criteria = clone $values; // rename for clarity
|
||||
} elseif ($values instanceof Trust) {
|
||||
|
||||
$criteria = $values->buildPkeyCriteria();
|
||||
} else {
|
||||
// it must be the primary key
|
||||
$criteria = new Criteria(self::DATABASE_NAME);
|
||||
$criteria->add(TrustPeer::ID, (array) $values, Criteria::IN);
|
||||
}
|
||||
|
||||
// Set the correct dbName
|
||||
$criteria->setDbName(self::DATABASE_NAME);
|
||||
|
||||
$affectedRows = 0; // initialize var to track total num of affected rows
|
||||
|
||||
try {
|
||||
// use transaction because $criteria could contain info
|
||||
// for more than one table or we could emulating ON DELETE CASCADE, etc.
|
||||
$con->begin();
|
||||
$affectedRows += TrustPeer::doOnDeleteCascade($criteria, $con);
|
||||
$affectedRows += BasePeer::doDelete($criteria, $con);
|
||||
$con->commit();
|
||||
return $affectedRows;
|
||||
} catch (PropelException $e) {
|
||||
$con->rollback();
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* This is a method for emulating ON DELETE CASCADE for DBs that don't support this
|
||||
* feature (like MySQL or SQLite).
|
||||
*
|
||||
* This method is not very speedy because it must perform a query first to get
|
||||
* the implicated records and then perform the deletes by calling those Peer classes.
|
||||
*
|
||||
* This method should be used within a transaction if possible.
|
||||
*
|
||||
* @param Criteria $criteria
|
||||
* @param Connection $con
|
||||
* @return int The number of affected rows (if supported by underlying database driver).
|
||||
*/
|
||||
protected static function doOnDeleteCascade(Criteria $criteria, Connection $con)
|
||||
{
|
||||
// initialize var to track total num of affected rows
|
||||
$affectedRows = 0;
|
||||
|
||||
// first find the objects that are implicated by the $criteria
|
||||
$objects = TrustPeer::doSelect($criteria, $con);
|
||||
foreach($objects as $obj) {
|
||||
|
||||
|
||||
// delete related TrustI18n objects
|
||||
$c = new Criteria();
|
||||
|
||||
$c->add(TrustI18nPeer::ID, $obj->getId());
|
||||
$affectedRows += TrustI18nPeer::doDelete($c, $con);
|
||||
}
|
||||
return $affectedRows;
|
||||
}
|
||||
|
||||
/**
|
||||
* Validates all modified columns of given Trust object.
|
||||
* If parameter $columns is either a single column name or an array of column names
|
||||
* than only those columns are validated.
|
||||
*
|
||||
* NOTICE: This does not apply to primary or foreign keys for now.
|
||||
*
|
||||
* @param Trust $obj The object to validate.
|
||||
* @param mixed $cols Column name or array of column names.
|
||||
*
|
||||
* @return mixed TRUE if all columns are valid or the error message of the first invalid column.
|
||||
*/
|
||||
public static function doValidate(Trust $obj, $cols = null)
|
||||
{
|
||||
$columns = array();
|
||||
|
||||
if ($cols) {
|
||||
$dbMap = Propel::getDatabaseMap(TrustPeer::DATABASE_NAME);
|
||||
$tableMap = $dbMap->getTable(TrustPeer::TABLE_NAME);
|
||||
|
||||
if (! is_array($cols)) {
|
||||
$cols = array($cols);
|
||||
}
|
||||
|
||||
foreach($cols as $colName) {
|
||||
if ($tableMap->containsColumn($colName)) {
|
||||
$get = 'get' . $tableMap->getColumn($colName)->getPhpName();
|
||||
$columns[$colName] = $obj->$get();
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
}
|
||||
|
||||
$res = BasePeer::doValidate(TrustPeer::DATABASE_NAME, TrustPeer::TABLE_NAME, $columns);
|
||||
if ($res !== true) {
|
||||
$request = sfContext::getInstance()->getRequest();
|
||||
foreach ($res as $failed) {
|
||||
$col = TrustPeer::translateFieldname($failed->getColumn(), BasePeer::TYPE_COLNAME, BasePeer::TYPE_PHPNAME);
|
||||
$request->setError($col, $failed->getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
return $res;
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieve a single object by pkey.
|
||||
*
|
||||
* @param mixed $pk the primary key.
|
||||
* @param Connection $con the connection to use
|
||||
* @return Trust
|
||||
*/
|
||||
public static function retrieveByPK($pk, $con = null)
|
||||
{
|
||||
if ($con === null) {
|
||||
$con = Propel::getConnection(self::DATABASE_NAME);
|
||||
}
|
||||
|
||||
$criteria = new Criteria(TrustPeer::DATABASE_NAME);
|
||||
|
||||
$criteria->add(TrustPeer::ID, $pk);
|
||||
|
||||
|
||||
$v = TrustPeer::doSelect($criteria, $con);
|
||||
|
||||
return !empty($v) > 0 ? $v[0] : null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieve multiple objects by pkey.
|
||||
*
|
||||
* @param array $pks List of primary keys
|
||||
* @param Connection $con the connection to use
|
||||
* @throws PropelException Any exceptions caught during processing will be
|
||||
* rethrown wrapped into a PropelException.
|
||||
* @return Trust[]
|
||||
*/
|
||||
public static function retrieveByPKs($pks, $con = null)
|
||||
{
|
||||
if ($con === null) {
|
||||
$con = Propel::getConnection(self::DATABASE_NAME);
|
||||
}
|
||||
|
||||
$objs = null;
|
||||
if (empty($pks)) {
|
||||
$objs = array();
|
||||
} else {
|
||||
$criteria = new Criteria();
|
||||
$criteria->add(TrustPeer::ID, $pks, Criteria::IN);
|
||||
$objs = TrustPeer::doSelect($criteria, $con);
|
||||
}
|
||||
return $objs;
|
||||
}
|
||||
|
||||
} // BaseTrustPeer
|
||||
|
||||
// static code to register the map builder for this Peer with the main Propel class
|
||||
if (Propel::isInit()) {
|
||||
// the MapBuilder classes register themselves with Propel during initialization
|
||||
// so we need to load them here.
|
||||
try {
|
||||
BaseTrustPeer::getMapBuilder();
|
||||
} catch (Exception $e) {
|
||||
Propel::log('Could not initialize Peer: ' . $e->getMessage(), Propel::LOG_ERR);
|
||||
}
|
||||
} else {
|
||||
// even if Propel is not yet initialized, the map builder class can be registered
|
||||
// now and then it will be loaded when Propel initializes.
|
||||
Propel::registerMapBuilder('plugins.stTrustPlugin.lib.model.map.TrustMapBuilder');
|
||||
}
|
||||
108
plugins/stTrustPlugin/lib/stTrustListener.class.php
Normal file
108
plugins/stTrustPlugin/lib/stTrustListener.class.php
Normal file
@@ -0,0 +1,108 @@
|
||||
<?php
|
||||
class stTrustListener
|
||||
{
|
||||
|
||||
/**
|
||||
* Podpięcie zdarzenia dla generatora produktu
|
||||
*
|
||||
* @param sfEvent $event
|
||||
*/
|
||||
public static function generate(sfEvent $event)
|
||||
{
|
||||
// możemy wywoływać podaną metodę wielokrotnie co powoduje dołączenie kolejnych plików
|
||||
$event->getSubject()->attachAdminGeneratorFile('stTrustPlugin', 'stProduct.yml');
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Zapisywanie id produktu oraz typu
|
||||
*
|
||||
* @param sfEvent $event
|
||||
*/
|
||||
public static function preSaveProduct(sfEvent $event)
|
||||
{
|
||||
$action = $event->getSubject();
|
||||
|
||||
$event['modelInstance']->setProductId($event->getSubject()->forward_parameters['product_id']);
|
||||
|
||||
|
||||
if (sfContext::getInstance()->getRequest()->getFileSize('trust[icon_f]'))
|
||||
{
|
||||
$currentFile = sfConfig::get('sf_upload_dir') . $action->trust->getIconF();
|
||||
|
||||
$fileName = md5(sfContext::getInstance()->getRequest()->getFileName('trust[icon_f]') . time() . rand(0, 99999));
|
||||
$ext = sfContext::getInstance()->getRequest()->getFileExtension('trust[icon_f]');
|
||||
if (is_file($currentFile))
|
||||
{
|
||||
unlink($currentFile);
|
||||
}
|
||||
|
||||
$action->trust->setIconF("/picture/" . $action->getRequestParameter('culture', stLanguage::getOptLanguage()) . '/' . $fileName . $ext);
|
||||
sfContext::getInstance()->getRequest()->moveFile('trust[icon_f]', sfConfig::get('sf_upload_dir') . $action->trust->getIconF());
|
||||
}
|
||||
|
||||
if (sfContext::getInstance()->getRequest()->getFileSize('trust[icon_s]'))
|
||||
{
|
||||
$currentFile = sfConfig::get('sf_upload_dir') . $action->trust->getIconS();
|
||||
|
||||
$fileName = md5(sfContext::getInstance()->getRequest()->getFileName('trust[icon_s]') . time() . rand(0, 99999));
|
||||
$ext = sfContext::getInstance()->getRequest()->getFileExtension('trust[icon_s]');
|
||||
if (is_file($currentFile))
|
||||
{
|
||||
unlink($currentFile);
|
||||
}
|
||||
|
||||
$action->trust->setIconS("/picture/" . $action->getRequestParameter('culture', stLanguage::getOptLanguage()) . '/' . $fileName . $ext);
|
||||
sfContext::getInstance()->getRequest()->moveFile('trust[icon_s]', sfConfig::get('sf_upload_dir') . $action->trust->getIconS());
|
||||
}
|
||||
|
||||
if (sfContext::getInstance()->getRequest()->getFileSize('trust[icon_t]'))
|
||||
{
|
||||
$currentFile = sfConfig::get('sf_upload_dir') . $action->trust->getIconT();
|
||||
|
||||
$fileName = md5(sfContext::getInstance()->getRequest()->getFileName('trust[icon_t]') . time() . rand(0, 99999));
|
||||
$ext = sfContext::getInstance()->getRequest()->getFileExtension('trust[icon_t]');
|
||||
if (is_file($currentFile))
|
||||
{
|
||||
unlink($currentFile);
|
||||
}
|
||||
|
||||
$action->trust->setIconT("/picture/" . $action->getRequestParameter('culture', stLanguage::getOptLanguage()) . '/' . $fileName . $ext);
|
||||
sfContext::getInstance()->getRequest()->moveFile('trust[icon_t]', sfConfig::get('sf_upload_dir') . $action->trust->getIconT());
|
||||
}
|
||||
|
||||
stFastCacheManager::clearCache();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Ładowanie obiektu pozycjonowania dla produktu
|
||||
*
|
||||
* @param sfEvent $event
|
||||
*/
|
||||
public static function preGetOrCreateProduct(sfEvent $event)
|
||||
{
|
||||
|
||||
$event->setProcessed(true);
|
||||
|
||||
$action = $event->getSubject();
|
||||
|
||||
$c = new Criteria();
|
||||
|
||||
$c->add(TrustPeer::PRODUCT_ID, $action->forward_parameters['product_id']);
|
||||
|
||||
$action->trust = TrustPeer::doSelectOne($c);
|
||||
|
||||
if (!$action->trust)
|
||||
{
|
||||
$action->trust = new Trust();
|
||||
|
||||
$action->trust->setProductId($action->forward_parameters['product_id']);
|
||||
}
|
||||
|
||||
$action->trust->getProduct()->setCulture($action->getRequestParameter('culture', stLanguage::getOptLanguage()));
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,265 @@
|
||||
<?php
|
||||
/**
|
||||
* SOTESHOP/stTrustPlugin
|
||||
*
|
||||
*
|
||||
* @package stTrustPlugin
|
||||
* @author Bartosz Alejski <bartosz.alejski@sote.pl>
|
||||
*/
|
||||
class stTrustBackendActions extends autoStTrustBackendActions
|
||||
{
|
||||
|
||||
public function executeConfig()
|
||||
{
|
||||
$this->config = stConfig::getInstance('stTrustBackend');
|
||||
$this->config->setCulture($this->getRequestParameter('culture', stLanguage::getOptLanguage()));
|
||||
|
||||
if ($this->getRequest()->getMethod() == sfRequest::POST)
|
||||
{
|
||||
$this->updateConfigFromRequest();
|
||||
$this->config->save(true);
|
||||
|
||||
stFastCacheManager::clearCache();
|
||||
foreach (glob(sfConfig::get('sf_root_dir').'/cache/smarty_c/*') as $file)
|
||||
{
|
||||
unlink($file);
|
||||
}
|
||||
|
||||
$this->setFlash('notice', 'Twoje zmiany zostały zapisane');
|
||||
$this->redirect('stTrustBackend/config?culture='.$this->getRequestParameter('culture', stLanguage::getOptLanguage()));
|
||||
|
||||
}
|
||||
|
||||
$i18n = $this->getContext()->getI18N();
|
||||
|
||||
$this->getBreadcrumbs()->add($i18n->__('Konfiguracja'));
|
||||
}
|
||||
|
||||
public function updateConfigFromRequest()
|
||||
{
|
||||
$this->config->set('field_on', $this->getRequestParameter('trust[field_on]'));
|
||||
$this->config->set('field_description', $this->getRequestParameter('trust[field_description]'), true);
|
||||
|
||||
$this->config->set('field_1_on', $this->getRequestParameter('trust[field_1_on]'));
|
||||
$this->config->set('field_label_1', $this->getRequestParameter('trust[field_label_1]'), true);
|
||||
$this->config->set('field_sub_label_1', $this->getRequestParameter('trust[field_sub_label_1]'), true);
|
||||
$this->config->set('field_description_1', $this->getRequestParameter('trust[field_description_1]'), true);
|
||||
|
||||
if ($this->getRequest()->getFileSize('trust[icon_1]'))
|
||||
{
|
||||
$currentFile = sfConfig::get('sf_upload_dir') . $this->config->get('icon_1', null, true);
|
||||
|
||||
$fileName = md5($this->getRequest()->getFileName('trust[icon_1]') . time() . rand(0, 99999));
|
||||
$ext = $this->getRequest()->getFileExtension('trust[icon_1]');
|
||||
if (is_file($currentFile))
|
||||
{
|
||||
unlink($currentFile);
|
||||
}
|
||||
|
||||
$this->config->set('icon_1', "/picture/" . $this->getRequestParameter('culture', stLanguage::getOptLanguage()) . '/' . $fileName . $ext, true);
|
||||
$this->getRequest()->moveFile('trust[icon_1]', sfConfig::get('sf_upload_dir') . $this->config->get('icon_1', null, true));
|
||||
}
|
||||
|
||||
$this->config->set('field_2_on', $this->getRequestParameter('trust[field_2_on]'));
|
||||
$this->config->set('field_label_2', $this->getRequestParameter('trust[field_label_2]'), true);
|
||||
$this->config->set('field_sub_label_2', $this->getRequestParameter('trust[field_sub_label_2]'), true);
|
||||
$this->config->set('field_description_2', $this->getRequestParameter('trust[field_description_2]'), true);
|
||||
|
||||
if ($this->getRequest()->getFileSize('trust[icon_2]'))
|
||||
{
|
||||
$currentFile = sfConfig::get('sf_upload_dir') . $this->config->get('icon_2', null, true);
|
||||
|
||||
$fileName = md5($this->getRequest()->getFileName('trust[icon_2]') . time() . rand(0, 99999));
|
||||
$ext = $this->getRequest()->getFileExtension('trust[icon_2]');
|
||||
if (is_file($currentFile))
|
||||
{
|
||||
unlink($currentFile);
|
||||
}
|
||||
|
||||
$this->config->set('icon_2', "/picture/" . $this->getRequestParameter('culture', stLanguage::getOptLanguage()) . '/' . $fileName . $ext, true);
|
||||
$this->getRequest()->moveFile('trust[icon_2]', sfConfig::get('sf_upload_dir') . $this->config->get('icon_2', null, true));
|
||||
}
|
||||
|
||||
|
||||
$this->config->set('field_3_on', $this->getRequestParameter('trust[field_3_on]'));
|
||||
$this->config->set('field_label_3', $this->getRequestParameter('trust[field_label_3]'), true);
|
||||
$this->config->set('field_sub_label_3', $this->getRequestParameter('trust[field_sub_label_3]'), true);
|
||||
$this->config->set('field_description_3', $this->getRequestParameter('trust[field_description_3]'), true);
|
||||
|
||||
if ($this->getRequest()->getFileSize('trust[icon_3]'))
|
||||
{
|
||||
$currentFile = sfConfig::get('sf_upload_dir') . $this->config->get('icon_3', null, true);
|
||||
|
||||
$fileName = md5($this->getRequest()->getFileName('trust[icon_3]') . time() . rand(0, 99999));
|
||||
$ext = $this->getRequest()->getFileExtension('trust[icon_3]');
|
||||
if (is_file($currentFile))
|
||||
{
|
||||
unlink($currentFile);
|
||||
}
|
||||
|
||||
$this->config->set('icon_3', "/picture/" . $this->getRequestParameter('culture', stLanguage::getOptLanguage()) . '/' . $fileName . $ext, true);
|
||||
$this->getRequest()->moveFile('trust[icon_3]', sfConfig::get('sf_upload_dir') . $this->config->get('icon_3', null, true));
|
||||
}
|
||||
}
|
||||
|
||||
public function validateConfig()
|
||||
{
|
||||
$i18n = $this->getContext()->getI18N();
|
||||
$data = $this->getRequestParameter('trust');
|
||||
|
||||
$labelValidator = new sfStringValidator();
|
||||
$labelValidator->initialize($this->getContext(), array(
|
||||
'max' => 13,
|
||||
'max_error' => $i18n->__('Długość tekstu nie może przekraczać %max% znaków', array('%max%' => 13)),
|
||||
));
|
||||
|
||||
if (isset($data)){
|
||||
|
||||
foreach (array('field_label_1', 'field_label_2', 'field_label_3', 'field_sub_label_1', 'field_sub_label_2', 'field_sub_label_3') as $name)
|
||||
{
|
||||
if ($data[$name] && !$labelValidator->execute($data[$name], $error))
|
||||
{
|
||||
$this->getRequest()->setError('trust{' . $name . '}', $error);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return !$this->getRequest()->hasErrors();
|
||||
}
|
||||
|
||||
public function handleErrorConfig()
|
||||
{
|
||||
$this->config = stConfig::getInstance('stTrustBackend');
|
||||
$this->config->setCulture($this->getRequestParameter('culture', stLanguage::getOptLanguage()));
|
||||
|
||||
if ($this->getRequest()->getMethod() == sfRequest::POST)
|
||||
{
|
||||
$this->updateConfigFromRequest();
|
||||
}
|
||||
|
||||
$i18n = $this->getContext()->getI18N();
|
||||
|
||||
$this->getBreadcrumbs()->add($i18n->__('Konfiguracja'));
|
||||
|
||||
return sfView::SUCCESS;
|
||||
}
|
||||
|
||||
public function executeDeleteImage()
|
||||
{
|
||||
$config = stConfig::getInstance('stTrustBackend');
|
||||
$config->setCulture($this->getRequestParameter('culture', stLanguage::getOptLanguage()));
|
||||
$image = $this->getRequestParameter('image');
|
||||
|
||||
if (in_array($image, array('icon_1', 'icon_2', 'icon_3')))
|
||||
{
|
||||
$file = sfConfig::get('sf_upload_dir') . $config->get($image, null, true);
|
||||
|
||||
if (is_file($file) && unlink($file))
|
||||
{
|
||||
unlink($file);
|
||||
|
||||
$i18n = $this->getContext()->getI18N();
|
||||
|
||||
$this->setFlash('notice', $i18n->__('Ikona została usunięta'));
|
||||
|
||||
$config->set($image, null, true);
|
||||
|
||||
$config->save(true);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->setFlash('warning', $i18n->__('Wystąpił bład podczas próby usuwania ikony'));
|
||||
}
|
||||
|
||||
return $this->redirect($this->getRequest()->getReferer());
|
||||
}
|
||||
|
||||
|
||||
public function executeDeleteProductImage()
|
||||
{
|
||||
|
||||
$i18n = $this->getContext()->getI18N();
|
||||
|
||||
$c = new Criteria();
|
||||
$c->add(TrustPeer::PRODUCT_ID, $this->getRequestParameter('product_id'));
|
||||
$trust = TrustPeer::doSelectWithI18n($c);
|
||||
|
||||
if($trust){
|
||||
$trust = $trust[0];
|
||||
}
|
||||
|
||||
$trust->setCulture($this->getRequestParameter('culture', stLanguage::getOptLanguage()));
|
||||
|
||||
// echo "<pre>";
|
||||
// print_r($trust);
|
||||
// echo $trust->getIconF();
|
||||
//
|
||||
// die();
|
||||
|
||||
$image = $this->getRequestParameter('image');
|
||||
|
||||
if (in_array($image, array('icon_f', 'icon_s', 'icon_t')))
|
||||
{
|
||||
|
||||
if($image=="icon_f"){
|
||||
$icon = $trust->getIconF();
|
||||
}
|
||||
|
||||
if($image=="icon_s"){
|
||||
$icon = $trust->getIconS();
|
||||
}
|
||||
|
||||
if($image=="icon_t"){
|
||||
$icon = $trust->getIconT();
|
||||
}
|
||||
|
||||
|
||||
$file = sfConfig::get('sf_upload_dir') . $icon;
|
||||
|
||||
if (is_file($file) && unlink($file))
|
||||
{
|
||||
unlink($file);
|
||||
|
||||
$i18n = $this->getContext()->getI18N();
|
||||
|
||||
$this->setFlash('notice', $i18n->__('Ikona została usunięta'));
|
||||
|
||||
if($image=="icon_f"){
|
||||
$trust->setIconF(null);
|
||||
}
|
||||
|
||||
if($image=="icon_s"){
|
||||
$trust->setIconS(null);
|
||||
}
|
||||
|
||||
if($image=="icon_t"){
|
||||
$trust->setIconT(null);
|
||||
}
|
||||
|
||||
$trust->save();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->setFlash('warning', $i18n->__('Wystąpił bład podczas próby usuwania ikony'));
|
||||
}
|
||||
|
||||
return $this->redirect($this->getRequest()->getReferer());
|
||||
}
|
||||
|
||||
|
||||
protected function getBreadcrumbs()
|
||||
{
|
||||
if (null === $this->breadcrumbs)
|
||||
{
|
||||
$i18n = $this->getContext()->getI18N();
|
||||
$this->breadcrumbs = parent::getBreadcrumbs();
|
||||
$this->breadcrumbs->add($i18n->__('Gwarancja i zaufanie'), '@stTrustPlugin');
|
||||
}
|
||||
|
||||
return $this->breadcrumbs;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
class stTrustBackendComponents extends sfComponents
|
||||
{
|
||||
|
||||
public function executeListMenu()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,57 @@
|
||||
generator:
|
||||
class: stAdminGenerator
|
||||
param:
|
||||
model_class: Trust
|
||||
theme: simple
|
||||
|
||||
head:
|
||||
package: stTrustPlugin
|
||||
|
||||
list:
|
||||
title: Lista
|
||||
display: [product_id]
|
||||
actions:
|
||||
_create:
|
||||
object_actions:
|
||||
_edit: -
|
||||
_delete: -
|
||||
fields:
|
||||
product_id: {name: Produkt, params: size=35}
|
||||
field_on: {name: Tekst, params: size=35}
|
||||
field_f_on: {name: Dostawa, params: size=35}
|
||||
field_s_on: {name: Gwarancja, params: size=35}
|
||||
field_t_on: {name: Zwrot, params: size=35}
|
||||
edit:
|
||||
title: Edycja zaufania
|
||||
description: Edycja zaufania.
|
||||
display:
|
||||
"NONE": [product_id]
|
||||
"Tekst pod przyciskiem koszyka": [ field_on, field_description ]
|
||||
"Dostawa": [ field_f_on, field_sub_label_f, field_sub_label_f, field_description_f ]
|
||||
"Gwarancja": [ field_s_on, field_sub_label_s, field_sub_label_s, field_description_s ]
|
||||
"Zwrot": [ field_t_on, field_sub_label_t, field_sub_label_t, field_description_t ]
|
||||
|
||||
fields:
|
||||
product_id: {name: Produkt}
|
||||
field_on: {name: Włącz}
|
||||
field_description: {name: Opis, type: textarea_tag, params: size=75x10 rich=true tinymce_options='height:300,width:400,theme:'simple''}
|
||||
field_f_on: {name: Włącz }
|
||||
field_label_f: {name: Tytuł, type: input_tag, params: size=20 }
|
||||
field_sub_label_f: {name: Podtytuł, type: input_tag, params: size=20 }
|
||||
field_description_f: {name: Opis, type: textarea_tag, params: size=75x10 rich=true tinymce_options='height:300,width:400,theme:'simple''}
|
||||
icon_f: {name: Ikona, type: input_tag, params: size=20}
|
||||
field_s_on: {name: Włącz}
|
||||
field_label_s: {name: Tytuł, type: input_tag, params: size=20}
|
||||
field_sub_label_s: {name: Podtytuł, type: input_tag, params: size=20}
|
||||
field_description_s: {name: Opis, type: textarea_tag, params: size=75x10 rich=true tinymce_options='height:300,width:400,theme:'simple''}
|
||||
icon_s: {name: Ikona, type: input_tag, params: size=20}
|
||||
field_t_on: {name: Włącz}
|
||||
field_label_t: {name: Tytuł, type: input_tag, params: size=20}
|
||||
field_sub_label_t: {name: Podtytuł, type: input_tag, params: size=20}
|
||||
field_description_t: {name: Opis, type: textarea_tag, params: size=75x10 rich=true tinymce_options='height:300,width:400,theme:'simple''}
|
||||
icon_t: {name: Ikona, type: input_tag, params: size=20}
|
||||
|
||||
|
||||
actions:
|
||||
_list: {name: Lista}
|
||||
_save: {name: Zapisz}
|
||||
@@ -0,0 +1,19 @@
|
||||
<div class="list-menu">
|
||||
<ul>
|
||||
|
||||
<li class="selected">
|
||||
<?php echo link_to(__('Konfiguracja'),'stTrustBackend/config')?>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<?php if (sfContext::getInstance()->getUser()->getCulture() == 'pl_PL'): ?>
|
||||
<a href="https://www.sote.pl/docs/gwarancja-i-zaufanie" target="_blank"><?php echo __('Dokumentacja'); ?></a>
|
||||
<?php else: ?>
|
||||
<a href="https://www.soteshop.com/docs/documentation" target="_blank"><?php echo __('Documentation'); ?></a>
|
||||
<?php endif; ?>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="clr"></div>
|
||||
@@ -0,0 +1,151 @@
|
||||
<?php use_helper('I18N', 'stAdminGenerator', 'Validation');?>
|
||||
<?php st_view_slot_start('application-menu') ?>
|
||||
<?php st_include_component('stTrustBackend', 'listMenu') ?>
|
||||
<?php st_view_slot_end() ?>
|
||||
<?php echo st_get_admin_head('stTrustPlugin', __('Konfiguracja'), array('shortcuts' => array(), 'culture' => $config->getCulture(), 'route' => 'stTrustBackend/config')) ?>
|
||||
|
||||
<?php st_include_partial('stAdminGenerator/message', array('labels' => @$labels));?>
|
||||
|
||||
<?php echo form_tag('stTrustBackend/config?culture=' . $config->getCulture(), array("enctype" => "multipart/form-data", 'class' => 'admin_form')) ?>
|
||||
|
||||
|
||||
<fieldset>
|
||||
<h2><?php echo __('Tekst pod przyciskiem koszyka') ?> </h2>
|
||||
<div class="content">
|
||||
|
||||
|
||||
|
||||
<?php echo st_admin_get_form_field('trust[field_on]', __('Włącz'), 1, 'checkbox_tag', array('checked' => $config->get('field_on'))) ?>
|
||||
|
||||
<div class="row">
|
||||
<label><?php echo __('Opis') ?>:</label>
|
||||
<div class="field">
|
||||
<?php echo textarea_tag("trust[field_description]", $config->get('field_description', null, true), array('size' => '60x6', 'rich' => true, 'tinymce_options' => "height:80,width:'60%'")) ?>
|
||||
<br class="st_clear_all">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
|
||||
<fieldset>
|
||||
<h2><?php echo __('Dostawa') ?> </h2>
|
||||
<div class="content">
|
||||
|
||||
<?php echo st_admin_get_form_field('trust[field_1_on]', __('Włącz'), 1, 'checkbox_tag', array('checked' => $config->get('field_1_on'))) ?>
|
||||
|
||||
<?php echo st_admin_get_form_field('trust[field_label_1]', __('Tytuł'), $config->get('field_label_1', null, true), 'input_tag', array('size' => '12', 'maxlength' => '10', 'help' => __('max 10 znaków'))) ?>
|
||||
|
||||
<?php echo st_admin_get_form_field('trust[field_sub_label_1]', __('Podtytuł'), $config->get('field_sub_label_1', null, true), 'input_tag', array('size' => '12', 'maxlength' => '12', 'help' => __('max 12 znaków'))) ?>
|
||||
|
||||
<div class="form-row">
|
||||
<label><?php echo __('Ikona') ?>:<a class="help" title="<?php echo __('Rozmiar ikonki 30x30px') ?>" href="#"></a></label>
|
||||
<div class="content">
|
||||
<?php echo input_file_tag("trust[icon_1]", ""); ?><br />
|
||||
<?php if ($config->get('icon_1', null, true) != "") : ?>
|
||||
<img src="/uploads<?php echo $config->get('icon_1', null, true); ?>" alt="" style="max-width: 100px; margin-top: 7px;"><br />
|
||||
<?php echo link_to(__('Usuń ikone'), 'stTrustBackend/deleteImage?image=icon_1&culture=' . $config->getCulture()) ?>
|
||||
<br class="st_clear_all">
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<label><?php echo __('Opis') ?>:</label>
|
||||
<div class="content">
|
||||
<?php echo textarea_tag("trust[field_description_1]", $config->get('field_description_1', null, true), array('size' => '60x6', 'rich' => true, 'tinymce_options' => "height:80,width:'60%'")) ?>
|
||||
<br class="st_clear_all">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<h2><?php echo __('Gwarancja') ?> </h2>
|
||||
<div class="content">
|
||||
<?php echo st_admin_get_form_field('trust[field_2_on]', __('Włącz'), 1, 'checkbox_tag', array('checked' => $config->get('field_2_on'))) ?>
|
||||
|
||||
<?php echo st_admin_get_form_field('trust[field_label_2]', __('Tytuł'), $config->get('field_label_2', null, true), 'input_tag', array('size' => '12', 'maxlength' => '10', 'help' => __('max 10 znaków'))) ?>
|
||||
|
||||
<?php echo st_admin_get_form_field('trust[field_sub_label_2]', __('Podtytuł'), $config->get('field_sub_label_2', null, true), 'input_tag', array('size' => '12', 'maxlength' => '12', 'help' => __('max 12 znaków'))) ?>
|
||||
|
||||
<div class="form-row">
|
||||
<label><?php echo __('Ikona') ?>:<a class="help" title="<?php echo __('Rozmiar ikonki 30x30px') ?>" href="#"></a></label>
|
||||
<div class="content">
|
||||
<?php echo input_file_tag("trust[icon_2]", ""); ?><br />
|
||||
<?php if ($config->get('icon_1', null, true) != "") : ?>
|
||||
<img src="/uploads<?php echo $config->get('icon_2', null, true); ?>" alt="" style="max-width: 100px; margin-top: 7px;"><br />
|
||||
<?php echo link_to(__('Usuń ikone'), 'stTrustBackend/deleteImage?image=icon_2&culture=' . $config->getCulture()) ?>
|
||||
<br class="st_clear_all">
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<label><?php echo __('Opis') ?>:</label>
|
||||
<div class="content">
|
||||
<?php echo textarea_tag("trust[field_description_2]", $config->get('field_description_2', null, true), array('size' => '60x6', 'rich' => true, 'tinymce_options' => "height:80,width:'60%'")) ?>
|
||||
<br class="st_clear_all">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<h2><?php echo __('Zwrot') ?></h2>
|
||||
<div class="content">
|
||||
<?php echo st_admin_get_form_field('trust[field_3_on]', __('Włącz'), 1, 'checkbox_tag', array('checked' => $config->get('field_3_on'))) ?>
|
||||
|
||||
<?php echo st_admin_get_form_field('trust[field_label_3]', __('Tytuł'), $config->get('field_label_3', null, true), 'input_tag', array('size' => '12', 'maxlength' => '10', 'help' => __('max 10 znaków'))) ?>
|
||||
|
||||
<?php echo st_admin_get_form_field('trust[field_sub_label_3]', __('Podtytuł'), $config->get('field_sub_label_3', null, true), 'input_tag', array('size' => '12', 'maxlength' => '12', 'help' => __('max 12 znaków'))) ?>
|
||||
|
||||
<div class="form-row">
|
||||
<label><?php echo __('Ikona') ?>:<a class="help" title="<?php echo __('Rozmiar ikonki 30x30px') ?>" href="#"></a></label>
|
||||
<div class="content">
|
||||
<?php echo input_file_tag("trust[icon_3]", ""); ?><br />
|
||||
<?php if ($config->get('icon_3', null, true) != "") : ?>
|
||||
<img src="/uploads<?php echo $config->get('icon_3', null, true); ?>" alt="" style="max-width: 100px; margin-top: 7px;"><br />
|
||||
<?php echo link_to(__('Usuń ikone'), 'stTrustBackend/deleteImage?image=icon_3&culture=' . $config->getCulture()) ?>
|
||||
<br class="st_clear_all">
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<label><?php echo __('Opis') ?>:</label>
|
||||
<div class="content">
|
||||
<?php echo textarea_tag("trust[field_description_3]", $config->get('field_description_3', null, true), array('size' => '60x6', 'rich' => true, 'tinymce_options' => "height:80,width:'60%'")) ?>
|
||||
<br class="st_clear_all">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<div id="edit_actions">
|
||||
<?php echo st_get_admin_actions_head() ?>
|
||||
<?php echo st_get_admin_action('save', __('Zapisz', null, 'stAdminGeneratorPlugin'), null, array("name" => "save",)) ?>
|
||||
<?php echo st_get_admin_actions_foot() ?>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
<script type="text/javascript">
|
||||
jQuery(function($) {
|
||||
$(document).ready(function() {
|
||||
$('#edit_actions').stickyBox();
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<br class="st_clear_all">
|
||||
<?php echo st_get_admin_foot() ?>
|
||||
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
/**
|
||||
* SOTESHOP/stTrustPlugin
|
||||
*
|
||||
*
|
||||
* @package stTrustPlugin
|
||||
* @author Bartosz Alejski <bartosz.alejski@sote.pl>
|
||||
*/
|
||||
class stTrustFrontendComponents extends sfComponents {
|
||||
|
||||
public function executeShow()
|
||||
{
|
||||
$smarty = new stSmarty('stTrustFrontend');
|
||||
|
||||
$config = stConfig::getInstance($this->getContext(), 'stTrustBackend');
|
||||
$config->setCulture($this->getUser()->getCulture());
|
||||
|
||||
$c = new Criteria();
|
||||
$c->add(TrustPeer::PRODUCT_ID, $this->product->getID());
|
||||
$trust = TrustPeer::doSelectWithI18n($c);
|
||||
|
||||
if($trust){
|
||||
$trust = $trust[0];
|
||||
|
||||
if($config->get('field_on')==1 || $trust->getFieldOn()==1){
|
||||
|
||||
if($trust->getFieldOn()==1){
|
||||
$smarty->assign("field_description", $trust->getFieldDescription());
|
||||
$smarty->assign("field_on", $trust->getFieldOn());
|
||||
}else{
|
||||
$smarty->assign("field_description", $config->get('field_description', null, true));
|
||||
$smarty->assign("field_on", $config->get('field_on'));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if($config->get('field_1_on')==1 || $trust->getFieldFOn()==1){
|
||||
|
||||
if($trust->getFieldFOn()==1){
|
||||
$smarty->assign("field_1_on", $trust->getFieldFOn());
|
||||
$smarty->assign("field_label_1", $trust->getFieldLabelF());
|
||||
$smarty->assign("field_sub_label_1", $trust->getFieldSubLabelF());
|
||||
$smarty->assign("field_description_1", $trust->getFieldDescriptionF());
|
||||
|
||||
if($trust->getIconF()!=""){
|
||||
$smarty->assign("icon_1", $trust->getIconF());
|
||||
}else{
|
||||
$smarty->assign("icon_1", $config->get('icon_1', null, true));
|
||||
}
|
||||
|
||||
|
||||
}else{
|
||||
$smarty->assign("field_1_on", $config->get('field_1_on'));
|
||||
$smarty->assign("field_label_1", $config->get('field_label_1', null, true));
|
||||
$smarty->assign("field_sub_label_1", $config->get('field_sub_label_1', null, true));
|
||||
$smarty->assign("field_description_1", $config->get('field_description_1', null, true));
|
||||
$smarty->assign("icon_1", $config->get('icon_1', null, true));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if($config->get('field_2_on')==1 || $trust->getFieldSOn()==1){
|
||||
|
||||
if($trust->getFieldSOn()==1){
|
||||
$smarty->assign("field_2_on", $trust->getFieldSOn());
|
||||
$smarty->assign("field_label_2", $trust->getFieldLabelS());
|
||||
$smarty->assign("field_sub_label_2", $trust->getFieldSubLabelS());
|
||||
$smarty->assign("field_description_2", $trust->getFieldDescriptionS());
|
||||
|
||||
if($trust->getIconS()!=""){
|
||||
$smarty->assign("icon_2", $trust->getIconS());
|
||||
}else{
|
||||
$smarty->assign("icon_2", $config->get('icon_2', null, true));
|
||||
}
|
||||
|
||||
}else{
|
||||
$smarty->assign("field_2_on", $config->get('field_2_on'));
|
||||
$smarty->assign("field_label_2", $config->get('field_label_2', null, true));
|
||||
$smarty->assign("field_sub_label_2", $config->get('field_sub_label_2', null, true));
|
||||
$smarty->assign("field_description_2", $config->get('field_description_2', null, true));
|
||||
$smarty->assign("icon_2", $config->get('icon_2', null, true));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if($config->get('field_3_on')==1 || $trust->getFieldTOn()==1){
|
||||
|
||||
if($trust->getFieldTOn()==1){
|
||||
$smarty->assign("field_3_on", $trust->getFieldTOn());
|
||||
$smarty->assign("field_label_3", $trust->getFieldLabelT());
|
||||
$smarty->assign("field_sub_label_3", $trust->getFieldSubLabelT());
|
||||
$smarty->assign("field_description_3", $trust->getFieldDescriptionT());
|
||||
|
||||
if($trust->getIconT()!=""){
|
||||
$smarty->assign("icon_3", $trust->getIconT());
|
||||
}else{
|
||||
$smarty->assign("icon_3", $config->get('icon_3', null, true));
|
||||
}
|
||||
|
||||
}else{
|
||||
$smarty->assign("field_3_on", $config->get('field_3_on'));
|
||||
$smarty->assign("field_label_3", $config->get('field_label_3', null, true));
|
||||
$smarty->assign("field_sub_label_3", $config->get('field_sub_label_3', null, true));
|
||||
$smarty->assign("field_description_3", $config->get('field_description_3', null, true));
|
||||
$smarty->assign("icon_3", $config->get('icon_3', null, true));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}else{
|
||||
$smarty->assign("field_description", $config->get('field_description', null, true));
|
||||
$smarty->assign("field_on", $config->get('field_on'));
|
||||
|
||||
$smarty->assign("field_1_on", $config->get('field_1_on'));
|
||||
$smarty->assign("field_label_1", $config->get('field_label_1', null, true));
|
||||
$smarty->assign("field_sub_label_1", $config->get('field_sub_label_1', null, true));
|
||||
$smarty->assign("field_description_1", $config->get('field_description_1', null, true));
|
||||
$smarty->assign("icon_1", $config->get('icon_1', null, true));
|
||||
|
||||
$smarty->assign("field_2_on", $config->get('field_2_on'));
|
||||
$smarty->assign("field_label_2", $config->get('field_label_2', null, true));
|
||||
$smarty->assign("field_sub_label_2", $config->get('field_sub_label_2', null, true));
|
||||
$smarty->assign("field_description_2", $config->get('field_description_2', null, true));
|
||||
$smarty->assign("icon_2", $config->get('icon_2', null, true));
|
||||
|
||||
$smarty->assign("field_3_on", $config->get('field_3_on'));
|
||||
$smarty->assign("field_label_3", $config->get('field_label_3', null, true));
|
||||
$smarty->assign("field_sub_label_3", $config->get('field_sub_label_3', null, true));
|
||||
$smarty->assign("field_description_3", $config->get('field_description_3', null, true));
|
||||
$smarty->assign("icon_3", $config->get('icon_3', null, true));
|
||||
|
||||
}
|
||||
|
||||
return $smarty;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
{if $field_on == 1}
|
||||
<div id="card-info-p" class="tinymce_html text-center">
|
||||
{$field_description}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div id="card-info-box">
|
||||
|
||||
<ul class="flex clearfix">
|
||||
{if $field_1_on == 1}
|
||||
<li>
|
||||
<button class="btn btn-default text-center collapsed" type="button" data-parent="#card-info-box" data-toggle="collapse" data-target="#card-info-box_content1" aria-expanded="false" aria-controls="card-info-box_content1">
|
||||
<span class="hidden-xs hidden-md"><img src="/uploads/{$icon_1}" alt="" /></span>
|
||||
<span class="hidden-sm">
|
||||
{$field_label_1}
|
||||
<small class="text-muted">
|
||||
{$field_sub_label_1}
|
||||
</small>
|
||||
</span>
|
||||
</button>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
{if $field_2_on == 1}
|
||||
<li>
|
||||
<button class="btn btn-default text-center collapsed" type="button" data-parent="#card-info-box" data-toggle="collapse" data-target="#card-info-box_content2" aria-expanded="false" aria-controls="card-info-box_content2">
|
||||
<span class="hidden-xs hidden-md"><img src="/uploads/{$icon_2}" alt="" /></span>
|
||||
<span class="hidden-sm">
|
||||
{$field_label_2}
|
||||
<small class="text-muted">{$field_sub_label_2}</small>
|
||||
</span>
|
||||
</button>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
{if $field_3_on == 1}
|
||||
<li>
|
||||
<button class="btn btn-default text-center collapsed" type="button" data-parent="#card-info-box" data-toggle="collapse" data-target="#card-info-box_content3" aria-expanded="false" aria-controls="card-info-box_content3">
|
||||
<span class="hidden-xs hidden-md"><img src="/uploads/{$icon_3}" alt="" /></span>
|
||||
<span class="hidden-sm">
|
||||
{$field_label_3}
|
||||
<small class="text-muted">{$field_sub_label_3}</small>
|
||||
</span>
|
||||
</button>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
</ul>
|
||||
|
||||
{if $field_1_on == 1}
|
||||
<div id="card-info-box_content1" class="panel-collapse collapse" role="tabpanel" aria-labelledby="card-info-box_head1">
|
||||
<div class="tinymce_html">
|
||||
{$field_description_1}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $field_2_on == 1}
|
||||
<div id="card-info-box_content2" class="panel-collapse collapse" role="tabpanel" aria-labelledby="card-info-box_head2">
|
||||
<div class="tinymce_html">
|
||||
{$field_description_2}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $field_3_on == 1}
|
||||
<div id="card-info-box_content3" class="panel-collapse collapse" role="tabpanel" aria-labelledby="card-info-box_head3">
|
||||
<div class="tinymce_html">
|
||||
{$field_description_3}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user