diff --git a/.translation.yml b/.translation.yml index 3ebd6bd0..ad7d8ec6 100644 --- a/.translation.yml +++ b/.translation.yml @@ -11,5 +11,6 @@ languages: - gl - eo - nl + - sr paths: - src/Elcodi/*/*/Resources/translations diff --git a/app/DoctrineMigrations/Version20151028204201.php b/app/DoctrineMigrations/Version20151028204201.php deleted file mode 100644 index 90c4acd5..00000000 --- a/app/DoctrineMigrations/Version20151028204201.php +++ /dev/null @@ -1,76 +0,0 @@ - - * @author Aldo Chiecchia - * @author Elcodi Team - */ - -namespace Application\Migrations; - -use Doctrine\DBAL\Migrations\AbstractMigration; -use Doctrine\DBAL\Schema\Schema; - -/** - * Auto-generated Migration: Please modify to your needs! - */ -class Version20151028204201 extends AbstractMigration -{ - /** - * @param Schema $schema - */ - public function up(Schema $schema) - { - // this up() migration is auto-generated, please modify it to your needs - $this->abortIf($this->connection->getDatabasePlatform()->getName() != 'mysql', 'Migration can only be executed safely on \'mysql\'.'); - - $this->addSql('SET foreign_key_checks = 0'); - $this->addSql("INSERT INTO `address` (`id`, `name`, `recipient_name`, `recipient_surname`, `city`, `postal_code`, `address`, `address_more`, `phone`, `mobile`, `comments`, `created_at`, `updated_at`, `enabled`) VALUES (1,'My home','Maggie','Simpson','ES_CT_B_Barcelona','08007','Passeig de Gràcia','1','936524596','625452365','Is an Apple Store',NOW(),NOW(),1), (2,'Work','Homer','Simpson','ES_CT_B_Barcelona','08009','C/ València','333 Baixos','935864758','625452365','It\'s an office',NOW(),NOW(),1)"); - $this->addSql("INSERT INTO `admin_user` (`id`, `gender`, `password`, `email`, `token`, `firstname`, `lastname`, `birthday`, `recovery_hash`, `one_time_login_hash`, `created_at`, `updated_at`, `last_login_at`, `enabled`) VALUES (1,0,'$2y$15\$xRT7oOHw8D4VIBQn/yDM8.OyqQPwhD1y10a.g1cfcffZGEyM.CMFe','admin@admin.com','7144a06e1b7fe2ad10f7486da63b78cf','John','Wayne',NULL,NULL,NULL,NOW(),NOW(),NULL,1)"); - $this->addSql("INSERT INTO `attribute` (`id`, `name`, `created_at`, `updated_at`, `enabled`) VALUES (1,'Size',NOW(),NOW(),1), (2,'Color',NOW(),NOW(),1)"); - $this->addSql("INSERT INTO `carrier` (`id`, `tax_id`, `name`, `description`, `enabled`) VALUES (1,1,'default','Default carrier',1)"); - $this->addSql("INSERT INTO `category` (`id`, `parent_id`, `name`, `slug`, `root`, `position`, `meta_title`, `meta_description`, `meta_keywords`, `created_at`, `updated_at`, `enabled`) VALUES (1,NULL,'Women\'s','women-shirts',1,0,'Women Shirts','Women Shirts','Women Shirts',NOW(),NOW(),1), (2,NULL,'Men\'s','Men-shirts',1,1,'Men Shirts','Men Shirts','Men Shirts',NOW(),NOW(),1)"); - $this->addSql("INSERT INTO `coupon` (`id`, `price_currency_iso`, `minimum_purchase_currency_iso`, `rule`, `code`, `name`, `type`, `enforcement`, `price_amount`, `discount`, `count`, `used`, `priority`, `minimum_purchase_amount`, `stackable`, `valid_from`, `valid_to`, `created_at`, `updated_at`, `enabled`) VALUES (1,'USD','USD',NULL,'percent','12 percent discount',2,2,0,12,5,0,0,0,0,NOW(),NULL,NOW(),NOW(),1), (2,'EUR','USD',NULL,'5euros','5 euros discount',1,2,500,0,0,0,0,0,0,NOW(),NULL,NOW(),NOW(),1), (3,'USD','USD',NULL,'10dollars','10 dollars discount',1,2,1000,0,20,0,0,0,0,NOW(),NULL,NOW(),NOW(),1), (4,'USD','USD',3,'bigspender','50% discount',2,1,0,50,0,0,0,0,0,NOW(),NULL,NOW(),NOW(),1)"); - $this->addSql("INSERT INTO `currency` (`iso`, `name`, `symbol`, `created_at`, `updated_at`, `enabled`) VALUES ('AFN','Afghanistan Afghani','؋',NOW(),NOW(),0), ('ALL','Albania Lek','Lek',NOW(),NOW(),0), ('ANG','Netherlands Antilles Guilder','ƒ',NOW(),NOW(),0), ('ARS','Argentina Peso','$',NOW(),NOW(),0), ('AUD','Australia Dollar','$',NOW(),NOW(),0), ('AWG','Aruba Guilder','ƒ',NOW(),NOW(),0), ('AZN','Azerbaijan New Manat','ман',NOW(),NOW(),0), ('BAM','Bosnia and Herzegovina Convertible Marka','KM',NOW(),NOW(),0), ('BBD','Barbados Dollar','$',NOW(),NOW(),0), ('BGN','Bulgaria Lev','лв',NOW(),NOW(),0), ('BMD','Bermuda Dollar','$',NOW(),NOW(),0), ('BND','Brunei Darussalam Dollar','$',NOW(),NOW(),0), ('BOB','Bolivia Boliviano','\$b',NOW(),NOW(),0), ('BRL','Brazil Real','R$',NOW(),NOW(),0), ('BSD','Bahamas Dollar','$',NOW(),NOW(),0), ('BWP','Botswana Pula','P',NOW(),NOW(),0), ('BYR','Belarus Ruble','p.',NOW(),NOW(),0), ('BZD','Belize Dollar','BZ$',NOW(),NOW(),0), ('CAD','Canada Dollar','$',NOW(),NOW(),0), ('CHF','Switzerland Franc','CHF',NOW(),NOW(),0), ('CLP','Chile Peso','$',NOW(),NOW(),0), ('CNY','China Yuan Renminbi','¥',NOW(),NOW(),0), ('COP','Colombia Peso','$',NOW(),NOW(),0), ('CRC','Costa Rica Colon','₡',NOW(),NOW(),0), ('CUP','Cuba Peso','₱',NOW(),NOW(),0), ('CZK','Czech Republic Koruna','Kč',NOW(),NOW(),0), ('DKK','Denmark Krone','kr',NOW(),NOW(),0), ('DOP','Dominican Republic Peso','RD$',NOW(),NOW(),0), ('EEK','Estonia Kroon','kr',NOW(),NOW(),0), ('EGP','Egypt Pound','£',NOW(),NOW(),0), ('EUR','Euro Member Countries','€',NOW(),NOW(),1), ('FJD','Fiji Dollar','$',NOW(),NOW(),0), ('FKP','Falkland Islands (Malvinas) Pound','£',NOW(),NOW(),0), ('GBP','United Kingdom Pound','£',NOW(),NOW(),1), ('GGP','Guernsey Pound','£',NOW(),NOW(),0), ('GHC','Ghana Cedi','¢',NOW(),NOW(),0), ('GIP','Gibraltar Pound','£',NOW(),NOW(),0), ('GTQ','Guatemala Quetzal','Q',NOW(),NOW(),0), ('GYD','Guyana Dollar','$',NOW(),NOW(),0), ('HKD','Hong Kong Dollar','$',NOW(),NOW(),0), ('HNL','Honduras Lempira','L',NOW(),NOW(),0), ('HRK','Croatia Kuna','kn',NOW(),NOW(),0), ('HUF','Hungary Forint','Ft',NOW(),NOW(),0), ('IDR','Indonesia Rupiah','Rp',NOW(),NOW(),0), ('ILS','Israel Shekel','₪',NOW(),NOW(),0), ('IMP','Isle of Man Pound','£',NOW(),NOW(),0), ('INR','India Rupee','₹',NOW(),NOW(),0), ('IRR','Iran Rial','﷼',NOW(),NOW(),0), ('ISK','Iceland Krona','kr',NOW(),NOW(),0), ('JEP','Jersey Pound','£',NOW(),NOW(),0), ('JMD','Jamaica Dollar','J$',NOW(),NOW(),0), ('JPY','Japan Yen','¥',NOW(),NOW(),1), ('KGS','Kyrgyzstan Som','лв',NOW(),NOW(),0), ('KHR','Cambodia Riel','៛',NOW(),NOW(),0), ('KPW','Korea (North) Won','₩',NOW(),NOW(),0), ('KRW','Korea (South) Won','₩',NOW(),NOW(),0), ('KYD','Cayman Islands Dollar','$',NOW(),NOW(),0), ('KZT','Kazakhstan Tenge','лв',NOW(),NOW(),0), ('LAK','Laos Kip','₭',NOW(),NOW(),0), ('LBP','Lebanon Pound','£',NOW(),NOW(),0), ('LKR','Sri Lanka Rupee','₨',NOW(),NOW(),0), ('LRD','Liberia Dollar','$',NOW(),NOW(),0), ('LTL','Lithuania Litas','Lt',NOW(),NOW(),0), ('LVL','Latvia Lat','Ls',NOW(),NOW(),0), ('MKD','Macedonia Denar','ден',NOW(),NOW(),0), ('MNT','Mongolia Tughrik','₮',NOW(),NOW(),0), ('MUR','Mauritius Rupee','₨',NOW(),NOW(),0), ('MXN','Mexico Peso','$',NOW(),NOW(),0), ('MYR','Malaysia Ringgit','RM',NOW(),NOW(),0), ('MZN','Mozambique Metical','MT',NOW(),NOW(),0), ('NAD','Namibia Dollar','$',NOW(),NOW(),0), ('NGN','Nigeria Naira','₦',NOW(),NOW(),0), ('NIO','Nicaragua Cordoba','C$',NOW(),NOW(),0), ('NOK','Norway Krone','kr',NOW(),NOW(),0), ('NPR','Nepal Rupee','₨',NOW(),NOW(),0), ('NZD','New Zealand Dollar','$',NOW(),NOW(),0), ('OMR','Oman Rial','﷼',NOW(),NOW(),0), ('PAB','Panama Balboa','B/.',NOW(),NOW(),0), ('PEN','Peru Nuevo Sol','S/.',NOW(),NOW(),0), ('PHP','Philippines Peso','₱',NOW(),NOW(),0), ('PKR','Pakistan Rupee','₨',NOW(),NOW(),0), ('PLN','Poland Zloty','zł',NOW(),NOW(),0), ('PYG','Paraguay Guarani','Gs',NOW(),NOW(),0), ('QAR','Qatar Riyal','﷼',NOW(),NOW(),0), ('RON','Romania New Leu','lei',NOW(),NOW(),0), ('RSD','Serbia Dinar','Дин.',NOW(),NOW(),0), ('RUB','Russia Ruble','руб',NOW(),NOW(),0), ('SAR','Saudi Arabia Riyal','﷼',NOW(),NOW(),0), ('SBD','Solomon Islands Dollar','$',NOW(),NOW(),0), ('SCR','Seychelles Rupee','₨',NOW(),NOW(),0), ('SEK','Sweden Krona','kr',NOW(),NOW(),0), ('SGD','Singapore Dollar','$',NOW(),NOW(),0), ('SHP','Saint Helena Pound','£',NOW(),NOW(),0), ('SOS','Somalia Shilling','S',NOW(),NOW(),0), ('SRD','Suriname Dollar','$',NOW(),NOW(),0), ('SVC','El Salvador Colon','$',NOW(),NOW(),0), ('SYP','Syria Pound','£',NOW(),NOW(),0), ('THB','Thailand Baht','฿',NOW(),NOW(),0), ('TRL','Turkey Lira','₤',NOW(),NOW(),0), ('TRY','Turkey Lira','₺',NOW(),NOW(),0), ('TTD','Trinidad and Tobago Dollar','TT$',NOW(),NOW(),0), ('TVD','Tuvalu Dollar','$',NOW(),NOW(),0), ('TWD','Taiwan New Dollar','NT$',NOW(),NOW(),0), ('UAH','Ukraine Hryvnia','₴',NOW(),NOW(),0), ('USD','United States Dollar','$',NOW(),NOW(),1), ('UYU','Uruguay Peso','\$U',NOW(),NOW(),0), ('UZS','Uzbekistan Som','лв',NOW(),NOW(),0), ('VEF','Venezuela Bolivar','Bs',NOW(),NOW(),0), ('VND','Viet Nam Dong','₫',NOW(),NOW(),0), ('XCD','East Caribbean Dollar','$',NOW(),NOW(),0), ('YER','Yemen Rial','﷼',NOW(),NOW(),0), ('ZAR','South Africa Rand','R',NOW(),NOW(),0), ('ZWD','Zimbabwe Dollar','Z$',NOW(),NOW(),0)"); - $this->addSql("INSERT INTO `currency_exchange_rate` (`id`, `target_currency_iso`, `source_currency_iso`, `exchange_rate`) VALUES (1,'EUR','USD',0.7365960000), (2,'GBP','USD',0.5887650000), (3,'JPY','USD',101.8226250000)"); - $this->addSql("INSERT INTO `customer` (`id`, `delivery_address_id`, `invoice_address_id`, `language_iso`, `gender`, `password`, `email`, `token`, `firstname`, `lastname`, `birthday`, `recovery_hash`, `one_time_login_hash`, `created_at`, `updated_at`, `last_login_at`, `enabled`, `phone`, `identity_document`, `guest`, `newsletter`) VALUES (1,NULL,NULL,NULL,0,'$2y$15\$IRIo7ucebgpIgnY9LGpfAeRqvhgQ/1ou4DEF4b9hadPN1QjzedvxK','customer@customer.com','07bb09dd4cb84e8ba0293b0ac02e46d4','Homer','Simpson',NULL,NULL,NULL,NOW(),NOW(),NULL,1,NULL,NULL,0,0), (2,NULL,NULL,NULL,1,'$2y$15\$DqM4pVDahBxnA9UV7aVBGu3kmv05603/kloAC4jBHaUU.FKtuWYRu','another-customer@customer.com','60a33c4298c51418ec14b1cc1da5ca4f','Santa','Claus',NULL,NULL,NULL,NOW(),NOW(),NULL,1,NULL,NULL,0,0)"); - $this->addSql("INSERT INTO `customer_address` (`customer_id`, `address_id`) VALUES (1,1), (1,2)"); - $this->addSql("INSERT INTO `entity_translation` (`entity_type`, `entity_id`, `entity_field`, `locale`, `translation`) VALUES ('carrier','1','description','ca','El nostre sistema d\'entrega bàsic'), ('carrier','1','description','en','Our basic delivery system'), ('carrier','1','description','es','Nuestro sistema de entrega básico'), ('carrier','1','description','fr','Notre système de livraison basique'), ('carrier','1','name','ca','Bàsic'), ('carrier','1','name','en','Basic'), ('carrier','1','name','es','Básico'), ('carrier','1','name','fr','Minimale'), ('category','1','metaDescription','ca','Samarretes de dona'), ('category','1','metaDescription','en','Women Shirts'), ('category','1','metaDescription','es','Camisetas de Mujer'), ('category','1','metaDescription','fr','Chemises de femme'), ('category','1','metaKeywords','ca','Samarretes de dona'), ('category','1','metaKeywords','en','Women Shirts'), ('category','1','metaKeywords','es','Camisetas Mujer'), ('category','1','metaKeywords','fr','Chemises de femme'), ('category','1','metaTitle','ca','Samarretes de dona'), ('category','1','metaTitle','en','Women Shirts'), ('category','1','metaTitle','es','Camisetas de Mujer'), ('category','1','metaTitle','fr','Chemises de femme'), ('category','1','name','ca','Dona'), ('category','1','name','en','Women\'s'), ('category','1','name','es','Mujer'), ('category','1','name','fr','Femme'), ('category','1','slug','ca','samarretes-de-dona'), ('category','1','slug','en','women-shirts'), ('category','1','slug','es','camisetas-de-mujer'), ('category','1','slug','fr','chemises-de-femme'), ('category','2','metaDescription','ca','Samarretes d\'home'), ('category','2','metaDescription','en','Men Shirts'), ('category','2','metaDescription','es','Camisetas de Hombre'), ('category','2','metaDescription','fr','Chemises de homme'), ('category','2','metaKeywords','ca','Samarretes d\'home'), ('category','2','metaKeywords','en','Men Shirts'), ('category','2','metaKeywords','es','Camisetas Hombre'), ('category','2','metaKeywords','fr','Chemises de homme'), ('category','2','metaTitle','ca','Samarretes d\'home'), ('category','2','metaTitle','en','Men Shirts'), ('category','2','metaTitle','es','Camisetas de Hombre'), ('category','2','metaTitle','fr','Chemises de homme'), ('category','2','name','ca','Home'), ('category','2','name','en','Men\'s'), ('category','2','name','es','Hombre'), ('category','2','name','fr','Homem'), ('category','2','slug','ca','samarretes-d-home'), ('category','2','slug','en','men-shirts'), ('category','2','slug','es','camisetas-de-hombre'), ('category','2','slug','fr','chemises-de-homme'), ('manufacturer','1','description','ca','Levis'), ('manufacturer','1','description','en','Levis'), ('manufacturer','1','description','es','Levis'), ('manufacturer','1','description','fr','Levis'), ('manufacturer','1','metaDescription','ca','Fabricant Levis'), ('manufacturer','1','metaDescription','en','Levis Manufacturer'), ('manufacturer','1','metaDescription','es','Fabricante Levis'), ('manufacturer','1','metaDescription','fr','Fabricant Levis'), ('manufacturer','1','metaKeywords','ca','Levis, Fabricant'), ('manufacturer','1','metaKeywords','en','Levis, Manufacturer'), ('manufacturer','1','metaKeywords','es','Levis, Fabricante'), ('manufacturer','1','metaKeywords','fr','Levis, Fabricant'), ('manufacturer','1','metaTitle','ca','Levis'), ('manufacturer','1','metaTitle','en','Levis'), ('manufacturer','1','metaTitle','es','Levis'), ('manufacturer','1','metaTitle','fr','Levis'), ('manufacturer','1','name','ca','Levis'), ('manufacturer','1','name','en','Levis'), ('manufacturer','1','name','es','Levis'), ('manufacturer','1','name','fr','Levis'), ('manufacturer','1','slug','ca','levis'), ('manufacturer','1','slug','en','levis'), ('manufacturer','1','slug','es','levis'), ('manufacturer','1','slug','fr','levis'), ('page','1','content','es','Hola amigos.\n\nNuestra más humilde bienvenida a nuestro blog.\n\nEn este blog encontrarás las últimas novedades, así como todas las noticias relacionadas con nuestra tienda.\n\nNo dudéis en dejar vuestros comentarios e impresiones, así como sugerencias y opiniones. Éstos nos serán de extrema ayuda para mejorar nuestro producto y poder seguir trabajando para darle un mejor servicio cada dia.\n\nSalutaciones y esperamos verle de nuevo.'), ('page','1','path','es','hola-mundo'), ('page','1','title','es','Hola mundo'), ('page','2','content','ca','Sobre nosaltres'), ('page','2','content','en','About us'), ('page','2','content','es','Sobre nosotros'), ('page','2','content','fr','A propos'), ('page','2','metaDescription','ca','Sobre nosaltres'), ('page','2','metaDescription','en','About us'), ('page','2','metaDescription','es','Sobre nosotros'), ('page','2','metaDescription','fr','A propos'), ('page','2','metaKeywords','ca','sobre,nosaltres'), ('page','2','metaKeywords','en','about,us'), ('page','2','metaKeywords','es','sobre,nosotros'), ('page','2','metaKeywords','fr','propos'), ('page','2','metaTitle','ca','Sobre nosaltres'), ('page','2','metaTitle','en','About us'), ('page','2','metaTitle','es','Sobre nosotros'), ('page','2','metaTitle','fr','A propos'), ('page','2','path','ca','sobre-nosaltres'), ('page','2','path','en','about-us'), ('page','2','path','es','sobre-nosotros'), ('page','2','path','fr','a-propos'), ('page','2','title','ca','Sobre nosaltres'), ('page','2','title','en','About us'), ('page','2','title','es','Sobre nosotros'), ('page','2','title','fr','A propos'), ('page','3','content','ca','Termes legals'), ('page','3','content','en','Terms and conditions'), ('page','3','content','es','Términos y condiciones'), ('page','3','content','fr','Mentions legales'), ('page','3','metaDescription','ca','Termes legals'), ('page','3','metaDescription','en','Terms and conditions'), ('page','3','metaDescription','es','Términos y condiciones'), ('page','3','metaDescription','fr','Mentions legales'), ('page','3','metaKeywords','ca','termes,legals'), ('page','3','metaKeywords','en','terms,conditions'), ('page','3','metaKeywords','es','términos,condiciones'), ('page','3','metaKeywords','fr','mentions,legales'), ('page','3','metaTitle','ca','Termes legals'), ('page','3','metaTitle','en','Terms and conditions'), ('page','3','metaTitle','es','Términos y condiciones'), ('page','3','metaTitle','fr','Mentions legales'), ('page','3','path','ca','termes-legals'), ('page','3','path','en','terms-and-conditions'), ('page','3','path','es','terminos-y-condiciones'), ('page','3','path','fr','mentions-legales'), ('page','3','title','ca','Termes legals'), ('page','3','title','en','Terms and conditions'), ('page','3','title','es','Términos y condiciones'), ('page','3','title','fr','Mentions legales'), ('page','4','content','es','Pedido confirmado para {{ order.customer.fullname }}.'), ('page','4','title','es','Confirmación de pedido'), ('page','5','content','es','Hola {{ customer.fullname }}. Su pedido acaba de ser mandado.'), ('page','5','title','es','Aviso de envío de pedido para el cliente'), ('page','6','content','en','Welcome {{ customer.fullname }},

\n\nYour account has been successful created.
\nWe hope you like our products and the buying process be flawless.

\n\nSincerely,'), ('page','6','content','es','Bienvenido {{ customer.fullname }},

\n\nTu cuenta se ha creado correctamente.
\nDeseamos que en nuestra tienda encuentres productos de tu agrado y que el proceso de compra te resulte lo más cómodo posible.

\n\nAtentamente,'), ('page','6','title','en','Order confirmation'), ('page','6','title','es','Confirmación de registro'), ('page','7','content','es','Hola {{ customer.fullname }}. Para recuperar tu contraseña entra en este enlace.'), ('page','7','title','es','Recordatorio de contraseña'), ('page','8','content','es','Hola {{ customer.fullname }}. Tu contraseña ha sido recuperada.'), ('page','8','title','es','Contraseña recuperada'), ('product','1','description','ca','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','1','description','en','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','1','description','es','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','1','description','fr','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','1','metaDescription','ca','Ibiza Lips Català'), ('product','1','metaDescription','en','Ibiza Lips English'), ('product','1','metaDescription','es','Ibiza Lips Spanish'), ('product','1','metaDescription','fr','Ibiza Lips Français'), ('product','1','metaKeywords','ca','Ibiza Lips Català'), ('product','1','metaKeywords','en','Ibiza Lips English'), ('product','1','metaKeywords','es','Ibiza Lips Spanish'), ('product','1','metaKeywords','fr','Ibiza Lips Français'), ('product','1','metaTitle','ca','Ibiza Lips Català'), ('product','1','metaTitle','en','Ibiza Lips English'), ('product','1','metaTitle','es','Ibiza Lips Spanish'), ('product','1','metaTitle','fr','Ibiza Lips Français'), ('product','1','name','ca','Ibiza Lips Català'), ('product','1','name','en','Ibiza Lips English'), ('product','1','name','es','Ibiza Lips Spanish'), ('product','1','name','fr','Ibiza Lips Français'), ('product','1','slug','ca','ibiza-lips-ca'), ('product','1','slug','en','ibiza-lips-en'), ('product','1','slug','es','ibiza-lips-es'), ('product','1','slug','fr','ibiza-lips-fr'), ('product','10','description','ca','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','10','description','en','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','10','description','es','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','10','description','fr','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','10','metaDescription','ca','I was there II Català'), ('product','10','metaDescription','en','I was there II English'), ('product','10','metaDescription','es','I was there II Spanish'), ('product','10','metaDescription','fr','I was there II Français'), ('product','10','metaKeywords','ca','I was there II Català'), ('product','10','metaKeywords','en','I was there II English'), ('product','10','metaKeywords','es','I was there II Spanish'), ('product','10','metaKeywords','fr','I was there II Français'), ('product','10','metaTitle','ca','I was there II Català'), ('product','10','metaTitle','en','I was there II English'), ('product','10','metaTitle','es','I was there II Spanish'), ('product','10','metaTitle','fr','I was there II Français'), ('product','10','name','ca','I was there II Català'), ('product','10','name','en','I was there II English'), ('product','10','name','es','I was there II Spanish'), ('product','10','name','fr','I was there II Français'), ('product','10','slug','ca','i-was-there-ii-ca'), ('product','10','slug','en','i-was-there-ii-en'), ('product','10','slug','es','i-was-there-ii-es'), ('product','10','slug','fr','i-was-there-ii-fr'), ('product','11','description','ca','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','11','description','en','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','11','description','es','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','11','description','fr','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','11','metaDescription','ca','Amnesia Català'), ('product','11','metaDescription','en','Amnesia English'), ('product','11','metaDescription','es','Amnesia Spanish'), ('product','11','metaDescription','fr','Amnesia Français'), ('product','11','metaKeywords','ca','Amnesia Català'), ('product','11','metaKeywords','en','Amnesia English'), ('product','11','metaKeywords','es','Amnesia Spanish'), ('product','11','metaKeywords','fr','Amnesia Français'), ('product','11','metaTitle','ca','Amnesia Català'), ('product','11','metaTitle','en','Amnesia English'), ('product','11','metaTitle','es','Amnesia Spanish'), ('product','11','metaTitle','fr','Amnesia Français'), ('product','11','name','ca','Amnesia Català'), ('product','11','name','en','Amnesia English'), ('product','11','name','es','Amnesia Spanish'), ('product','11','name','fr','Amnesia Français'), ('product','11','slug','ca','amnesia-ca'), ('product','11','slug','en','amnesia-en'), ('product','11','slug','es','amnesia-es'), ('product','11','slug','fr','amnesia-fr'), ('product','12','description','ca','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','12','description','en','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','12','description','es','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','12','description','fr','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','12','metaDescription','ca','Amnesia 100% Català'), ('product','12','metaDescription','en','Amnesia 100% English'), ('product','12','metaDescription','es','Amnesia 100% Spanish'), ('product','12','metaDescription','fr','Amnesia 100% Français'), ('product','12','metaKeywords','ca','Amnesia 100% Català'), ('product','12','metaKeywords','en','Amnesia 100% English'), ('product','12','metaKeywords','es','Amnesia 100% Spanish'), ('product','12','metaKeywords','fr','Amnesia 100% Français'), ('product','12','metaTitle','ca','Amnesia 100% Català'), ('product','12','metaTitle','en','Amnesia 100% English'), ('product','12','metaTitle','es','Amnesia 100% Spanish'), ('product','12','metaTitle','fr','Amnesia 100% Français'), ('product','12','name','ca','Amnesia 100% Català'), ('product','12','name','en','Amnesia 100% English'), ('product','12','name','es','Amnesia 100% Spanish'), ('product','12','name','fr','Amnesia 100% Français'), ('product','12','slug','ca','amnesia-100-percent-ca'), ('product','12','slug','en','amnesia-100-percent-en'), ('product','12','slug','es','amnesia-100-percent-es'), ('product','12','slug','fr','amnesia-100-percent-fr'), ('product','13','description','ca','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','13','description','en','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','13','description','es','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','13','description','fr','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','13','metaDescription','ca','A life style II Català'), ('product','13','metaDescription','en','A life style II English'), ('product','13','metaDescription','es','A life style II Spanish'), ('product','13','metaDescription','fr','A life style II Français'), ('product','13','metaKeywords','ca','A life style II Català'), ('product','13','metaKeywords','en','A life style II English'), ('product','13','metaKeywords','es','A life style II Spanish'), ('product','13','metaKeywords','fr','A life style II Français'), ('product','13','metaTitle','ca','A life style II Català'), ('product','13','metaTitle','en','A life style II English'), ('product','13','metaTitle','es','A life style II Spanish'), ('product','13','metaTitle','fr','A life style II Français'), ('product','13','name','ca','A life style II Català'), ('product','13','name','en','A life style II English'), ('product','13','name','es','A life style II Spanish'), ('product','13','name','fr','A life style II Français'), ('product','13','slug','ca','a-life-style-ii-ca'), ('product','13','slug','en','a-life-style-ii-en'), ('product','13','slug','es','a-life-style-ii-es'), ('product','13','slug','fr','a-life-style-ii-fr'), ('product','14','description','ca','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','14','description','en','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','14','description','es','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','14','description','fr','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','14','metaDescription','ca','All night long Català'), ('product','14','metaDescription','en','All night long English'), ('product','14','metaDescription','es','All night long Spanish'), ('product','14','metaDescription','fr','All night long Français'), ('product','14','metaKeywords','ca','All night long Català'), ('product','14','metaKeywords','en','All night long English'), ('product','14','metaKeywords','es','All night long Spanish'), ('product','14','metaKeywords','fr','All night long Français'), ('product','14','metaTitle','ca','All night long Català'), ('product','14','metaTitle','en','All night long English'), ('product','14','metaTitle','es','All night long Spanish'), ('product','14','metaTitle','fr','All night long Français'), ('product','14','name','ca','All night long Català'), ('product','14','name','en','All night long English'), ('product','14','name','es','All night long Spanish'), ('product','14','name','fr','All night long Français'), ('product','14','slug','ca','all-night-long-ca'), ('product','14','slug','en','all-night-long-en'), ('product','14','slug','es','all-night-long-es'), ('product','14','slug','fr','all-night-long-fr'), ('product','15','description','ca','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','15','description','en','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','15','description','es','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','15','description','fr','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','15','metaDescription','ca','A.M. Nesia Ibiza II Català'), ('product','15','metaDescription','en','A.M. Nesia Ibiza II English'), ('product','15','metaDescription','es','A.M. Nesia Ibiza II Spanish'), ('product','15','metaDescription','fr','A.M. Nesia Ibiza II Français'), ('product','15','metaKeywords','ca','A.M. Nesia Ibiza II Català'), ('product','15','metaKeywords','en','A.M. Nesia Ibiza II English'), ('product','15','metaKeywords','es','A.M. Nesia Ibiza II Spanish'), ('product','15','metaKeywords','fr','A.M. Nesia Ibiza II Français'), ('product','15','metaTitle','ca','A.M. Nesia Ibiza II Català'), ('product','15','metaTitle','en','A.M. Nesia Ibiza II English'), ('product','15','metaTitle','es','A.M. Nesia Ibiza II Spanish'), ('product','15','metaTitle','fr','A.M. Nesia Ibiza II Français'), ('product','15','name','ca','A.M. Nesia Ibiza II Català'), ('product','15','name','en','A.M. Nesia Ibiza II English'), ('product','15','name','es','A.M. Nesia Ibiza II Spanish'), ('product','15','name','fr','A.M. Nesia Ibiza II Français'), ('product','15','slug','ca','a-m-nesia-ibiza-ii-ca'), ('product','15','slug','en','a-m-nesia-ibiza-ii-en'), ('product','15','slug','es','a-m-nesia-ibiza-ii-es'), ('product','15','slug','fr','a-m-nesia-ibiza-ii-fr'), ('product','16','description','ca','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','16','description','en','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','16','description','es','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','16','description','fr','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','16','metaDescription','ca','High Pyramid Català'), ('product','16','metaDescription','en','High Pyramid English'), ('product','16','metaDescription','es','High Pyramid Spanish'), ('product','16','metaDescription','fr','High Pyramid Français'), ('product','16','metaKeywords','ca','High Pyramid Català'), ('product','16','metaKeywords','en','High Pyramid English'), ('product','16','metaKeywords','es','High Pyramid Spanish'), ('product','16','metaKeywords','fr','High Pyramid Français'), ('product','16','metaTitle','ca','High Pyramid Català'), ('product','16','metaTitle','en','High Pyramid English'), ('product','16','metaTitle','es','High Pyramid Spanish'), ('product','16','metaTitle','fr','High Pyramid Français'), ('product','16','name','ca','High Pyramid Català'), ('product','16','name','en','High Pyramid English'), ('product','16','name','es','High Pyramid Spanish'), ('product','16','name','fr','High Pyramid Français'), ('product','16','slug','ca','high-pyramid-ca'), ('product','16','slug','en','high-pyramid-en'), ('product','16','slug','es','high-pyramid-es'), ('product','16','slug','fr','high-pyramid-fr'), ('product','17','description','ca','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','17','description','en','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','17','description','es','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','17','description','fr','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','17','metaDescription','ca','Star Amnesia Català'), ('product','17','metaDescription','en','Star Amnesia English'), ('product','17','metaDescription','es','Star Amnesia Spanish'), ('product','17','metaDescription','fr','Star Amnesia Français'), ('product','17','metaKeywords','ca','Star Amnesia Català'), ('product','17','metaKeywords','en','Star Amnesia English'), ('product','17','metaKeywords','es','Star Amnesia Spanish'), ('product','17','metaKeywords','fr','Star Amnesia Français'), ('product','17','metaTitle','ca','Star Amnesia Català'), ('product','17','metaTitle','en','Star Amnesia English'), ('product','17','metaTitle','es','Star Amnesia Spanish'), ('product','17','metaTitle','fr','Star Amnesia Français'), ('product','17','name','ca','Star Amnesia Català'), ('product','17','name','en','Star Amnesia English'), ('product','17','name','es','Star Amnesia Spanish'), ('product','17','name','fr','Star Amnesia Français'), ('product','17','slug','ca','star-amnesia-ca'), ('product','17','slug','en','star-amnesia-en'), ('product','17','slug','es','star-amnesia-es'), ('product','17','slug','fr','star-amnesia-fr'), ('product','18','description','ca','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','18','description','en','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','18','description','es','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','18','description','fr','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','18','metaDescription','ca','Ibiza 4 Ever Català'), ('product','18','metaDescription','en','Ibiza 4 Ever English'), ('product','18','metaDescription','es','Ibiza 4 Ever Spanish'), ('product','18','metaDescription','fr','Ibiza 4 Ever Français'), ('product','18','metaKeywords','ca','Ibiza 4 Ever Català'), ('product','18','metaKeywords','en','Ibiza 4 Ever English'), ('product','18','metaKeywords','es','Ibiza 4 Ever Spanish'), ('product','18','metaKeywords','fr','Ibiza 4 Ever Français'), ('product','18','metaTitle','ca','Ibiza 4 Ever Català'), ('product','18','metaTitle','en','Ibiza 4 Ever English'), ('product','18','metaTitle','es','Ibiza 4 Ever Spanish'), ('product','18','metaTitle','fr','Ibiza 4 Ever Français'), ('product','18','name','ca','Ibiza 4 Ever Català'), ('product','18','name','en','Ibiza 4 Ever English'), ('product','18','name','es','Ibiza 4 Ever Spanish'), ('product','18','name','fr','Ibiza 4 Ever Français'), ('product','18','slug','ca','ibiza-4-ever-ca'), ('product','18','slug','en','ibiza-4-ever-en'), ('product','18','slug','es','ibiza-4-ever-es'), ('product','18','slug','fr','ibiza-4-ever-fr'), ('product','2','description','ca','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','2','description','en','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','2','description','es','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','2','description','fr','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','2','metaDescription','ca','Ibiza Banana Català'), ('product','2','metaDescription','en','Ibiza Banana English'), ('product','2','metaDescription','es','Ibiza Banana Spanish'), ('product','2','metaDescription','fr','Ibiza Banana Français'), ('product','2','metaKeywords','ca','Ibiza Banana Català'), ('product','2','metaKeywords','en','Ibiza Banana English'), ('product','2','metaKeywords','es','Ibiza Banana Spanish'), ('product','2','metaKeywords','fr','Ibiza Banana Français'), ('product','2','metaTitle','ca','Ibiza Banana Català'), ('product','2','metaTitle','en','Ibiza Banana English'), ('product','2','metaTitle','es','Ibiza Banana Spanish'), ('product','2','metaTitle','fr','Ibiza Banana Français'), ('product','2','name','ca','Ibiza Banana Català'), ('product','2','name','en','Ibiza Banana English'), ('product','2','name','es','Ibiza Banana Spanish'), ('product','2','name','fr','Ibiza Banana Français'), ('product','2','slug','ca','ibiza-banana-ca'), ('product','2','slug','en','ibiza-banana-en'), ('product','2','slug','es','ibiza-banana-es'), ('product','2','slug','fr','ibiza-banana-fr'), ('product','3','description','ca','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','3','description','en','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','3','description','es','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','3','description','fr','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','3','metaDescription','ca','I Was There Català'), ('product','3','metaDescription','en','I Was There English'), ('product','3','metaDescription','es','I Was There Spanish'), ('product','3','metaDescription','fr','I Was There Français'), ('product','3','metaKeywords','ca','I Was There Català'), ('product','3','metaKeywords','en','I Was There English'), ('product','3','metaKeywords','es','I Was There Spanish'), ('product','3','metaKeywords','fr','I Was There Français'), ('product','3','metaTitle','ca','I Was There Català'), ('product','3','metaTitle','en','I Was There English'), ('product','3','metaTitle','es','I Was There Spanish'), ('product','3','metaTitle','fr','I Was There Français'), ('product','3','name','ca','I Was There Català'), ('product','3','name','en','I Was There English'), ('product','3','name','es','I Was There Spanish'), ('product','3','name','fr','I Was There Français'), ('product','3','slug','ca','i-was-there-ca'), ('product','3','slug','en','i-was-there-en'), ('product','3','slug','es','i-was-there-es'), ('product','3','slug','fr','i-was-there-fr'), ('product','4','description','ca','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','4','description','en','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','4','description','es','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','4','description','fr','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','4','metaDescription','ca','A Life Style Català'), ('product','4','metaDescription','en','A Life Style English'), ('product','4','metaDescription','es','A Life Style Spanish'), ('product','4','metaDescription','fr','A Life Style Français'), ('product','4','metaKeywords','ca','A Life Style Català'), ('product','4','metaKeywords','en','A Life Style English'), ('product','4','metaKeywords','es','A Life Style Spanish'), ('product','4','metaKeywords','fr','A Life Style Français'), ('product','4','metaTitle','ca','A Life Style Català'), ('product','4','metaTitle','en','A Life Style English'), ('product','4','metaTitle','es','A Life Style Spanish'), ('product','4','metaTitle','fr','A Life Style Français'), ('product','4','name','ca','A Life Style Català'), ('product','4','name','en','A Life Style English'), ('product','4','name','es','A Life Style Spanish'), ('product','4','name','fr','A Life Style Français'), ('product','4','slug','ca','a-life-style-ca'), ('product','4','slug','en','a-life-style-en'), ('product','4','slug','es','a-life-style-es'), ('product','4','slug','fr','a-life-style-fr'), ('product','5','description','ca','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','5','description','en','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','5','description','es','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','5','description','fr','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','5','metaDescription','ca','A.M. Nesia Ibiza Català'), ('product','5','metaDescription','en','A.M. Nesia Ibiza English'), ('product','5','metaDescription','es','A.M. Nesia Ibiza Spanish'), ('product','5','metaDescription','fr','A.M. Nesia Ibiza Français'), ('product','5','metaKeywords','ca','A.M. Nesia Ibiza Català'), ('product','5','metaKeywords','en','A.M. Nesia Ibiza English'), ('product','5','metaKeywords','es','A.M. Nesia Ibiza Spanish'), ('product','5','metaKeywords','fr','A.M. Nesia Ibiza Français'), ('product','5','metaTitle','ca','A.M. Nesia Ibiza Català'), ('product','5','metaTitle','en','A.M. Nesia Ibiza English'), ('product','5','metaTitle','es','A.M. Nesia Ibiza Spanish'), ('product','5','metaTitle','fr','A.M. Nesia Ibiza Français'), ('product','5','name','ca','A.M. Nesia Ibiza Català'), ('product','5','name','en','A.M. Nesia Ibiza English'), ('product','5','name','es','A.M. Nesia Ibiza Spanish'), ('product','5','name','fr','A.M. Nesia Ibiza Français'), ('product','5','slug','ca','a-m-nesia-ibiza-ca'), ('product','5','slug','en','a-m-nesia-ibiza-en'), ('product','5','slug','es','a-m-nesia-ibiza-es'), ('product','5','slug','fr','a-m-nesia-ibiza-fr'), ('product','6','description','ca','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','6','description','en','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','6','description','es','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','6','description','fr','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','6','metaDescription','ca','Amnesia Poem Català'), ('product','6','metaDescription','en','Amnesia Poem English'), ('product','6','metaDescription','es','Amnesia Poem Spanish'), ('product','6','metaDescription','fr','Amnesia Poem Français'), ('product','6','metaKeywords','ca','Amnesia Poem Català'), ('product','6','metaKeywords','en','Amnesia Poem English'), ('product','6','metaKeywords','es','Amnesia Poem Spanish'), ('product','6','metaKeywords','fr','Amnesia Poem Français'), ('product','6','metaTitle','ca','Amnesia Poem Català'), ('product','6','metaTitle','en','Amnesia Poem English'), ('product','6','metaTitle','es','Amnesia Poem Spanish'), ('product','6','metaTitle','fr','Amnesia Poem Français'), ('product','6','name','ca','Amnesia Poem Català'), ('product','6','name','en','Amnesia Poem English'), ('product','6','name','es','Amnesia Poem Spanish'), ('product','6','name','fr','Amnesia Poem Français'), ('product','6','slug','ca','amnesia-poem-ca'), ('product','6','slug','en','amnesia-poem-en'), ('product','6','slug','es','amnesia-poem-es'), ('product','6','slug','fr','amnesia-poem-fr'), ('product','7','description','ca','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','7','description','en','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','7','description','es','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','7','description','fr','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','7','metaDescription','ca','Pyramid Català'), ('product','7','metaDescription','en','Pyramid English'), ('product','7','metaDescription','es','Pyramid Spanish'), ('product','7','metaDescription','fr','Pyramid Français'), ('product','7','metaKeywords','ca','Pyramid Català'), ('product','7','metaKeywords','en','Pyramid English'), ('product','7','metaKeywords','es','Pyramid Spanish'), ('product','7','metaKeywords','fr','Pyramid Français'), ('product','7','metaTitle','ca','Pyramid Català'), ('product','7','metaTitle','en','Pyramid English'), ('product','7','metaTitle','es','Pyramid Spanish'), ('product','7','metaTitle','fr','Pyramid Français'), ('product','7','name','ca','Pyramid Català'), ('product','7','name','en','Pyramid English'), ('product','7','name','es','Pyramid Spanish'), ('product','7','name','fr','Pyramid Français'), ('product','7','slug','ca','pyramid-ca'), ('product','7','slug','en','pyramid-en'), ('product','7','slug','es','pyramid-es'), ('product','7','slug','fr','pyramid-fr'), ('product','8','description','ca','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','8','description','en','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','8','description','es','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','8','description','fr','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','8','metaDescription','ca','Amnesia Pink Català'), ('product','8','metaDescription','en','Amnesia Pink English'), ('product','8','metaDescription','es','Amnesia Pink Spanish'), ('product','8','metaDescription','fr','Amnesia Pink Français'), ('product','8','metaKeywords','ca','Amnesia Pink Català'), ('product','8','metaKeywords','en','Amnesia Pink English'), ('product','8','metaKeywords','es','Amnesia Pink Spanish'), ('product','8','metaKeywords','fr','Amnesia Pink Français'), ('product','8','metaTitle','ca','Amnesia Pink Català'), ('product','8','metaTitle','en','Amnesia Pink English'), ('product','8','metaTitle','es','Amnesia Pink Spanish'), ('product','8','metaTitle','fr','Amnesia Pink Français'), ('product','8','name','ca','Amnesia Pink Català'), ('product','8','name','en','Amnesia Pink English'), ('product','8','name','es','Amnesia Pink Spanish'), ('product','8','name','fr','Amnesia Pink Français'), ('product','8','slug','ca','amnesia-pink-ca'), ('product','8','slug','en','amnesia-pink-en'), ('product','8','slug','es','amnesia-pink-es'), ('product','8','slug','fr','amnesia-pink-fr'), ('product','9','description','ca','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','9','description','en','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','9','description','es','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','9','description','fr','Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.'), ('product','9','metaDescription','ca','Pinky Fragments Català'), ('product','9','metaDescription','en','Pinky Fragments English'), ('product','9','metaDescription','es','Pinky Fragments Spanish'), ('product','9','metaDescription','fr','Pinky Fragments Français'), ('product','9','metaKeywords','ca','Pinky Fragments Català'), ('product','9','metaKeywords','en','Pinky Fragments English'), ('product','9','metaKeywords','es','Pinky Fragments Spanish'), ('product','9','metaKeywords','fr','Pinky Fragments Français'), ('product','9','metaTitle','ca','Pinky Fragments Català'), ('product','9','metaTitle','en','Pinky Fragments English'), ('product','9','metaTitle','es','Pinky Fragments Spanish'), ('product','9','metaTitle','fr','Pinky Fragments Français'), ('product','9','name','ca','Pinky Fragments Català'), ('product','9','name','en','Pinky Fragments English'), ('product','9','name','es','Pinky Fragments Spanish'), ('product','9','name','fr','Pinky Fragments Français'), ('product','9','slug','ca','pinky-fragments-ca'), ('product','9','slug','en','pinky-fragments-en'), ('product','9','slug','es','pinky-fragments-es'), ('product','9','slug','fr','pinky-fragments-fr')"); - // $this->addSql("INSERT INTO `image` (`id`, `name`, `content_type`, `extension`, `size`, `width`, `height`, `created_at`, `updated_at`, `enabled`) VALUES (1,'product-1.jpg','image/jpeg','jpg',87315,640,500,NOW(),NOW(),1), (2,'product-2.jpg','image/jpeg','jpg',96768,640,500,NOW(),NOW(),1), (3,'product-3.jpg','image/jpeg','jpg',88868,640,500,NOW(),NOW(),1), (4,'product-4.jpg','image/jpeg','jpg',88341,640,500,NOW(),NOW(),1), (5,'product-5.jpg','image/jpeg','jpg',78984,640,500,NOW(),NOW(),1), (6,'product-6.jpg','image/jpeg','jpg',95480,640,500,NOW(),NOW(),1), (7,'product-7.jpg','image/jpeg','jpg',91752,640,500,NOW(),NOW(),1), (8,'product-8.jpg','image/jpeg','jpg',70130,640,500,NOW(),NOW(),1), (9,'product-9.jpg','image/jpeg','jpg',95125,640,500,NOW(),NOW(),1), (10,'product-10.jpg','image/jpeg','jpg',67072,640,500,NOW(),NOW(),1), (11,'product-11.jpg','image/jpeg','jpg',70903,640,500,NOW(),NOW(),1), (12,'product-12.jpg','image/jpeg','jpg',61746,640,500,NOW(),NOW(),1), (13,'product-13.jpg','image/jpeg','jpg',85726,640,500,NOW(),NOW(),1), (14,'product-14.jpg','image/jpeg','jpg',68803,640,500,NOW(),NOW(),1), (15,'product-15.jpg','image/jpeg','jpg',67269,640,500,NOW(),NOW(),1), (16,'product-16.jpg','image/jpeg','jpg',82135,640,500,NOW(),NOW(),1), (17,'product-17.jpg','image/jpeg','jpg',86434,640,500,NOW(),NOW(),1), (18,'product-18.jpg','image/jpeg','jpg',74483,640,500,NOW(),NOW(),1)"); - $this->addSql("INSERT INTO `language` (`iso`, `name`, `enabled`) VALUES ('af','Afrikaans',0), ('ar','Arabic',0), ('az','Azerbaijani',0), ('be','Belarusian',0), ('bg','Bulgarian',0), ('bn','Bengali',0), ('ca','Catalan',1), ('cs','Czech',0), ('cy','Welsh',0), ('da','Danish',0), ('de','German',1), ('el','Greek',0), ('en','English',1), ('eo','Esperanto',0), ('es','Spanish',1), ('et','Estonian',0), ('eu','Basque',0), ('fa','Persian',0), ('fi','Finnish',1), ('fr','French',0), ('ga','Irish',0), ('gl','Galician',0), ('gu','Gujarati',0), ('hi','Hindi',0), ('hr','Croatian',0), ('ht','Haitian Creole',0), ('hu','Hungarian',0), ('id','Indonesian',0), ('is','Icelandic',0), ('it','Italian',0), ('iw','Hebrew',0), ('ja','Japanese',0), ('ka','Georgian',0), ('kn','Kannada',0), ('ko','Korean',0), ('la','Latin',0), ('lt','Lithuanian',0), ('lv','Latvian',0), ('mk','Macedonian',0), ('ms','Malay',0), ('mt','Maltese',0), ('nl','Dutch',0), ('no','Norwegian',0), ('pl','Polish',0), ('pt','Portuguese',0), ('ro','Romanian',0), ('ru','Russian',0), ('sk','Slovak',0), ('sl','Slovenian',0), ('sq','Albanian',0), ('sr','Serbian',0), ('sv','Swedish',0), ('sw','Swahili',0), ('ta','Tamil',0), ('te','Telugu',0), ('th','Thai',0), ('tl','Filipino',0), ('tr','Turkish',0), ('uk','Ukrainian',0), ('ur','Urdu',0), ('vi','Vietnamese',0), ('yi','Yiddish',0), ('zh-CN','Chinese Simplified',0), ('zh-TW','Chinese Traditional',0)"); - $this->addSql("INSERT INTO `manufacturer` (`id`, `principal_image_id`, `name`, `slug`, `description`, `images_sort`, `meta_title`, `meta_description`, `meta_keywords`, `created_at`, `updated_at`, `enabled`) VALUES (1,NULL,'levis','levis','Levis manufacturer','',NULL,NULL,NULL,NOW(),NOW(),1)"); - $this->addSql("INSERT INTO `menu` (`id`, `code`, `description`, `enabled`) VALUES (1,'admin','Admin menu',1)"); - $this->addSql("INSERT INTO `page` (`id`, `name`, `title`, `content`, `type`, `path`, `publication_date`, `persistent`, `meta_title`, `meta_description`, `meta_keywords`, `created_at`, `updated_at`, `enabled`) VALUES (1,NULL,'Hola mundo','Hola amigos.\n\nNuestra más humilde bienvenida a nuestro blog.\n\nEn este blog encontrarás las últimas novedades, así como todas las noticias relacionadas con nuestra tienda.\n\nNo dudéis en dejar vuestros comentarios e impresiones, así como sugerencias y opiniones. Éstos nos serán de extrema ayuda para mejorar nuestro producto y poder seguir trabajando para darle un mejor servicio cada dia.\n\nSalutaciones y esperamos verle de nuevo.',2,'hola-mundo',NOW(),0,NULL,NULL,NULL,NOW(),NOW(),1), (2,NULL,'Sobre nosotros','Sobre nosotros',1,'sobre-nosotros',NOW(),0,'Sobre nosotros','Sobre nosotros','sobre,nosotros',NOW(),NOW(),1), (3,NULL,'Términos y condiciones','Términos y condiciones',1,'terminos-y-condiciones',NOW(),0,'Términos y condiciones','Términos y condiciones','términos,condiciones',NOW(),NOW(),1), (4,'order_confirmation','Confirmación de pedido','Pedido confirmado para {{ customer.fullname }}.',3,NULL,NOW(),1,NULL,NULL,NULL,NOW(),NOW(),1), (5,'order_shipped','Aviso de envío de pedido para el cliente','Hola {{ customer.fullname }}. Su pedido acaba de ser mandado.',3,NULL,NOW(),1,NULL,NULL,NULL,NOW(),NOW(),1), (6,'customer_registration','Confirmación de registro','Bienvenido {{ customer.fullname }},

\n\nTu cuenta se ha creado correctamente.
\nDeseamos que en nuestra tienda encuentres productos de tu agrado y que el proceso de compra te resulte lo más cómodo posible.

\n\nAtentamente,',3,NULL,NOW(),1,NULL,NULL,NULL,NOW(),NOW(),1), (7,'password_remember','Recordatorio de contraseña','Hola {{ customer.fullname }}. Para recuperar tu contraseña entra en este enlace.',3,NULL,NOW(),1,NULL,NULL,NULL,NOW(),NOW(),1), (8,'password_recover','Contraseña recuperada','Hola {{ customer.fullname }}. Tu contraseña ha sido recuperada.',3,NULL,NOW(),1,NULL,NULL,NULL,NOW(),NOW(),1)"); - // $this->addSql("INSERT INTO `plugin` (`namespace`, `hash`, `type`, `category`, `enabled`, `plugin_configuration`) VALUES ('Elcodi\\Plugin\\CustomShippingBundle\\ElcodiCustomShippingBundle','9c7614228c491b0908c02805ca1cc32d43ef4e0b','plugin','shipping',1,'{\"category\":\"shipping\",\"name\":\"elcodi_plugin.custom_shipping.name\",\"description\":\"elcodi_plugin.custom_shipping.description\",\"fa_icon\":\"truck\",\"visible\":false,\"enabled_by_default\":true,\"fields\":[]}'), ('Elcodi\\Plugin\\DisqusBundle\\ElcodiDisqusBundle','9d9735ca6b75c3708315c12c0cd3fa5fad42a4f9','plugin','app',0,'{\"category\":\"app\",\"name\":\"elcodi_plugin.disqus.name\",\"description\":\"elcodi_plugin.disqus.description\",\"fa_icon\":\"comment-o\",\"fields\":{\"disqus_identifier\":{\"type\":\"text\",\"label\":\"elcodi_plugin.disqus.field.disqus_identifier.label\",\"attr\":{\"placeholder\":\"elcodi_plugin.disqus.field.disqus_identifier.placeholder\"},\"required\":false,\"data\":null,\"options\":[]},\"disqus_enabled_product\":{\"type\":\"checkbox\",\"label\":\"elcodi_plugin.disqus.field.disqus_enabled_product.label\",\"required\":false,\"data\":null,\"options\":[],\"attr\":[]},\"disqus_enabled_blog_post\":{\"type\":\"checkbox\",\"label\":\"elcodi_plugin.disqus.field.disqus_enabled_blog_post.label\",\"required\":false,\"data\":null,\"options\":[],\"attr\":[]}},\"visible\":true,\"enabled_by_default\":false}'), ('Elcodi\\Plugin\\FacebookBundle\\ElcodiFacebookBundle','80cff34b60a472391549719c3b8fe00482e3a80a','plugin','social',0,'{\"category\":\"social\",\"name\":\"elcodi_plugin.facebook.name\",\"description\":\"elcodi_plugin.facebook.description\",\"fa_icon\":\"facebook\",\"fields\":{\"facebook_account\":{\"type\":\"text\",\"label\":\"elcodi_plugin.facebook.field.facebook_account.label\",\"attr\":{\"placeholder\":\"elcodi_plugin.facebook.field.facebook_account.placeholder\"},\"required\":false,\"data\":null,\"options\":[]}},\"visible\":true,\"enabled_by_default\":false}'), ('Elcodi\\Plugin\\FreePaymentBundle\\ElcodiFreePaymentBundle','5e6072352527aca617da73bf2cb32082a31f14f5','plugin','payment',1,'{\"category\":\"payment\",\"name\":\"elcodi_plugin.free_payment.name\",\"description\":\"elcodi_plugin.free_payment.description\",\"enabled_by_default\":true,\"visible\":true,\"fa_icon\":null,\"fields\":[]}'), ('Elcodi\\Plugin\\GoogleAnalyticsBundle\\ElcodiGoogleAnalyticsBundle','9ac9ee19b0d95f4dbbb6fccbae43920bcd992e40','plugin','app',0,'{\"category\":\"app\",\"name\":\"elcodi_plugin.google_analytics.name\",\"description\":\"elcodi_plugin.google_analytics.description\",\"fa_icon\":\"google\",\"fields\":{\"analytics_tracker_id\":{\"type\":\"text\",\"label\":\"elcodi_plugin.google_analytics.field.analytics_tracker_id.label\",\"required\":true,\"attr\":{\"placeholder\":\"elcodi_plugin.google_analytics.field.analytics_tracker_id.placeholder\"},\"data\":null,\"options\":[]}},\"visible\":true,\"enabled_by_default\":false}'), ('Elcodi\\Plugin\\PaypalWebCheckoutBundle\\ElcodiPaypalWebCheckoutBundle','82db41612c6a3db4aa040c33ebedffbd57b92511','plugin','payment',0,'{\"category\":\"payment\",\"name\":\"elcodi_plugin.paypal_web_checkout.name\",\"description\":\"elcodi_plugin.paypal_web_checkout.description\",\"fa_icon\":\"paypal\",\"fields\":{\"business\":{\"type\":\"text\",\"required\":true,\"label\":\"elcodi_plugin.paypal_web_checkout.field.business.label\",\"attr\":{\"placeholder\":\"elcodi_plugin.paypal_web_checkout.field.business.placeholder\"},\"data\":null,\"options\":[]}},\"visible\":true,\"enabled_by_default\":false}'), ('Elcodi\\Plugin\\PinterestBundle\\ElcodiPinterestBundle','6cfefe23b31d185dca147aaf1e10dbb27f2677a4','plugin','social',0,'{\"category\":\"social\",\"name\":\"elcodi_plugin.pinterest.name\",\"description\":\"elcodi_plugin.pinterest.description\",\"fa_icon\":\"pinterest\",\"fields\":{\"asynchronous\":{\"type\":\"checkbox\",\"label\":\"elcodi_plugin.pinterest.field.asynchronous.label\",\"required\":false,\"data\":null,\"options\":[],\"attr\":[]}},\"visible\":true,\"enabled_by_default\":false}'), ('Elcodi\\Plugin\\ProductCsvBundle\\ElcodiProductCsvBundle','deb2dfe68e01541c28e22529f75bc6223fddd605','plugin','app',0,'{\"category\":\"app\",\"name\":\"elcodi_plugin.product_csv.name\",\"description\":\"elcodi_plugin.product_csv.description\",\"visible\":true,\"fa_icon\":null,\"enabled_by_default\":false,\"fields\":[]}'), ('Elcodi\\Plugin\\StoreSetupWizardBundle\\ElcodiStoreSetupWizardBundle','bb5eb5bbab39438a95fbe46e8ee7aeb77fbdb1c5','plugin',NULL,1,'{\"name\":\"elcodi_plugin.setup_wizard.name\",\"description\":\"elcodi_plugin.setup_wizard.description\",\"fa_icon\":\"magic\",\"visible\":false,\"enabled_by_default\":true,\"category\":null,\"fields\":[]}'), ('Elcodi\\Plugin\\StoreTemplateBundle\\StoreTemplateBundle','2f1614601b2241b90c05cb67bc08f1ab7ba52af0','template',NULL,1,'{\"name\":\"Default Template\",\"enabled_by_default\":true,\"category\":null,\"visible\":true,\"fa_icon\":null,\"description\":null,\"fields\":[]}'), ('Elcodi\\Plugin\\StripeBundle\\ElcodiStripeBundle','887ee51dc5572759c418db09b66988664f0ecbc1','plugin','payment',0,'{\"category\":\"payment\",\"name\":\"elcodi_plugin.stripe.name\",\"description\":\"elcodi_plugin.stripe.description\",\"fa_icon\":\"cc-stripe\",\"fields\":{\"private_key\":{\"type\":\"text\",\"required\":true,\"label\":\"elcodi_plugin.stripe.field.private_key.label\",\"data\":null,\"options\":[],\"attr\":[]},\"public_key\":{\"type\":\"text\",\"required\":true,\"label\":\"elcodi_plugin.stripe.field.public_key.label\",\"data\":null,\"options\":[],\"attr\":[]}},\"visible\":true,\"enabled_by_default\":false}'), ('Elcodi\\Plugin\\TwitterBundle\\ElcodiTwitterBundle','49b9dc09a852520a5c6df02e6740bf6bb7502890','plugin','social',0,'{\"category\":\"social\",\"name\":\"elcodi_plugin.twitter.name\",\"description\":\"elcodi_plugin.twitter.description\",\"fa_icon\":\"twitter\",\"fields\":{\"twitter_account\":{\"type\":\"text\",\"label\":\"elcodi_plugin.twitter.field.twitter_account.label\",\"attr\":{\"placeholder\":\"elcodi_plugin.twitter.field.twitter_account.placeholder\"},\"required\":false,\"data\":null,\"options\":[]}},\"visible\":true,\"enabled_by_default\":false}')"); - // $this->addSql("INSERT INTO `product` (`id`, `manufacturer_id`, `principal_variant_id`, `principal_category_id`, `principal_image_id`, `price_currency_iso`, `reduced_price_currency_iso`, `name`, `sku`, `slug`, `short_description`, `description`, `show_in_home`, `dimensions`, `stock`, `price`, `reduced_price`, `height`, `width`, `depth`, `weight`, `images_sort`, `meta_title`, `meta_description`, `meta_keywords`, `created_at`, `updated_at`, `enabled`) VALUES (1,NULL,NULL,1,1,'USD','USD','Ibiza Lips English',NULL,'ibiza-lips-en',NULL,'Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.',1,NULL,10000,799,0,0,0,0,0,'','Ibiza Lips English','Ibiza Lips English','Ibiza Lips English',NOW(),NOW(),1), (2,NULL,NULL,1,2,'EUR','USD','Ibiza Banana English',NULL,'ibiza-banana-en',NULL,'Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.',1,NULL,10000,399,0,0,0,0,0,'','Ibiza Banana English','Ibiza Banana English','Ibiza Banana English',NOW(),NOW(),1), (3,NULL,NULL,1,3,'USD','USD','I Was There English',NULL,'i-was-there-en',NULL,'Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.',1,NULL,10000,2105,0,0,0,0,0,'','I Was There English','I Was There English','I Was There English',NOW(),NOW(),1), (4,NULL,NULL,1,4,'USD','USD','A Life Style English',NULL,'a-life-style-en',NULL,'Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.',1,NULL,10000,1290,0,0,0,0,0,'','A Life Style English','A Life Style English','A Life Style English',NOW(),NOW(),1), (5,NULL,NULL,1,5,'USD','USD','A.M. Nesia Ibiza English',NULL,'a-m-nesia-ibiza-en',NULL,'Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.',1,NULL,10000,1190,0,0,0,0,0,'','A.M. Nesia Ibiza English','A.M. Nesia Ibiza English','A.M. Nesia Ibiza English',NOW(),NOW(),1), (6,NULL,NULL,1,6,'USD','USD','Amnesia Poem English',NULL,'amnesia-poem-en',NULL,'Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.',1,NULL,10000,1390,0,0,0,0,0,'','Amnesia Poem English','Amnesia Poem English','Amnesia Poem English',NOW(),NOW(),1), (7,NULL,NULL,1,7,'USD','USD','Pyramid English',NULL,'pyramid-en',NULL,'Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.',1,NULL,10000,1090,0,0,0,0,0,'','Pyramid English','Pyramid English','Pyramid English',NOW(),NOW(),1), (8,NULL,NULL,1,8,'USD','USD','Amnesia Pink English',NULL,'amnesia-pink-en',NULL,'Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.',1,NULL,10000,1290,0,0,0,0,0,'','Amnesia Pink English','Amnesia Pink English','Amnesia Pink English',NOW(),NOW(),1), (9,NULL,NULL,1,9,'USD','USD','Pinky Fragments English',NULL,'pinky-fragments-en',NULL,'Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.',1,NULL,10000,1190,0,0,0,0,0,'','Pinky Fragments English','Pinky Fragments English','Pinky Fragments English',NOW(),NOW(),1), (10,NULL,NULL,2,10,'USD','USD','I was there II English',NULL,'i-was-there-ii-en',NULL,'Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.',1,NULL,10000,1190,0,0,0,0,0,'','I was there II English','I was there II English','I was there II English',NOW(),NOW(),1), (11,NULL,NULL,2,11,'USD','USD','Amnesia English',NULL,'amnesia-en',NULL,'Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.',1,NULL,10000,1800,0,0,0,0,0,'','Amnesia English','Amnesia English','Amnesia English',NOW(),NOW(),1), (12,NULL,NULL,2,12,'USD','USD','Amnesia 100% English',NULL,'amnesia-100-percent-en',NULL,'Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.',1,NULL,10000,1650,0,0,0,0,0,'','Amnesia 100% English','Amnesia 100% English','Amnesia 100% English',NOW(),NOW(),1), (13,NULL,NULL,2,13,'USD','USD','A life style II English',NULL,'a-life-style-ii-en',NULL,'Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.',1,NULL,10000,1550,0,0,0,0,0,'','A life style II English','A life style II English','A life style II English',NOW(),NOW(),1), (14,NULL,NULL,2,14,'USD','USD','All night long English',NULL,'all-night-long-en',NULL,'Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.',1,NULL,10000,1710,0,0,0,0,0,'','All night long English','All night long English','All night long English',NOW(),NOW(),1), (15,NULL,NULL,2,15,'USD','USD','A.M. Nesia Ibiza II English',NULL,'a-m-nesia-ibiza-ii-en',NULL,'Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.',1,NULL,10000,18000,0,0,0,0,0,'','A.M. Nesia Ibiza II English','A.M. Nesia Ibiza II English','A.M. Nesia Ibiza II English',NOW(),NOW(),1), (16,NULL,NULL,2,16,'USD','USD','High Pyramid English',NULL,'high-pyramid-en',NULL,'Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.',1,NULL,10000,2000,0,0,0,0,0,'','High Pyramid English','High Pyramid English','High Pyramid English',NOW(),NOW(),1), (17,NULL,NULL,2,17,'USD','USD','Star Amnesia English',NULL,'star-amnesia-en',NULL,'Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.',1,NULL,10000,1145,0,0,0,0,0,'','Star Amnesia English','Star Amnesia English','Star Amnesia English',NOW(),NOW(),1), (18,NULL,NULL,2,18,'USD','USD','Ibiza 4 Ever English',NULL,'ibiza-4-ever-en',NULL,'Sed venenatis mauris eros, sit amet dapibus turpis consectetur et.\n Etiam blandit erat libero. Integer a elit a tortor scelerisque\n bibendum quis eget tortor. Donec vitae tempor tellus.',1,NULL,10000,1020,0,0,0,0,0,'','Ibiza 4 Ever English','Ibiza 4 Ever English','Ibiza 4 Ever English',NOW(),NOW(),1)"); - // $this->addSql("INSERT INTO `product_attribute` (`product_id`, `attribute_id`) VALUES (1,1), (1,2)"); - // $this->addSql("INSERT INTO `product_category` (`product_id`, `category_id`) VALUES (1,1), (2,1), (3,1), (4,1), (5,1), (6,1), (7,1), (8,1), (9,1), (10,2), (11,2), (12,2), (13,2), (14,2), (15,2), (16,2), (17,2), (18,2)"); - // $this->addSql("INSERT INTO `product_image` (`product_id`, `image_id`) VALUES (1,1), (2,2), (3,3), (4,4), (5,5), (6,6), (7,7), (8,8), (9,9), (10,10), (11,11), (12,12), (13,13), (14,14), (15,15), (16,16), (17,17), (18,18)"); - $this->addSql("INSERT INTO `rule` (`id`, `name`, `expression`) VALUES (1,'Importe inferior a 300€','cart.getProductAmount().isLessThan(money(300))'), (2,'Menos de 3 productos','cart.getQuantity() < 3'), (3,'Superior a 300€ y menos de 3 productos','not rule(\"Importe inferior a 300€\") and rule(\"Menos de 3 productos\")')"); - $this->addSql("INSERT INTO `shipping_range` (`id`, `carrier_id`, `from_zone_id`, `to_zone_id`, `price_currency_iso`, `from_price_currency_iso`, `to_price_currency_iso`, `type`, `name`, `from_price_amount`, `to_price_amount`, `from_weight`, `to_weight`, `price_amount`, `enabled`) VALUES (1,1,1,1,'EUR','EUR','EUR',1,'From 0€ to 10€',0,1000,NULL,NULL,900,1), (2,1,1,1,'EUR','EUR','EUR',1,'From 10€ to 20€',1000,2000,NULL,NULL,500,1), (3,1,1,1,'EUR','EUR','EUR',1,'Free for up to 20€',2000,999999999,NULL,NULL,115,1)"); - $this->addSql("INSERT INTO `store` (`id`, `logo_id`, `secondary_logo_id`, `mobile_logo_id`, `header_image_id`, `background_image_id`, `address_id`, `default_language_iso`, `default_currency_iso`, `name`, `leitmotiv`, `email`, `is_company`, `cif`, `tracker`, `template`, `routing_strategy`, `use_stock`, `created_at`, `updated_at`, `enabled`) VALUES (1,NULL,NULL,NULL,NULL,NULL,1,'en','USD','Bamboo Store','A store powered by Elcodi','email@email.com',1,'B-12345678','123456','2f1614601b2241b90c05cb67bc08f1ab7ba52af0','prefix_except_default',1,NOW(),NOW(),1)"); - $this->addSql("INSERT INTO `tax` (`id`, `name`, `description`, `value`, `enabled`) VALUES (1,'VAT 21','VAT 21 for Spain',21,0), (2,'VAT 16','VAT 16 for Spain',16,0)"); - $this->addSql("INSERT INTO `value` (`id`, `attribute_id`, `value`) VALUES (1,1,'Small'), (2,1,'Medium'), (3,1,'Large'), (4,2,'Black'), (5,2,'White'), (6,2,'Gray')"); - $this->addSql("INSERT INTO `variant` (`id`, `product_id`, `principal_image_id`, `price_currency_iso`, `reduced_price_currency_iso`, `sku`, `stock`, `price`, `reduced_price`, `height`, `width`, `depth`, `weight`, `images_sort`, `created_at`, `updated_at`, `enabled`) VALUES (1,1,NULL,'USD','USD','',10000,1099,0,0,0,0,0,'',NOW(),NOW(),1), (2,1,NULL,'USD','USD','',10000,1299,0,0,0,0,0,'',NOW(),NOW(),1), (3,1,NULL,'USD','USD','',10000,1199,0,0,0,0,0,'',NOW(),NOW(),1), (4,1,NULL,'USD','USD','',10000,1399,0,0,0,0,0,'',NOW(),NOW(),1)"); - $this->addSql("INSERT INTO `variant_options` (`variant_id`, `option_id`) VALUES (1,1), (1,5), (2,2), (2,5), (3,1), (3,4), (4,2), (4,4)"); - $this->addSql("INSERT INTO `zone` (`id`, `name`, `code`, `locations`, `created_at`, `updated_at`, `enabled`) VALUES (1,'Spain','spain','ES',NOW(),NOW(),1), (2,'Andorra','andorra','AD',NOW(),NOW(),1), (3,'Almería','almera','ES_an_al',NOW(),NOW(),1), (4,'Cádiz','cdiz','ES_an_ca',NOW(),NOW(),1), (5,'Córdoba','crdoba','ES_an_co',NOW(),NOW(),1), (6,'Granada','granada','ES_an_gr',NOW(),NOW(),1), (7,'Huelva','huelva','ES_an_h',NOW(),NOW(),1), (8,'Jaén','jan','ES_an_j',NOW(),NOW(),1), (9,'Málaga','mlaga','ES_an_ma',NOW(),NOW(),1), (10,'Sevilla','sevilla','ES_an_se',NOW(),NOW(),1), (11,'Huesca','huesca','ES_ar_hu',NOW(),NOW(),1), (12,'Teruel','teruel','ES_ar_te',NOW(),NOW(),1), (13,'Zaragoza','zaragoza','ES_ar_z',NOW(),NOW(),1), (14,'Asturias','asturias','ES_as_o',NOW(),NOW(),1), (15,'Cantabria','cantabria','ES_cb_s',NOW(),NOW(),1), (16,'Ceuta','ceuta','ES_ce_ce',NOW(),NOW(),1), (17,'Ávila','vila','ES_cl_av',NOW(),NOW(),1), (18,'Burgos','burgos','ES_cl_bu',NOW(),NOW(),1), (19,'León','len','ES_cl_le',NOW(),NOW(),1), (20,'Palencia','palencia','ES_cl_p',NOW(),NOW(),1), (21,'Salamanca','salamanca','ES_cl_sa',NOW(),NOW(),1), (22,'Segovia','segovia','ES_cl_sg',NOW(),NOW(),1), (23,'Soria','soria','ES_cl_so',NOW(),NOW(),1), (24,'Valladolid','valladolid','ES_cl_va',NOW(),NOW(),1), (25,'Zamora','zamora','ES_cl_za',NOW(),NOW(),1), (26,'Albacete','albacete','ES_cm_ab',NOW(),NOW(),1), (27,'Ciudad Real','ciudadreal','ES_cm_cr',NOW(),NOW(),1), (28,'Cuenca','cuenca','ES_cm_cu',NOW(),NOW(),1), (29,'Guadalajara','guadalajara','ES_cm_gu',NOW(),NOW(),1), (30,'Toledo','toledo','ES_cm_to',NOW(),NOW(),1), (31,'Las Palmas','laspalmas','ES_cn_gc',NOW(),NOW(),1), (32,'Santa Cruz de Tenerife','santacruzdetenerife','ES_cn_tf',NOW(),NOW(),1), (33,'Barcelona','barcelona','ES_ct_b',NOW(),NOW(),1), (34,'Girona','girona','ES_ct_gi',NOW(),NOW(),1), (35,'Lleida','lleida','ES_ct_l',NOW(),NOW(),1), (36,'Tarragona','tarragona','ES_ct_t',NOW(),NOW(),1), (37,'Badajoz','badajoz','ES_ex_ba',NOW(),NOW(),1), (38,'Cáceres','cceres','ES_ex_cc',NOW(),NOW(),1), (39,'A Coruña','acorua','ES_ga_c',NOW(),NOW(),1), (40,'Lugo','lugo','ES_ga_lu',NOW(),NOW(),1), (41,'Ourense','ourense','ES_ga_or',NOW(),NOW(),1), (42,'Pontevedra','pontevedra','ES_ga_po',NOW(),NOW(),1), (43,'Baleares','baleares','ES_ib_pm',NOW(),NOW(),1), (44,'Murcia','murcia','ES_mc_mu',NOW(),NOW(),1), (45,'Madrid','madrid','ES_md_m',NOW(),NOW(),1), (46,'Melilla','melilla','ES_ml_me',NOW(),NOW(),1), (47,'Navarra','navarra','ES_nc_na',NOW(),NOW(),1), (48,'Vizcaya','vizcaya','ES_pv_bi',NOW(),NOW(),1), (49,'Guipúzcoa','guipzcoa','ES_pv_ss',NOW(),NOW(),1), (50,'Álava','lava','ES_pv_vi',NOW(),NOW(),1), (51,'La Rioja','larioja','ES_ri_lo',NOW(),NOW(),1), (52,'Alicante','alicante','ES_vc_a',NOW(),NOW(),1), (53,'Castellón','castelln','ES_vc_cs',NOW(),NOW(),1), (54,'Valencia','valencia','ES_vc_v',NOW(),NOW(),1)"); - $this->addSql('SET foreign_key_checks = 1'); - } - - /** - * @param Schema $schema - */ - public function down(Schema $schema) - { - // this down() migration is auto-generated, please modify it to your needs - } -} diff --git a/app/DoctrineMigrations/Version20151119001829.php b/app/DoctrineMigrations/Version20151119001829.php deleted file mode 100644 index 71f9768c..00000000 --- a/app/DoctrineMigrations/Version20151119001829.php +++ /dev/null @@ -1,49 +0,0 @@ - - * @author Aldo Chiecchia - * @author Elcodi Team - */ - -namespace Application\Migrations; - -use Doctrine\DBAL\Migrations\AbstractMigration; -use Doctrine\DBAL\Schema\Schema; - -/** - * Auto-generated Migration: Please modify to your needs! - */ -class Version20151119001829 extends AbstractMigration -{ - /** - * @param Schema $schema - */ - public function up(Schema $schema) - { - // this up() migration is auto-generated, please modify it to your needs - $this->abortIf($this->connection->getDatabasePlatform()->getName() != 'mysql', 'Migration can only be executed safely on \'mysql\'.'); - - $this->addSql('ALTER TABLE orders ADD shipping_method_extra LONGTEXT DEFAULT NULL COMMENT \'(DC2Type:array)\', ADD payment_method LONGTEXT DEFAULT NULL COMMENT \'(DC2Type:array)\', ADD payment_method_extra LONGTEXT DEFAULT NULL COMMENT \'(DC2Type:array)\''); - } - - /** - * @param Schema $schema - */ - public function down(Schema $schema) - { - // this down() migration is auto-generated, please modify it to your needs - $this->abortIf($this->connection->getDatabasePlatform()->getName() != 'mysql', 'Migration can only be executed safely on \'mysql\'.'); - - $this->addSql('ALTER TABLE orders DROP shipping_method_extra, DROP payment_method, DROP payment_method_extra'); - } -} diff --git a/app/DoctrineMigrations/Version20160118162657.php b/app/DoctrineMigrations/Version20160118162657.php deleted file mode 100644 index 06ea2faf..00000000 --- a/app/DoctrineMigrations/Version20160118162657.php +++ /dev/null @@ -1,77 +0,0 @@ -abortIf($this->connection->getDatabasePlatform()->getName() != 'mysql', 'Migration can only be executed safely on \'mysql\'.'); - - $this->addSql('CREATE TABLE pack (id INT AUTO_INCREMENT NOT NULL, manufacturer_id INT DEFAULT NULL, principal_category_id INT DEFAULT NULL, principal_image_id INT DEFAULT NULL, price_currency_iso VARCHAR(3) DEFAULT NULL, reduced_price_currency_iso VARCHAR(3) DEFAULT NULL, name VARCHAR(255) NOT NULL, sku VARCHAR(255) DEFAULT NULL, slug VARCHAR(255) NOT NULL, short_description VARCHAR(255) DEFAULT NULL, description LONGTEXT DEFAULT NULL, show_in_home TINYINT(1) NOT NULL, dimensions VARCHAR(255) DEFAULT NULL, stock INT DEFAULT NULL, stock_type INT NOT NULL, price INT DEFAULT NULL, reduced_price INT DEFAULT NULL, height INT NOT NULL, width INT NOT NULL, depth INT NOT NULL, weight INT NOT NULL, images_sort VARCHAR(2048) DEFAULT NULL, meta_title VARCHAR(255) DEFAULT NULL, meta_description VARCHAR(255) DEFAULT NULL, meta_keywords VARCHAR(255) DEFAULT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, enabled TINYINT(1) NOT NULL, INDEX IDX_97DE5E23A23B42D (manufacturer_id), INDEX IDX_97DE5E235740FE34 (principal_category_id), INDEX IDX_97DE5E23A7F1F96B (principal_image_id), INDEX IDX_97DE5E2347018B47 (price_currency_iso), INDEX IDX_97DE5E23EB35D9BE (reduced_price_currency_iso), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); - $this->addSql('CREATE TABLE pack_category (pack_id INT NOT NULL, category_id INT NOT NULL, INDEX IDX_28C35DD01919B217 (pack_id), INDEX IDX_28C35DD012469DE2 (category_id), PRIMARY KEY(pack_id, category_id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); - $this->addSql('CREATE TABLE pack_image (pack_id INT NOT NULL, image_id INT NOT NULL, INDEX IDX_77C98E2E1919B217 (pack_id), INDEX IDX_77C98E2E3DA5256D (image_id), PRIMARY KEY(pack_id, image_id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); - $this->addSql('CREATE TABLE pack_product (pack_id INT NOT NULL, product_id INT NOT NULL, INDEX IDX_E80394D01919B217 (pack_id), INDEX IDX_E80394D04584665A (product_id), PRIMARY KEY(pack_id, product_id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); - $this->addSql('CREATE TABLE pack_variants (pack_id INT NOT NULL, variant_id INT NOT NULL, INDEX IDX_9D1717F01919B217 (pack_id), INDEX IDX_9D1717F03B69A9AF (variant_id), PRIMARY KEY(pack_id, variant_id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); - $this->addSql('ALTER TABLE pack ADD CONSTRAINT FK_97DE5E23A23B42D FOREIGN KEY (manufacturer_id) REFERENCES manufacturer (id) ON DELETE SET NULL'); - $this->addSql('ALTER TABLE pack ADD CONSTRAINT FK_97DE5E235740FE34 FOREIGN KEY (principal_category_id) REFERENCES category (id) ON DELETE SET NULL'); - $this->addSql('ALTER TABLE pack ADD CONSTRAINT FK_97DE5E23A7F1F96B FOREIGN KEY (principal_image_id) REFERENCES image (id) ON DELETE SET NULL'); - $this->addSql('ALTER TABLE pack ADD CONSTRAINT FK_97DE5E2347018B47 FOREIGN KEY (price_currency_iso) REFERENCES currency (iso)'); - $this->addSql('ALTER TABLE pack ADD CONSTRAINT FK_97DE5E23EB35D9BE FOREIGN KEY (reduced_price_currency_iso) REFERENCES currency (iso)'); - $this->addSql('ALTER TABLE pack_category ADD CONSTRAINT FK_28C35DD01919B217 FOREIGN KEY (pack_id) REFERENCES pack (id)'); - $this->addSql('ALTER TABLE pack_category ADD CONSTRAINT FK_28C35DD012469DE2 FOREIGN KEY (category_id) REFERENCES category (id)'); - $this->addSql('ALTER TABLE pack_image ADD CONSTRAINT FK_77C98E2E1919B217 FOREIGN KEY (pack_id) REFERENCES pack (id)'); - $this->addSql('ALTER TABLE pack_image ADD CONSTRAINT FK_77C98E2E3DA5256D FOREIGN KEY (image_id) REFERENCES image (id)'); - $this->addSql('ALTER TABLE pack_product ADD CONSTRAINT FK_E80394D01919B217 FOREIGN KEY (pack_id) REFERENCES pack (id)'); - $this->addSql('ALTER TABLE pack_product ADD CONSTRAINT FK_E80394D04584665A FOREIGN KEY (product_id) REFERENCES product (id)'); - $this->addSql('ALTER TABLE pack_variants ADD CONSTRAINT FK_9D1717F01919B217 FOREIGN KEY (pack_id) REFERENCES pack (id)'); - $this->addSql('ALTER TABLE pack_variants ADD CONSTRAINT FK_9D1717F03B69A9AF FOREIGN KEY (variant_id) REFERENCES variant (id)'); - $this->addSql('ALTER TABLE cart DROP quantity'); - $this->addSql('ALTER TABLE cart_line ADD pack_id INT DEFAULT NULL, CHANGE product_id product_id INT DEFAULT NULL'); - $this->addSql('ALTER TABLE cart_line ADD CONSTRAINT FK_3EF1B4CF1919B217 FOREIGN KEY (pack_id) REFERENCES pack (id)'); - $this->addSql('CREATE INDEX IDX_3EF1B4CF1919B217 ON cart_line (pack_id)'); - $this->addSql('ALTER TABLE order_line ADD pack_id INT DEFAULT NULL, CHANGE product_id product_id INT DEFAULT NULL'); - $this->addSql('ALTER TABLE order_line ADD CONSTRAINT FK_9CE58EE11919B217 FOREIGN KEY (pack_id) REFERENCES pack (id)'); - $this->addSql('CREATE INDEX IDX_9CE58EE11919B217 ON order_line (pack_id)'); - $this->addSql('ALTER TABLE product CHANGE show_in_home show_in_home TINYINT(1) NOT NULL, CHANGE images_sort images_sort VARCHAR(2048) DEFAULT NULL'); - $this->addSql('ALTER TABLE variant CHANGE images_sort images_sort VARCHAR(2048) DEFAULT NULL'); - } - - /** - * @param Schema $schema - */ - public function down(Schema $schema) - { - // this down() migration is auto-generated, please modify it to your needs - $this->abortIf($this->connection->getDatabasePlatform()->getName() != 'mysql', 'Migration can only be executed safely on \'mysql\'.'); - - $this->addSql('ALTER TABLE cart_line DROP FOREIGN KEY FK_3EF1B4CF1919B217'); - $this->addSql('ALTER TABLE order_line DROP FOREIGN KEY FK_9CE58EE11919B217'); - $this->addSql('ALTER TABLE pack_category DROP FOREIGN KEY FK_28C35DD01919B217'); - $this->addSql('ALTER TABLE pack_image DROP FOREIGN KEY FK_77C98E2E1919B217'); - $this->addSql('ALTER TABLE pack_product DROP FOREIGN KEY FK_E80394D01919B217'); - $this->addSql('ALTER TABLE pack_variants DROP FOREIGN KEY FK_9D1717F01919B217'); - $this->addSql('DROP TABLE pack'); - $this->addSql('DROP TABLE pack_category'); - $this->addSql('DROP TABLE pack_image'); - $this->addSql('DROP TABLE pack_product'); - $this->addSql('DROP TABLE pack_variants'); - $this->addSql('ALTER TABLE cart ADD quantity INT NOT NULL'); - $this->addSql('DROP INDEX IDX_3EF1B4CF1919B217 ON cart_line'); - $this->addSql('ALTER TABLE cart_line DROP pack_id, CHANGE product_id product_id INT NOT NULL'); - $this->addSql('DROP INDEX IDX_9CE58EE11919B217 ON order_line'); - $this->addSql('ALTER TABLE order_line DROP pack_id, CHANGE product_id product_id INT NOT NULL'); - $this->addSql('ALTER TABLE product CHANGE show_in_home show_in_home TINYINT(1) DEFAULT NULL, CHANGE images_sort images_sort VARCHAR(255) DEFAULT NULL COLLATE utf8_unicode_ci'); - $this->addSql('ALTER TABLE variant CHANGE images_sort images_sort VARCHAR(255) DEFAULT NULL COLLATE utf8_unicode_ci'); - } -} diff --git a/app/DoctrineMigrations/Version20151007214911.php b/app/DoctrineMigrations/Version20160131002537.php similarity index 78% rename from app/DoctrineMigrations/Version20151007214911.php rename to app/DoctrineMigrations/Version20160131002537.php index f5a92614..499b9dd9 100644 --- a/app/DoctrineMigrations/Version20151007214911.php +++ b/app/DoctrineMigrations/Version20160131002537.php @@ -1,20 +1,5 @@ - * @author Aldo Chiecchia - * @author Elcodi Team - */ - namespace Application\Migrations; use Doctrine\DBAL\Migrations\AbstractMigration; @@ -23,7 +8,7 @@ /** * Auto-generated Migration: Please modify to your needs! */ -class Version20151007214911 extends AbstractMigration +class Version20160131002537 extends AbstractMigration { /** * @param Schema $schema @@ -33,38 +18,40 @@ public function up(Schema $schema) // this up() migration is auto-generated, please modify it to your needs $this->abortIf($this->connection->getDatabasePlatform()->getName() != 'mysql', 'Migration can only be executed safely on \'mysql\'.'); - $this->addSql('CREATE TABLE cart (id INT AUTO_INCREMENT NOT NULL, customer_id INT DEFAULT NULL, delivery_address_id INT DEFAULT NULL, billing_address_id INT DEFAULT NULL, quantity INT NOT NULL, ordered TINYINT(1) NOT NULL, shipping_method VARCHAR(255) DEFAULT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, INDEX IDX_BA388B79395C3F3 (customer_id), INDEX IDX_BA388B7EBF23851 (delivery_address_id), INDEX IDX_BA388B779D0C0E4 (billing_address_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); - $this->addSql('CREATE TABLE cart_line (id INT AUTO_INCREMENT NOT NULL, order_line_id INT DEFAULT NULL, cart_id INT NOT NULL, product_currency_iso VARCHAR(3) NOT NULL, currency_iso VARCHAR(3) NOT NULL, product_id INT NOT NULL, variant_id INT DEFAULT NULL, product_amount INT NOT NULL, amount INT NOT NULL, quantity INT NOT NULL, UNIQUE INDEX UNIQ_3EF1B4CFBB01DC09 (order_line_id), INDEX IDX_3EF1B4CF1AD5CDBF (cart_id), INDEX IDX_3EF1B4CF3E76C531 (product_currency_iso), INDEX IDX_3EF1B4CFB3D2E75A (currency_iso), INDEX IDX_3EF1B4CF4584665A (product_id), INDEX IDX_3EF1B4CF3B69A9AF (variant_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); - $this->addSql('CREATE TABLE orders (id INT AUTO_INCREMENT NOT NULL, cart_id INT DEFAULT NULL, payment_last_state_line_id INT NOT NULL, shipping_last_state_line_id INT NOT NULL, customer_id INT DEFAULT NULL, currency_iso VARCHAR(3) NOT NULL, product_currency_iso VARCHAR(3) NOT NULL, coupon_currency_iso VARCHAR(3) DEFAULT NULL, shipping_currency_iso VARCHAR(3) DEFAULT NULL, delivery_address_id INT DEFAULT NULL, billing_address_id INT DEFAULT NULL, quantity INT NOT NULL, product_amount INT NOT NULL, coupon_amount INT DEFAULT NULL, shipping_amount INT DEFAULT NULL, shipping_method LONGTEXT NOT NULL COMMENT \'(DC2Type:array)\', amount INT NOT NULL, height INT NOT NULL, width INT NOT NULL, depth INT NOT NULL, weight INT NOT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, UNIQUE INDEX UNIQ_E52FFDEE1AD5CDBF (cart_id), UNIQUE INDEX UNIQ_E52FFDEEAD8238BF (payment_last_state_line_id), UNIQUE INDEX UNIQ_E52FFDEE5B8FCE3F (shipping_last_state_line_id), INDEX IDX_E52FFDEE9395C3F3 (customer_id), INDEX IDX_E52FFDEEB3D2E75A (currency_iso), INDEX IDX_E52FFDEE3E76C531 (product_currency_iso), INDEX IDX_E52FFDEEFB17B782 (coupon_currency_iso), INDEX IDX_E52FFDEEFC817E8F (shipping_currency_iso), INDEX IDX_E52FFDEEEBF23851 (delivery_address_id), INDEX IDX_E52FFDEE79D0C0E4 (billing_address_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); + $this->addSql('CREATE TABLE cart (id INT AUTO_INCREMENT NOT NULL, customer_id INT DEFAULT NULL, delivery_address_id INT DEFAULT NULL, billing_address_id INT DEFAULT NULL, ordered TINYINT(1) NOT NULL, shipping_method VARCHAR(255) DEFAULT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, INDEX IDX_BA388B79395C3F3 (customer_id), INDEX IDX_BA388B7EBF23851 (delivery_address_id), INDEX IDX_BA388B779D0C0E4 (billing_address_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); + $this->addSql('CREATE TABLE cart_line (id INT AUTO_INCREMENT NOT NULL, order_line_id INT DEFAULT NULL, cart_id INT NOT NULL, purchasable_currency_iso VARCHAR(3) NOT NULL, currency_iso VARCHAR(3) NOT NULL, purchasable_id INT DEFAULT NULL, purchasable_amount INT NOT NULL, amount INT NOT NULL, quantity INT NOT NULL, UNIQUE INDEX UNIQ_3EF1B4CFBB01DC09 (order_line_id), INDEX IDX_3EF1B4CF1AD5CDBF (cart_id), INDEX IDX_3EF1B4CFCA263E04 (purchasable_currency_iso), INDEX IDX_3EF1B4CFB3D2E75A (currency_iso), INDEX IDX_3EF1B4CF9778C508 (purchasable_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); + $this->addSql('CREATE TABLE orders (id INT AUTO_INCREMENT NOT NULL, cart_id INT DEFAULT NULL, payment_last_state_line_id INT NOT NULL, shipping_last_state_line_id INT NOT NULL, customer_id INT DEFAULT NULL, currency_iso VARCHAR(3) NOT NULL, purchasable_currency_iso VARCHAR(3) NOT NULL, coupon_currency_iso VARCHAR(3) DEFAULT NULL, shipping_currency_iso VARCHAR(3) DEFAULT NULL, delivery_address_id INT DEFAULT NULL, billing_address_id INT DEFAULT NULL, quantity INT NOT NULL, purchasable_amount INT NOT NULL, coupon_amount INT DEFAULT NULL, shipping_amount INT DEFAULT NULL, shipping_method LONGTEXT NOT NULL COMMENT \'(DC2Type:array)\', shipping_method_extra LONGTEXT DEFAULT NULL COMMENT \'(DC2Type:array)\', payment_method LONGTEXT DEFAULT NULL COMMENT \'(DC2Type:array)\', payment_method_extra LONGTEXT DEFAULT NULL COMMENT \'(DC2Type:array)\', amount INT NOT NULL, height INT NOT NULL, width INT NOT NULL, depth INT NOT NULL, weight INT NOT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, UNIQUE INDEX UNIQ_E52FFDEE1AD5CDBF (cart_id), UNIQUE INDEX UNIQ_E52FFDEEAD8238BF (payment_last_state_line_id), UNIQUE INDEX UNIQ_E52FFDEE5B8FCE3F (shipping_last_state_line_id), INDEX IDX_E52FFDEE9395C3F3 (customer_id), INDEX IDX_E52FFDEEB3D2E75A (currency_iso), INDEX IDX_E52FFDEECA263E04 (purchasable_currency_iso), INDEX IDX_E52FFDEEFB17B782 (coupon_currency_iso), INDEX IDX_E52FFDEEFC817E8F (shipping_currency_iso), INDEX IDX_E52FFDEEEBF23851 (delivery_address_id), INDEX IDX_E52FFDEE79D0C0E4 (billing_address_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); $this->addSql('CREATE TABLE shipping_state_lines (order_id INT NOT NULL, state_line_id INT NOT NULL, INDEX IDX_B1F98F398D9F6D38 (order_id), INDEX IDX_B1F98F39B1B0FE4 (state_line_id), PRIMARY KEY(order_id, state_line_id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); $this->addSql('CREATE TABLE payment_state_lines (order_id INT NOT NULL, state_line_id INT NOT NULL, INDEX IDX_CB1ED8408D9F6D38 (order_id), INDEX IDX_CB1ED840B1B0FE4 (state_line_id), PRIMARY KEY(order_id, state_line_id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); - $this->addSql('CREATE TABLE order_line (id INT AUTO_INCREMENT NOT NULL, order_id INT NOT NULL, product_currency_iso VARCHAR(3) NOT NULL, currency_iso VARCHAR(3) NOT NULL, product_id INT NOT NULL, variant_id INT DEFAULT NULL, product_amount NUMERIC(10, 2) NOT NULL, amount NUMERIC(10, 2) NOT NULL, height INT NOT NULL, width INT NOT NULL, depth INT NOT NULL, weight INT NOT NULL, quantity INT NOT NULL, INDEX IDX_9CE58EE18D9F6D38 (order_id), INDEX IDX_9CE58EE13E76C531 (product_currency_iso), INDEX IDX_9CE58EE1B3D2E75A (currency_iso), INDEX IDX_9CE58EE14584665A (product_id), INDEX IDX_9CE58EE13B69A9AF (variant_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); - $this->addSql('CREATE TABLE coupon (id INT AUTO_INCREMENT NOT NULL, price_currency_iso VARCHAR(3) DEFAULT NULL, minimum_purchase_currency_iso VARCHAR(3) DEFAULT NULL, rule INT DEFAULT NULL, code VARCHAR(255) NOT NULL, name VARCHAR(255) NOT NULL, type INT NOT NULL, enforcement INT NOT NULL, price_amount INT NOT NULL, discount INT NOT NULL, count INT NOT NULL, used INT NOT NULL, priority INT NOT NULL, minimum_purchase_amount INT DEFAULT NULL, stackable TINYINT(1) DEFAULT \'0\' NOT NULL, valid_from DATETIME NOT NULL, valid_to DATETIME DEFAULT NULL, created_at DATETIME DEFAULT NULL, updated_at DATETIME DEFAULT NULL, enabled TINYINT(1) NOT NULL, UNIQUE INDEX UNIQ_64BF3F0277153098 (code), INDEX IDX_64BF3F0247018B47 (price_currency_iso), INDEX IDX_64BF3F02DCEAE720 (minimum_purchase_currency_iso), INDEX IDX_64BF3F0246D8ACCC (rule), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); + $this->addSql('CREATE TABLE order_line (id INT AUTO_INCREMENT NOT NULL, order_id INT NOT NULL, purchasable_currency_iso VARCHAR(3) NOT NULL, currency_iso VARCHAR(3) NOT NULL, purchasable_id INT DEFAULT NULL, purchasable_amount NUMERIC(10, 2) NOT NULL, amount NUMERIC(10, 2) NOT NULL, height INT NOT NULL, width INT NOT NULL, depth INT NOT NULL, weight INT NOT NULL, quantity INT NOT NULL, INDEX IDX_9CE58EE18D9F6D38 (order_id), INDEX IDX_9CE58EE1CA263E04 (purchasable_currency_iso), INDEX IDX_9CE58EE1B3D2E75A (currency_iso), INDEX IDX_9CE58EE19778C508 (purchasable_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); + $this->addSql('CREATE TABLE coupon (id INT AUTO_INCREMENT NOT NULL, price_currency_iso VARCHAR(3) DEFAULT NULL, minimum_purchase_currency_iso VARCHAR(3) DEFAULT NULL, rule INT DEFAULT NULL, code VARCHAR(255) NOT NULL, name VARCHAR(255) NOT NULL, type INT NOT NULL, enforcement INT NOT NULL, price_amount INT NOT NULL, discount INT NOT NULL, value VARCHAR(255) DEFAULT NULL, count INT NOT NULL, used INT NOT NULL, priority INT NOT NULL, minimum_purchase_amount INT DEFAULT NULL, stackable TINYINT(1) DEFAULT \'0\' NOT NULL, valid_from DATETIME NOT NULL, valid_to DATETIME DEFAULT NULL, created_at DATETIME DEFAULT NULL, updated_at DATETIME DEFAULT NULL, enabled TINYINT(1) NOT NULL, UNIQUE INDEX UNIQ_64BF3F0277153098 (code), INDEX IDX_64BF3F0247018B47 (price_currency_iso), INDEX IDX_64BF3F02DCEAE720 (minimum_purchase_currency_iso), INDEX IDX_64BF3F0246D8ACCC (rule), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); $this->addSql('CREATE TABLE rule (id INT AUTO_INCREMENT NOT NULL, name VARCHAR(64) NOT NULL, expression LONGTEXT NOT NULL, UNIQUE INDEX UNIQ_46D8ACCC5E237E06 (name), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); $this->addSql('CREATE TABLE currency (iso VARCHAR(3) NOT NULL, name VARCHAR(65) NOT NULL, symbol VARCHAR(15) NOT NULL, created_at DATETIME DEFAULT NULL, updated_at DATETIME DEFAULT NULL, enabled TINYINT(1) NOT NULL, PRIMARY KEY(iso)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); $this->addSql('CREATE TABLE currency_exchange_rate (id INT AUTO_INCREMENT NOT NULL, target_currency_iso VARCHAR(3) DEFAULT NULL, source_currency_iso VARCHAR(3) DEFAULT NULL, exchange_rate NUMERIC(18, 10) NOT NULL, INDEX IDX_B9F60EEC5380340B (target_currency_iso), INDEX IDX_B9F60EEC65383BE2 (source_currency_iso), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); $this->addSql('CREATE TABLE language (iso VARCHAR(10) NOT NULL, name VARCHAR(255) NOT NULL, enabled TINYINT(1) NOT NULL, PRIMARY KEY(iso)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); $this->addSql('CREATE TABLE image (id INT AUTO_INCREMENT NOT NULL, name VARCHAR(255) NOT NULL, content_type VARCHAR(255) NOT NULL, extension VARCHAR(10) NOT NULL, size INT NOT NULL, width INT NOT NULL, height INT NOT NULL, created_at DATETIME DEFAULT NULL, updated_at DATETIME DEFAULT NULL, enabled TINYINT(1) NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); + $this->addSql('CREATE TABLE address (id INT AUTO_INCREMENT NOT NULL, name VARCHAR(255) NOT NULL, recipient_name VARCHAR(255) DEFAULT NULL, recipient_surname VARCHAR(255) DEFAULT NULL, city VARCHAR(64) NOT NULL, postal_code VARCHAR(64) NOT NULL, address VARCHAR(255) NOT NULL, address_more VARCHAR(255) DEFAULT NULL, phone VARCHAR(255) NOT NULL, mobile VARCHAR(255) DEFAULT NULL, comments LONGTEXT DEFAULT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, enabled TINYINT(1) NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); + $this->addSql('CREATE TABLE location (id VARCHAR(255) NOT NULL, name VARCHAR(255) NOT NULL, code VARCHAR(255) NOT NULL, type VARCHAR(255) NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); + $this->addSql('CREATE TABLE location_inheritance (parent_id VARCHAR(255) NOT NULL, children_id VARCHAR(255) NOT NULL, INDEX IDX_CD045D5727ACA70 (parent_id), INDEX IDX_CD045D53D3D2749 (children_id), PRIMARY KEY(parent_id, children_id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); + $this->addSql('CREATE TABLE attribute (id INT AUTO_INCREMENT NOT NULL, name VARCHAR(255) NOT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, enabled TINYINT(1) DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); + $this->addSql('CREATE TABLE value (id INT AUTO_INCREMENT NOT NULL, attribute_id INT NOT NULL, value VARCHAR(255) NOT NULL, INDEX IDX_1D775834B6E62EFA (attribute_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); + $this->addSql('CREATE TABLE store (id INT AUTO_INCREMENT NOT NULL, logo_id INT DEFAULT NULL, secondary_logo_id INT DEFAULT NULL, mobile_logo_id INT DEFAULT NULL, header_image_id INT DEFAULT NULL, background_image_id INT DEFAULT NULL, address_id INT DEFAULT NULL, default_language_iso VARCHAR(10) DEFAULT NULL, default_currency_iso VARCHAR(3) DEFAULT NULL, name VARCHAR(255) NOT NULL, leitmotiv VARCHAR(255) DEFAULT NULL, email VARCHAR(255) DEFAULT NULL, is_company TINYINT(1) NOT NULL, cif VARCHAR(255) DEFAULT NULL, tracker VARCHAR(255) DEFAULT NULL, template VARCHAR(255) DEFAULT NULL, routing_strategy VARCHAR(255) NOT NULL, use_stock TINYINT(1) NOT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, enabled TINYINT(1) NOT NULL, UNIQUE INDEX UNIQ_FF575877F98F144A (logo_id), UNIQUE INDEX UNIQ_FF5758773C91E28A (secondary_logo_id), UNIQUE INDEX UNIQ_FF5758771925D9BF (mobile_logo_id), UNIQUE INDEX UNIQ_FF5758778C782417 (header_image_id), UNIQUE INDEX UNIQ_FF575877E6DA28AA (background_image_id), INDEX IDX_FF575877F5B7AF75 (address_id), INDEX IDX_FF575877920835C7 (default_language_iso), INDEX IDX_FF575877910402F0 (default_currency_iso), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); $this->addSql('CREATE TABLE admin_user (id INT AUTO_INCREMENT NOT NULL, gender INT DEFAULT NULL, password VARCHAR(255) DEFAULT NULL, email VARCHAR(255) DEFAULT NULL, token VARCHAR(255) NOT NULL, firstname VARCHAR(255) DEFAULT NULL, lastname VARCHAR(255) DEFAULT NULL, birthday DATE DEFAULT NULL, recovery_hash VARCHAR(255) DEFAULT NULL, one_time_login_hash VARCHAR(255) DEFAULT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, last_login_at DATETIME DEFAULT NULL, enabled TINYINT(1) NOT NULL, UNIQUE INDEX UNIQ_AD8A54A95F37A13B (token), UNIQUE INDEX UNIQ_AD8A54A98A2057A4 (recovery_hash), UNIQUE INDEX UNIQ_AD8A54A98586CD6F (one_time_login_hash), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); $this->addSql('CREATE TABLE customer (id INT AUTO_INCREMENT NOT NULL, delivery_address_id INT DEFAULT NULL, invoice_address_id INT DEFAULT NULL, language_iso VARCHAR(10) DEFAULT NULL, gender INT DEFAULT NULL, password VARCHAR(255) DEFAULT NULL, email VARCHAR(255) DEFAULT NULL, token VARCHAR(255) NOT NULL, firstname VARCHAR(255) DEFAULT NULL, lastname VARCHAR(255) DEFAULT NULL, birthday DATE DEFAULT NULL, recovery_hash VARCHAR(255) DEFAULT NULL, one_time_login_hash VARCHAR(255) DEFAULT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, last_login_at DATETIME DEFAULT NULL, enabled TINYINT(1) NOT NULL, phone VARCHAR(15) DEFAULT NULL, identity_document VARCHAR(255) DEFAULT NULL, guest TINYINT(1) NOT NULL, newsletter TINYINT(1) NOT NULL, UNIQUE INDEX UNIQ_81398E095F37A13B (token), UNIQUE INDEX UNIQ_81398E098A2057A4 (recovery_hash), UNIQUE INDEX UNIQ_81398E098586CD6F (one_time_login_hash), UNIQUE INDEX UNIQ_81398E09EBF23851 (delivery_address_id), UNIQUE INDEX UNIQ_81398E09C6BDFEB (invoice_address_id), INDEX IDX_81398E09B0DED06D (language_iso), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); $this->addSql('CREATE TABLE customer_address (customer_id INT NOT NULL, address_id INT NOT NULL, INDEX IDX_1193CB3F9395C3F3 (customer_id), INDEX IDX_1193CB3FF5B7AF75 (address_id), PRIMARY KEY(customer_id, address_id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); - $this->addSql('CREATE TABLE product (id INT AUTO_INCREMENT NOT NULL, manufacturer_id INT DEFAULT NULL, principal_variant_id INT DEFAULT NULL, principal_category_id INT DEFAULT NULL, principal_image_id INT DEFAULT NULL, price_currency_iso VARCHAR(3) DEFAULT NULL, reduced_price_currency_iso VARCHAR(3) DEFAULT NULL, name VARCHAR(255) NOT NULL, sku VARCHAR(255) DEFAULT NULL, slug VARCHAR(255) NOT NULL, short_description VARCHAR(255) DEFAULT NULL, description LONGTEXT DEFAULT NULL, show_in_home TINYINT(1) DEFAULT NULL, dimensions VARCHAR(255) DEFAULT NULL, stock INT DEFAULT NULL, price INT DEFAULT NULL, reduced_price INT DEFAULT NULL, height INT NOT NULL, width INT NOT NULL, depth INT NOT NULL, weight INT NOT NULL, images_sort VARCHAR(255) DEFAULT NULL, meta_title VARCHAR(255) DEFAULT NULL, meta_description VARCHAR(255) DEFAULT NULL, meta_keywords VARCHAR(255) DEFAULT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, enabled TINYINT(1) NOT NULL, INDEX IDX_D34A04ADA23B42D (manufacturer_id), INDEX IDX_D34A04ADE2560A82 (principal_variant_id), INDEX IDX_D34A04AD5740FE34 (principal_category_id), INDEX IDX_D34A04ADA7F1F96B (principal_image_id), INDEX IDX_D34A04AD47018B47 (price_currency_iso), INDEX IDX_D34A04ADEB35D9BE (reduced_price_currency_iso), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); - $this->addSql('CREATE TABLE product_category (product_id INT NOT NULL, category_id INT NOT NULL, INDEX IDX_CDFC73564584665A (product_id), INDEX IDX_CDFC735612469DE2 (category_id), PRIMARY KEY(product_id, category_id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); - $this->addSql('CREATE TABLE product_image (product_id INT NOT NULL, image_id INT NOT NULL, INDEX IDX_64617F034584665A (product_id), INDEX IDX_64617F033DA5256D (image_id), PRIMARY KEY(product_id, image_id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); + $this->addSql('CREATE TABLE purchasable (id INT AUTO_INCREMENT NOT NULL, principal_category_id INT DEFAULT NULL, principal_image_id INT DEFAULT NULL, price_currency_iso VARCHAR(3) DEFAULT NULL, reduced_price_currency_iso VARCHAR(3) DEFAULT NULL, manufacturer_id INT DEFAULT NULL, name VARCHAR(255) DEFAULT NULL, sku VARCHAR(255) DEFAULT NULL, slug VARCHAR(255) DEFAULT NULL, short_description VARCHAR(255) DEFAULT NULL, description LONGTEXT DEFAULT NULL, show_in_home TINYINT(1) DEFAULT NULL, dimensions VARCHAR(255) DEFAULT NULL, stock INT DEFAULT NULL, price INT DEFAULT NULL, reduced_price INT DEFAULT NULL, height INT DEFAULT NULL, width INT DEFAULT NULL, depth INT DEFAULT NULL, weight INT DEFAULT NULL, images_sort VARCHAR(2048) DEFAULT NULL, meta_title VARCHAR(255) DEFAULT NULL, meta_description VARCHAR(255) DEFAULT NULL, meta_keywords VARCHAR(255) DEFAULT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, enabled TINYINT(1) NOT NULL, purchasable_type VARCHAR(255) NOT NULL, INDEX IDX_FC2E9BFE5740FE34 (principal_category_id), INDEX IDX_FC2E9BFEA7F1F96B (principal_image_id), INDEX IDX_FC2E9BFE47018B47 (price_currency_iso), INDEX IDX_FC2E9BFEEB35D9BE (reduced_price_currency_iso), INDEX IDX_FC2E9BFEA23B42D (manufacturer_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); + $this->addSql('CREATE TABLE purchasable_image (product_id INT NOT NULL, image_id INT NOT NULL, INDEX IDX_3A78D4124584665A (product_id), INDEX IDX_3A78D4123DA5256D (image_id), PRIMARY KEY(product_id, image_id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); + $this->addSql('CREATE TABLE purchasable_category (purchasable_id INT NOT NULL, category_id INT NOT NULL, INDEX IDX_F98077AD9778C508 (purchasable_id), INDEX IDX_F98077AD12469DE2 (category_id), PRIMARY KEY(purchasable_id, category_id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); + $this->addSql('CREATE TABLE product (id INT NOT NULL, principal_variant_id INT DEFAULT NULL, INDEX IDX_D34A04ADE2560A82 (principal_variant_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); $this->addSql('CREATE TABLE product_attribute (product_id INT NOT NULL, attribute_id INT NOT NULL, INDEX IDX_94DA59764584665A (product_id), INDEX IDX_94DA5976B6E62EFA (attribute_id), PRIMARY KEY(product_id, attribute_id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); - $this->addSql('CREATE TABLE variant (id INT AUTO_INCREMENT NOT NULL, product_id INT NOT NULL, principal_image_id INT DEFAULT NULL, price_currency_iso VARCHAR(3) DEFAULT NULL, reduced_price_currency_iso VARCHAR(3) DEFAULT NULL, sku VARCHAR(255) DEFAULT NULL, stock INT DEFAULT NULL, price INT DEFAULT NULL, reduced_price INT DEFAULT NULL, height INT NOT NULL, width INT NOT NULL, depth INT NOT NULL, weight INT NOT NULL, images_sort VARCHAR(255) DEFAULT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, enabled TINYINT(1) DEFAULT NULL, INDEX IDX_F143BFAD4584665A (product_id), INDEX IDX_F143BFADA7F1F96B (principal_image_id), INDEX IDX_F143BFAD47018B47 (price_currency_iso), INDEX IDX_F143BFADEB35D9BE (reduced_price_currency_iso), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); + $this->addSql('CREATE TABLE variant (id INT NOT NULL, product_id INT NOT NULL, INDEX IDX_F143BFAD4584665A (product_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); $this->addSql('CREATE TABLE variant_options (variant_id INT NOT NULL, option_id INT NOT NULL, INDEX IDX_BF90D7C13B69A9AF (variant_id), INDEX IDX_BF90D7C1A7C41D6F (option_id), PRIMARY KEY(variant_id, option_id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); - $this->addSql('CREATE TABLE variant_image (variant_id INT NOT NULL, image_id INT NOT NULL, INDEX IDX_45B79B023B69A9AF (variant_id), INDEX IDX_45B79B023DA5256D (image_id), PRIMARY KEY(variant_id, image_id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); + $this->addSql('CREATE TABLE pack (id INT NOT NULL, stock_type INT NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); + $this->addSql('CREATE TABLE pack_purchasable (pack_id INT NOT NULL, purchasable_id INT NOT NULL, INDEX IDX_8D846271919B217 (pack_id), INDEX IDX_8D846279778C508 (purchasable_id), PRIMARY KEY(pack_id, purchasable_id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); $this->addSql('CREATE TABLE category (id INT AUTO_INCREMENT NOT NULL, parent_id INT DEFAULT NULL, name VARCHAR(255) NOT NULL, slug VARCHAR(255) NOT NULL, root TINYINT(1) NOT NULL, position INT NOT NULL, meta_title VARCHAR(255) DEFAULT NULL, meta_description VARCHAR(255) DEFAULT NULL, meta_keywords VARCHAR(255) DEFAULT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, enabled TINYINT(1) NOT NULL, INDEX IDX_64C19C1727ACA70 (parent_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); $this->addSql('CREATE TABLE manufacturer (id INT AUTO_INCREMENT NOT NULL, principal_image_id INT DEFAULT NULL, name VARCHAR(255) NOT NULL, slug VARCHAR(255) NOT NULL, description LONGTEXT DEFAULT NULL, images_sort VARCHAR(255) DEFAULT NULL, meta_title VARCHAR(255) DEFAULT NULL, meta_description VARCHAR(255) DEFAULT NULL, meta_keywords VARCHAR(255) DEFAULT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, enabled TINYINT(1) NOT NULL, INDEX IDX_3D0AE6DCA7F1F96B (principal_image_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); $this->addSql('CREATE TABLE manufacturer_image (product_id INT NOT NULL, image_id INT NOT NULL, INDEX IDX_CE63904F4584665A (product_id), INDEX IDX_CE63904F3DA5256D (image_id), PRIMARY KEY(product_id, image_id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); $this->addSql('CREATE TABLE state_line (id INT AUTO_INCREMENT NOT NULL, name VARCHAR(255) NOT NULL, description VARCHAR(255) DEFAULT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); - $this->addSql('CREATE TABLE store (id INT AUTO_INCREMENT NOT NULL, logo_id INT DEFAULT NULL, secondary_logo_id INT DEFAULT NULL, mobile_logo_id INT DEFAULT NULL, header_image_id INT DEFAULT NULL, background_image_id INT DEFAULT NULL, address_id INT DEFAULT NULL, default_language_iso VARCHAR(10) DEFAULT NULL, default_currency_iso VARCHAR(3) DEFAULT NULL, name VARCHAR(255) NOT NULL, leitmotiv VARCHAR(255) DEFAULT NULL, email VARCHAR(255) DEFAULT NULL, is_company TINYINT(1) NOT NULL, cif VARCHAR(255) DEFAULT NULL, tracker VARCHAR(255) DEFAULT NULL, template VARCHAR(255) DEFAULT NULL, routing_strategy VARCHAR(255) NOT NULL, use_stock TINYINT(1) NOT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, enabled TINYINT(1) NOT NULL, UNIQUE INDEX UNIQ_FF575877F98F144A (logo_id), UNIQUE INDEX UNIQ_FF5758773C91E28A (secondary_logo_id), UNIQUE INDEX UNIQ_FF5758771925D9BF (mobile_logo_id), UNIQUE INDEX UNIQ_FF5758778C782417 (header_image_id), UNIQUE INDEX UNIQ_FF575877E6DA28AA (background_image_id), INDEX IDX_FF575877F5B7AF75 (address_id), INDEX IDX_FF575877920835C7 (default_language_iso), INDEX IDX_FF575877910402F0 (default_currency_iso), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); - $this->addSql('CREATE TABLE address (id INT AUTO_INCREMENT NOT NULL, name VARCHAR(255) NOT NULL, recipient_name VARCHAR(255) DEFAULT NULL, recipient_surname VARCHAR(255) DEFAULT NULL, city VARCHAR(64) NOT NULL, postal_code VARCHAR(64) NOT NULL, address VARCHAR(255) NOT NULL, address_more VARCHAR(255) DEFAULT NULL, phone VARCHAR(255) NOT NULL, mobile VARCHAR(255) DEFAULT NULL, comments LONGTEXT DEFAULT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, enabled TINYINT(1) NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); - $this->addSql('CREATE TABLE location (id VARCHAR(255) NOT NULL, name VARCHAR(255) NOT NULL, code VARCHAR(255) NOT NULL, type VARCHAR(255) NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); - $this->addSql('CREATE TABLE location_inheritance (parent_id VARCHAR(255) NOT NULL, children_id VARCHAR(255) NOT NULL, INDEX IDX_CD045D5727ACA70 (parent_id), INDEX IDX_CD045D53D3D2749 (children_id), PRIMARY KEY(parent_id, children_id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); - $this->addSql('CREATE TABLE attribute (id INT AUTO_INCREMENT NOT NULL, name VARCHAR(255) NOT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, enabled TINYINT(1) DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); - $this->addSql('CREATE TABLE value (id INT AUTO_INCREMENT NOT NULL, attribute_id INT NOT NULL, value VARCHAR(255) NOT NULL, INDEX IDX_1D775834B6E62EFA (attribute_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); $this->addSql('CREATE TABLE zone (id INT AUTO_INCREMENT NOT NULL, name VARCHAR(255) NOT NULL, code VARCHAR(32) NOT NULL, locations VARCHAR(1024) NOT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, enabled TINYINT(1) DEFAULT NULL, UNIQUE INDEX UNIQ_A0EBC00777153098 (code), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); $this->addSql('CREATE TABLE tax (id INT AUTO_INCREMENT NOT NULL, name VARCHAR(15) NOT NULL, description VARCHAR(255) NOT NULL, value DOUBLE PRECISION NOT NULL, enabled TINYINT(1) NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); $this->addSql('CREATE TABLE entity_translation (entity_type VARCHAR(255) NOT NULL, entity_id VARCHAR(255) NOT NULL, entity_field VARCHAR(255) NOT NULL, locale VARCHAR(8) NOT NULL, translation LONGTEXT NOT NULL, PRIMARY KEY(entity_type, entity_id, entity_field, locale)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB'); @@ -91,16 +78,15 @@ public function up(Schema $schema) $this->addSql('ALTER TABLE cart ADD CONSTRAINT FK_BA388B779D0C0E4 FOREIGN KEY (billing_address_id) REFERENCES address (id)'); $this->addSql('ALTER TABLE cart_line ADD CONSTRAINT FK_3EF1B4CFBB01DC09 FOREIGN KEY (order_line_id) REFERENCES order_line (id)'); $this->addSql('ALTER TABLE cart_line ADD CONSTRAINT FK_3EF1B4CF1AD5CDBF FOREIGN KEY (cart_id) REFERENCES cart (id)'); - $this->addSql('ALTER TABLE cart_line ADD CONSTRAINT FK_3EF1B4CF3E76C531 FOREIGN KEY (product_currency_iso) REFERENCES currency (iso)'); + $this->addSql('ALTER TABLE cart_line ADD CONSTRAINT FK_3EF1B4CFCA263E04 FOREIGN KEY (purchasable_currency_iso) REFERENCES currency (iso)'); $this->addSql('ALTER TABLE cart_line ADD CONSTRAINT FK_3EF1B4CFB3D2E75A FOREIGN KEY (currency_iso) REFERENCES currency (iso)'); - $this->addSql('ALTER TABLE cart_line ADD CONSTRAINT FK_3EF1B4CF4584665A FOREIGN KEY (product_id) REFERENCES product (id)'); - $this->addSql('ALTER TABLE cart_line ADD CONSTRAINT FK_3EF1B4CF3B69A9AF FOREIGN KEY (variant_id) REFERENCES variant (id)'); + $this->addSql('ALTER TABLE cart_line ADD CONSTRAINT FK_3EF1B4CF9778C508 FOREIGN KEY (purchasable_id) REFERENCES purchasable (id)'); $this->addSql('ALTER TABLE orders ADD CONSTRAINT FK_E52FFDEE1AD5CDBF FOREIGN KEY (cart_id) REFERENCES cart (id) ON DELETE SET NULL'); $this->addSql('ALTER TABLE orders ADD CONSTRAINT FK_E52FFDEEAD8238BF FOREIGN KEY (payment_last_state_line_id) REFERENCES state_line (id)'); $this->addSql('ALTER TABLE orders ADD CONSTRAINT FK_E52FFDEE5B8FCE3F FOREIGN KEY (shipping_last_state_line_id) REFERENCES state_line (id)'); $this->addSql('ALTER TABLE orders ADD CONSTRAINT FK_E52FFDEE9395C3F3 FOREIGN KEY (customer_id) REFERENCES customer (id) ON DELETE SET NULL'); $this->addSql('ALTER TABLE orders ADD CONSTRAINT FK_E52FFDEEB3D2E75A FOREIGN KEY (currency_iso) REFERENCES currency (iso)'); - $this->addSql('ALTER TABLE orders ADD CONSTRAINT FK_E52FFDEE3E76C531 FOREIGN KEY (product_currency_iso) REFERENCES currency (iso)'); + $this->addSql('ALTER TABLE orders ADD CONSTRAINT FK_E52FFDEECA263E04 FOREIGN KEY (purchasable_currency_iso) REFERENCES currency (iso)'); $this->addSql('ALTER TABLE orders ADD CONSTRAINT FK_E52FFDEEFB17B782 FOREIGN KEY (coupon_currency_iso) REFERENCES currency (iso)'); $this->addSql('ALTER TABLE orders ADD CONSTRAINT FK_E52FFDEEFC817E8F FOREIGN KEY (shipping_currency_iso) REFERENCES currency (iso)'); $this->addSql('ALTER TABLE orders ADD CONSTRAINT FK_E52FFDEEEBF23851 FOREIGN KEY (delivery_address_id) REFERENCES address (id)'); @@ -110,55 +96,54 @@ public function up(Schema $schema) $this->addSql('ALTER TABLE payment_state_lines ADD CONSTRAINT FK_CB1ED8408D9F6D38 FOREIGN KEY (order_id) REFERENCES orders (id)'); $this->addSql('ALTER TABLE payment_state_lines ADD CONSTRAINT FK_CB1ED840B1B0FE4 FOREIGN KEY (state_line_id) REFERENCES state_line (id)'); $this->addSql('ALTER TABLE order_line ADD CONSTRAINT FK_9CE58EE18D9F6D38 FOREIGN KEY (order_id) REFERENCES orders (id)'); - $this->addSql('ALTER TABLE order_line ADD CONSTRAINT FK_9CE58EE13E76C531 FOREIGN KEY (product_currency_iso) REFERENCES currency (iso)'); + $this->addSql('ALTER TABLE order_line ADD CONSTRAINT FK_9CE58EE1CA263E04 FOREIGN KEY (purchasable_currency_iso) REFERENCES currency (iso)'); $this->addSql('ALTER TABLE order_line ADD CONSTRAINT FK_9CE58EE1B3D2E75A FOREIGN KEY (currency_iso) REFERENCES currency (iso)'); - $this->addSql('ALTER TABLE order_line ADD CONSTRAINT FK_9CE58EE14584665A FOREIGN KEY (product_id) REFERENCES product (id)'); - $this->addSql('ALTER TABLE order_line ADD CONSTRAINT FK_9CE58EE13B69A9AF FOREIGN KEY (variant_id) REFERENCES variant (id)'); + $this->addSql('ALTER TABLE order_line ADD CONSTRAINT FK_9CE58EE19778C508 FOREIGN KEY (purchasable_id) REFERENCES purchasable (id)'); $this->addSql('ALTER TABLE coupon ADD CONSTRAINT FK_64BF3F0247018B47 FOREIGN KEY (price_currency_iso) REFERENCES currency (iso)'); $this->addSql('ALTER TABLE coupon ADD CONSTRAINT FK_64BF3F02DCEAE720 FOREIGN KEY (minimum_purchase_currency_iso) REFERENCES currency (iso)'); $this->addSql('ALTER TABLE coupon ADD CONSTRAINT FK_64BF3F0246D8ACCC FOREIGN KEY (rule) REFERENCES rule (id)'); $this->addSql('ALTER TABLE currency_exchange_rate ADD CONSTRAINT FK_B9F60EEC5380340B FOREIGN KEY (target_currency_iso) REFERENCES currency (iso)'); $this->addSql('ALTER TABLE currency_exchange_rate ADD CONSTRAINT FK_B9F60EEC65383BE2 FOREIGN KEY (source_currency_iso) REFERENCES currency (iso)'); + $this->addSql('ALTER TABLE location_inheritance ADD CONSTRAINT FK_CD045D5727ACA70 FOREIGN KEY (parent_id) REFERENCES location (id) ON DELETE CASCADE'); + $this->addSql('ALTER TABLE location_inheritance ADD CONSTRAINT FK_CD045D53D3D2749 FOREIGN KEY (children_id) REFERENCES location (id) ON DELETE CASCADE'); + $this->addSql('ALTER TABLE value ADD CONSTRAINT FK_1D775834B6E62EFA FOREIGN KEY (attribute_id) REFERENCES attribute (id)'); + $this->addSql('ALTER TABLE store ADD CONSTRAINT FK_FF575877F98F144A FOREIGN KEY (logo_id) REFERENCES image (id)'); + $this->addSql('ALTER TABLE store ADD CONSTRAINT FK_FF5758773C91E28A FOREIGN KEY (secondary_logo_id) REFERENCES image (id)'); + $this->addSql('ALTER TABLE store ADD CONSTRAINT FK_FF5758771925D9BF FOREIGN KEY (mobile_logo_id) REFERENCES image (id)'); + $this->addSql('ALTER TABLE store ADD CONSTRAINT FK_FF5758778C782417 FOREIGN KEY (header_image_id) REFERENCES image (id)'); + $this->addSql('ALTER TABLE store ADD CONSTRAINT FK_FF575877E6DA28AA FOREIGN KEY (background_image_id) REFERENCES image (id)'); + $this->addSql('ALTER TABLE store ADD CONSTRAINT FK_FF575877F5B7AF75 FOREIGN KEY (address_id) REFERENCES address (id)'); + $this->addSql('ALTER TABLE store ADD CONSTRAINT FK_FF575877920835C7 FOREIGN KEY (default_language_iso) REFERENCES language (iso)'); + $this->addSql('ALTER TABLE store ADD CONSTRAINT FK_FF575877910402F0 FOREIGN KEY (default_currency_iso) REFERENCES currency (iso)'); $this->addSql('ALTER TABLE customer ADD CONSTRAINT FK_81398E09EBF23851 FOREIGN KEY (delivery_address_id) REFERENCES address (id) ON DELETE SET NULL'); $this->addSql('ALTER TABLE customer ADD CONSTRAINT FK_81398E09C6BDFEB FOREIGN KEY (invoice_address_id) REFERENCES address (id) ON DELETE SET NULL'); $this->addSql('ALTER TABLE customer ADD CONSTRAINT FK_81398E09B0DED06D FOREIGN KEY (language_iso) REFERENCES language (iso)'); $this->addSql('ALTER TABLE customer_address ADD CONSTRAINT FK_1193CB3F9395C3F3 FOREIGN KEY (customer_id) REFERENCES customer (id)'); $this->addSql('ALTER TABLE customer_address ADD CONSTRAINT FK_1193CB3FF5B7AF75 FOREIGN KEY (address_id) REFERENCES address (id)'); - $this->addSql('ALTER TABLE product ADD CONSTRAINT FK_D34A04ADA23B42D FOREIGN KEY (manufacturer_id) REFERENCES manufacturer (id) ON DELETE SET NULL'); + $this->addSql('ALTER TABLE purchasable ADD CONSTRAINT FK_FC2E9BFE5740FE34 FOREIGN KEY (principal_category_id) REFERENCES category (id) ON DELETE SET NULL'); + $this->addSql('ALTER TABLE purchasable ADD CONSTRAINT FK_FC2E9BFEA7F1F96B FOREIGN KEY (principal_image_id) REFERENCES image (id) ON DELETE SET NULL'); + $this->addSql('ALTER TABLE purchasable ADD CONSTRAINT FK_FC2E9BFE47018B47 FOREIGN KEY (price_currency_iso) REFERENCES currency (iso)'); + $this->addSql('ALTER TABLE purchasable ADD CONSTRAINT FK_FC2E9BFEEB35D9BE FOREIGN KEY (reduced_price_currency_iso) REFERENCES currency (iso)'); + $this->addSql('ALTER TABLE purchasable ADD CONSTRAINT FK_FC2E9BFEA23B42D FOREIGN KEY (manufacturer_id) REFERENCES manufacturer (id) ON DELETE SET NULL'); + $this->addSql('ALTER TABLE purchasable_image ADD CONSTRAINT FK_3A78D4124584665A FOREIGN KEY (product_id) REFERENCES purchasable (id) ON DELETE CASCADE'); + $this->addSql('ALTER TABLE purchasable_image ADD CONSTRAINT FK_3A78D4123DA5256D FOREIGN KEY (image_id) REFERENCES image (id) ON DELETE CASCADE'); + $this->addSql('ALTER TABLE purchasable_category ADD CONSTRAINT FK_F98077AD9778C508 FOREIGN KEY (purchasable_id) REFERENCES purchasable (id) ON DELETE CASCADE'); + $this->addSql('ALTER TABLE purchasable_category ADD CONSTRAINT FK_F98077AD12469DE2 FOREIGN KEY (category_id) REFERENCES category (id) ON DELETE CASCADE'); $this->addSql('ALTER TABLE product ADD CONSTRAINT FK_D34A04ADE2560A82 FOREIGN KEY (principal_variant_id) REFERENCES variant (id) ON DELETE SET NULL'); - $this->addSql('ALTER TABLE product ADD CONSTRAINT FK_D34A04AD5740FE34 FOREIGN KEY (principal_category_id) REFERENCES category (id) ON DELETE SET NULL'); - $this->addSql('ALTER TABLE product ADD CONSTRAINT FK_D34A04ADA7F1F96B FOREIGN KEY (principal_image_id) REFERENCES image (id) ON DELETE SET NULL'); - $this->addSql('ALTER TABLE product ADD CONSTRAINT FK_D34A04AD47018B47 FOREIGN KEY (price_currency_iso) REFERENCES currency (iso)'); - $this->addSql('ALTER TABLE product ADD CONSTRAINT FK_D34A04ADEB35D9BE FOREIGN KEY (reduced_price_currency_iso) REFERENCES currency (iso)'); - $this->addSql('ALTER TABLE product_category ADD CONSTRAINT FK_CDFC73564584665A FOREIGN KEY (product_id) REFERENCES product (id) ON DELETE CASCADE'); - $this->addSql('ALTER TABLE product_category ADD CONSTRAINT FK_CDFC735612469DE2 FOREIGN KEY (category_id) REFERENCES category (id) ON DELETE CASCADE'); - $this->addSql('ALTER TABLE product_image ADD CONSTRAINT FK_64617F034584665A FOREIGN KEY (product_id) REFERENCES product (id) ON DELETE CASCADE'); - $this->addSql('ALTER TABLE product_image ADD CONSTRAINT FK_64617F033DA5256D FOREIGN KEY (image_id) REFERENCES image (id) ON DELETE CASCADE'); + $this->addSql('ALTER TABLE product ADD CONSTRAINT FK_D34A04ADBF396750 FOREIGN KEY (id) REFERENCES purchasable (id) ON DELETE CASCADE'); $this->addSql('ALTER TABLE product_attribute ADD CONSTRAINT FK_94DA59764584665A FOREIGN KEY (product_id) REFERENCES product (id) ON DELETE CASCADE'); $this->addSql('ALTER TABLE product_attribute ADD CONSTRAINT FK_94DA5976B6E62EFA FOREIGN KEY (attribute_id) REFERENCES attribute (id) ON DELETE CASCADE'); $this->addSql('ALTER TABLE variant ADD CONSTRAINT FK_F143BFAD4584665A FOREIGN KEY (product_id) REFERENCES product (id) ON DELETE CASCADE'); - $this->addSql('ALTER TABLE variant ADD CONSTRAINT FK_F143BFADA7F1F96B FOREIGN KEY (principal_image_id) REFERENCES image (id) ON DELETE SET NULL'); - $this->addSql('ALTER TABLE variant ADD CONSTRAINT FK_F143BFAD47018B47 FOREIGN KEY (price_currency_iso) REFERENCES currency (iso)'); - $this->addSql('ALTER TABLE variant ADD CONSTRAINT FK_F143BFADEB35D9BE FOREIGN KEY (reduced_price_currency_iso) REFERENCES currency (iso)'); + $this->addSql('ALTER TABLE variant ADD CONSTRAINT FK_F143BFADBF396750 FOREIGN KEY (id) REFERENCES purchasable (id) ON DELETE CASCADE'); $this->addSql('ALTER TABLE variant_options ADD CONSTRAINT FK_BF90D7C13B69A9AF FOREIGN KEY (variant_id) REFERENCES variant (id) ON DELETE CASCADE'); $this->addSql('ALTER TABLE variant_options ADD CONSTRAINT FK_BF90D7C1A7C41D6F FOREIGN KEY (option_id) REFERENCES value (id) ON DELETE CASCADE'); - $this->addSql('ALTER TABLE variant_image ADD CONSTRAINT FK_45B79B023B69A9AF FOREIGN KEY (variant_id) REFERENCES variant (id) ON DELETE CASCADE'); - $this->addSql('ALTER TABLE variant_image ADD CONSTRAINT FK_45B79B023DA5256D FOREIGN KEY (image_id) REFERENCES image (id) ON DELETE CASCADE'); + $this->addSql('ALTER TABLE pack ADD CONSTRAINT FK_97DE5E23BF396750 FOREIGN KEY (id) REFERENCES purchasable (id) ON DELETE CASCADE'); + $this->addSql('ALTER TABLE pack_purchasable ADD CONSTRAINT FK_8D846271919B217 FOREIGN KEY (pack_id) REFERENCES pack (id)'); + $this->addSql('ALTER TABLE pack_purchasable ADD CONSTRAINT FK_8D846279778C508 FOREIGN KEY (purchasable_id) REFERENCES purchasable (id)'); $this->addSql('ALTER TABLE category ADD CONSTRAINT FK_64C19C1727ACA70 FOREIGN KEY (parent_id) REFERENCES category (id) ON DELETE SET NULL'); $this->addSql('ALTER TABLE manufacturer ADD CONSTRAINT FK_3D0AE6DCA7F1F96B FOREIGN KEY (principal_image_id) REFERENCES image (id) ON DELETE SET NULL'); $this->addSql('ALTER TABLE manufacturer_image ADD CONSTRAINT FK_CE63904F4584665A FOREIGN KEY (product_id) REFERENCES manufacturer (id) ON DELETE CASCADE'); $this->addSql('ALTER TABLE manufacturer_image ADD CONSTRAINT FK_CE63904F3DA5256D FOREIGN KEY (image_id) REFERENCES image (id) ON DELETE CASCADE'); - $this->addSql('ALTER TABLE store ADD CONSTRAINT FK_FF575877F98F144A FOREIGN KEY (logo_id) REFERENCES image (id)'); - $this->addSql('ALTER TABLE store ADD CONSTRAINT FK_FF5758773C91E28A FOREIGN KEY (secondary_logo_id) REFERENCES image (id)'); - $this->addSql('ALTER TABLE store ADD CONSTRAINT FK_FF5758771925D9BF FOREIGN KEY (mobile_logo_id) REFERENCES image (id)'); - $this->addSql('ALTER TABLE store ADD CONSTRAINT FK_FF5758778C782417 FOREIGN KEY (header_image_id) REFERENCES image (id)'); - $this->addSql('ALTER TABLE store ADD CONSTRAINT FK_FF575877E6DA28AA FOREIGN KEY (background_image_id) REFERENCES image (id)'); - $this->addSql('ALTER TABLE store ADD CONSTRAINT FK_FF575877F5B7AF75 FOREIGN KEY (address_id) REFERENCES address (id)'); - $this->addSql('ALTER TABLE store ADD CONSTRAINT FK_FF575877920835C7 FOREIGN KEY (default_language_iso) REFERENCES language (iso)'); - $this->addSql('ALTER TABLE store ADD CONSTRAINT FK_FF575877910402F0 FOREIGN KEY (default_currency_iso) REFERENCES currency (iso)'); - $this->addSql('ALTER TABLE location_inheritance ADD CONSTRAINT FK_CD045D5727ACA70 FOREIGN KEY (parent_id) REFERENCES location (id) ON DELETE CASCADE'); - $this->addSql('ALTER TABLE location_inheritance ADD CONSTRAINT FK_CD045D53D3D2749 FOREIGN KEY (children_id) REFERENCES location (id) ON DELETE CASCADE'); - $this->addSql('ALTER TABLE value ADD CONSTRAINT FK_1D775834B6E62EFA FOREIGN KEY (attribute_id) REFERENCES attribute (id)'); $this->addSql('ALTER TABLE menu_node_hierarchy ADD CONSTRAINT FK_F80FD5E9CED68269 FOREIGN KEY (menu_node_id) REFERENCES menu (id) ON DELETE CASCADE'); $this->addSql('ALTER TABLE menu_node_hierarchy ADD CONSTRAINT FK_F80FD5E92CC283CA FOREIGN KEY (menu_subnode_id) REFERENCES menu_node (id) ON DELETE CASCADE'); $this->addSql('ALTER TABLE node_hierarchy ADD CONSTRAINT FK_E1C520CDCED68269 FOREIGN KEY (menu_node_id) REFERENCES menu_node (id) ON DELETE CASCADE'); @@ -205,81 +190,79 @@ public function down(Schema $schema) $this->addSql('ALTER TABLE cart_coupon DROP FOREIGN KEY FK_6A3B5D5D66C5951B'); $this->addSql('ALTER TABLE order_coupon DROP FOREIGN KEY FK_A7302FD766C5951B'); $this->addSql('ALTER TABLE coupon DROP FOREIGN KEY FK_64BF3F0246D8ACCC'); - $this->addSql('ALTER TABLE cart_line DROP FOREIGN KEY FK_3EF1B4CF3E76C531'); + $this->addSql('ALTER TABLE cart_line DROP FOREIGN KEY FK_3EF1B4CFCA263E04'); $this->addSql('ALTER TABLE cart_line DROP FOREIGN KEY FK_3EF1B4CFB3D2E75A'); $this->addSql('ALTER TABLE orders DROP FOREIGN KEY FK_E52FFDEEB3D2E75A'); - $this->addSql('ALTER TABLE orders DROP FOREIGN KEY FK_E52FFDEE3E76C531'); + $this->addSql('ALTER TABLE orders DROP FOREIGN KEY FK_E52FFDEECA263E04'); $this->addSql('ALTER TABLE orders DROP FOREIGN KEY FK_E52FFDEEFB17B782'); $this->addSql('ALTER TABLE orders DROP FOREIGN KEY FK_E52FFDEEFC817E8F'); - $this->addSql('ALTER TABLE order_line DROP FOREIGN KEY FK_9CE58EE13E76C531'); + $this->addSql('ALTER TABLE order_line DROP FOREIGN KEY FK_9CE58EE1CA263E04'); $this->addSql('ALTER TABLE order_line DROP FOREIGN KEY FK_9CE58EE1B3D2E75A'); $this->addSql('ALTER TABLE coupon DROP FOREIGN KEY FK_64BF3F0247018B47'); $this->addSql('ALTER TABLE coupon DROP FOREIGN KEY FK_64BF3F02DCEAE720'); $this->addSql('ALTER TABLE currency_exchange_rate DROP FOREIGN KEY FK_B9F60EEC5380340B'); $this->addSql('ALTER TABLE currency_exchange_rate DROP FOREIGN KEY FK_B9F60EEC65383BE2'); - $this->addSql('ALTER TABLE product DROP FOREIGN KEY FK_D34A04AD47018B47'); - $this->addSql('ALTER TABLE product DROP FOREIGN KEY FK_D34A04ADEB35D9BE'); - $this->addSql('ALTER TABLE variant DROP FOREIGN KEY FK_F143BFAD47018B47'); - $this->addSql('ALTER TABLE variant DROP FOREIGN KEY FK_F143BFADEB35D9BE'); $this->addSql('ALTER TABLE store DROP FOREIGN KEY FK_FF575877910402F0'); + $this->addSql('ALTER TABLE purchasable DROP FOREIGN KEY FK_FC2E9BFE47018B47'); + $this->addSql('ALTER TABLE purchasable DROP FOREIGN KEY FK_FC2E9BFEEB35D9BE'); $this->addSql('ALTER TABLE order_coupon DROP FOREIGN KEY FK_A7302FD7D82D7CDD'); $this->addSql('ALTER TABLE shipping_range DROP FOREIGN KEY FK_7D1887F347018B47'); $this->addSql('ALTER TABLE shipping_range DROP FOREIGN KEY FK_7D1887F3D6956502'); $this->addSql('ALTER TABLE shipping_range DROP FOREIGN KEY FK_7D1887F315643E2F'); - $this->addSql('ALTER TABLE customer DROP FOREIGN KEY FK_81398E09B0DED06D'); $this->addSql('ALTER TABLE store DROP FOREIGN KEY FK_FF575877920835C7'); + $this->addSql('ALTER TABLE customer DROP FOREIGN KEY FK_81398E09B0DED06D'); $this->addSql('ALTER TABLE banner_zone DROP FOREIGN KEY FK_A852916DB0DED06D'); $this->addSql('ALTER TABLE newsletter_subscription DROP FOREIGN KEY FK_A82B55ADB0DED06D'); - $this->addSql('ALTER TABLE product DROP FOREIGN KEY FK_D34A04ADA7F1F96B'); - $this->addSql('ALTER TABLE product_image DROP FOREIGN KEY FK_64617F033DA5256D'); - $this->addSql('ALTER TABLE variant DROP FOREIGN KEY FK_F143BFADA7F1F96B'); - $this->addSql('ALTER TABLE variant_image DROP FOREIGN KEY FK_45B79B023DA5256D'); - $this->addSql('ALTER TABLE manufacturer DROP FOREIGN KEY FK_3D0AE6DCA7F1F96B'); - $this->addSql('ALTER TABLE manufacturer_image DROP FOREIGN KEY FK_CE63904F3DA5256D'); $this->addSql('ALTER TABLE store DROP FOREIGN KEY FK_FF575877F98F144A'); $this->addSql('ALTER TABLE store DROP FOREIGN KEY FK_FF5758773C91E28A'); $this->addSql('ALTER TABLE store DROP FOREIGN KEY FK_FF5758771925D9BF'); $this->addSql('ALTER TABLE store DROP FOREIGN KEY FK_FF5758778C782417'); $this->addSql('ALTER TABLE store DROP FOREIGN KEY FK_FF575877E6DA28AA'); + $this->addSql('ALTER TABLE purchasable DROP FOREIGN KEY FK_FC2E9BFEA7F1F96B'); + $this->addSql('ALTER TABLE purchasable_image DROP FOREIGN KEY FK_3A78D4123DA5256D'); + $this->addSql('ALTER TABLE manufacturer DROP FOREIGN KEY FK_3D0AE6DCA7F1F96B'); + $this->addSql('ALTER TABLE manufacturer_image DROP FOREIGN KEY FK_CE63904F3DA5256D'); $this->addSql('ALTER TABLE banner DROP FOREIGN KEY FK_6F9DB8E73DA5256D'); $this->addSql('ALTER TABLE banner DROP FOREIGN KEY FK_6F9DB8E7A7F1F96B'); + $this->addSql('ALTER TABLE cart DROP FOREIGN KEY FK_BA388B7EBF23851'); + $this->addSql('ALTER TABLE cart DROP FOREIGN KEY FK_BA388B779D0C0E4'); + $this->addSql('ALTER TABLE orders DROP FOREIGN KEY FK_E52FFDEEEBF23851'); + $this->addSql('ALTER TABLE orders DROP FOREIGN KEY FK_E52FFDEE79D0C0E4'); + $this->addSql('ALTER TABLE store DROP FOREIGN KEY FK_FF575877F5B7AF75'); + $this->addSql('ALTER TABLE customer DROP FOREIGN KEY FK_81398E09EBF23851'); + $this->addSql('ALTER TABLE customer DROP FOREIGN KEY FK_81398E09C6BDFEB'); + $this->addSql('ALTER TABLE customer_address DROP FOREIGN KEY FK_1193CB3FF5B7AF75'); + $this->addSql('ALTER TABLE location_inheritance DROP FOREIGN KEY FK_CD045D5727ACA70'); + $this->addSql('ALTER TABLE location_inheritance DROP FOREIGN KEY FK_CD045D53D3D2749'); + $this->addSql('ALTER TABLE value DROP FOREIGN KEY FK_1D775834B6E62EFA'); + $this->addSql('ALTER TABLE product_attribute DROP FOREIGN KEY FK_94DA5976B6E62EFA'); + $this->addSql('ALTER TABLE variant_options DROP FOREIGN KEY FK_BF90D7C1A7C41D6F'); $this->addSql('ALTER TABLE cart DROP FOREIGN KEY FK_BA388B79395C3F3'); $this->addSql('ALTER TABLE orders DROP FOREIGN KEY FK_E52FFDEE9395C3F3'); $this->addSql('ALTER TABLE customer_address DROP FOREIGN KEY FK_1193CB3F9395C3F3'); $this->addSql('ALTER TABLE authorization DROP FOREIGN KEY FK_7A6D8BEFA76ED395'); - $this->addSql('ALTER TABLE cart_line DROP FOREIGN KEY FK_3EF1B4CF4584665A'); - $this->addSql('ALTER TABLE order_line DROP FOREIGN KEY FK_9CE58EE14584665A'); - $this->addSql('ALTER TABLE product_category DROP FOREIGN KEY FK_CDFC73564584665A'); - $this->addSql('ALTER TABLE product_image DROP FOREIGN KEY FK_64617F034584665A'); + $this->addSql('ALTER TABLE cart_line DROP FOREIGN KEY FK_3EF1B4CF9778C508'); + $this->addSql('ALTER TABLE order_line DROP FOREIGN KEY FK_9CE58EE19778C508'); + $this->addSql('ALTER TABLE purchasable_image DROP FOREIGN KEY FK_3A78D4124584665A'); + $this->addSql('ALTER TABLE purchasable_category DROP FOREIGN KEY FK_F98077AD9778C508'); + $this->addSql('ALTER TABLE product DROP FOREIGN KEY FK_D34A04ADBF396750'); + $this->addSql('ALTER TABLE variant DROP FOREIGN KEY FK_F143BFADBF396750'); + $this->addSql('ALTER TABLE pack DROP FOREIGN KEY FK_97DE5E23BF396750'); + $this->addSql('ALTER TABLE pack_purchasable DROP FOREIGN KEY FK_8D846279778C508'); $this->addSql('ALTER TABLE product_attribute DROP FOREIGN KEY FK_94DA59764584665A'); $this->addSql('ALTER TABLE variant DROP FOREIGN KEY FK_F143BFAD4584665A'); - $this->addSql('ALTER TABLE cart_line DROP FOREIGN KEY FK_3EF1B4CF3B69A9AF'); - $this->addSql('ALTER TABLE order_line DROP FOREIGN KEY FK_9CE58EE13B69A9AF'); $this->addSql('ALTER TABLE product DROP FOREIGN KEY FK_D34A04ADE2560A82'); $this->addSql('ALTER TABLE variant_options DROP FOREIGN KEY FK_BF90D7C13B69A9AF'); - $this->addSql('ALTER TABLE variant_image DROP FOREIGN KEY FK_45B79B023B69A9AF'); - $this->addSql('ALTER TABLE product DROP FOREIGN KEY FK_D34A04AD5740FE34'); - $this->addSql('ALTER TABLE product_category DROP FOREIGN KEY FK_CDFC735612469DE2'); + $this->addSql('ALTER TABLE pack_purchasable DROP FOREIGN KEY FK_8D846271919B217'); + $this->addSql('ALTER TABLE purchasable DROP FOREIGN KEY FK_FC2E9BFE5740FE34'); + $this->addSql('ALTER TABLE purchasable_category DROP FOREIGN KEY FK_F98077AD12469DE2'); $this->addSql('ALTER TABLE category DROP FOREIGN KEY FK_64C19C1727ACA70'); - $this->addSql('ALTER TABLE product DROP FOREIGN KEY FK_D34A04ADA23B42D'); + $this->addSql('ALTER TABLE purchasable DROP FOREIGN KEY FK_FC2E9BFEA23B42D'); $this->addSql('ALTER TABLE manufacturer_image DROP FOREIGN KEY FK_CE63904F4584665A'); $this->addSql('ALTER TABLE orders DROP FOREIGN KEY FK_E52FFDEEAD8238BF'); $this->addSql('ALTER TABLE orders DROP FOREIGN KEY FK_E52FFDEE5B8FCE3F'); $this->addSql('ALTER TABLE shipping_state_lines DROP FOREIGN KEY FK_B1F98F39B1B0FE4'); $this->addSql('ALTER TABLE payment_state_lines DROP FOREIGN KEY FK_CB1ED840B1B0FE4'); - $this->addSql('ALTER TABLE cart DROP FOREIGN KEY FK_BA388B7EBF23851'); - $this->addSql('ALTER TABLE cart DROP FOREIGN KEY FK_BA388B779D0C0E4'); - $this->addSql('ALTER TABLE orders DROP FOREIGN KEY FK_E52FFDEEEBF23851'); - $this->addSql('ALTER TABLE orders DROP FOREIGN KEY FK_E52FFDEE79D0C0E4'); - $this->addSql('ALTER TABLE customer DROP FOREIGN KEY FK_81398E09EBF23851'); - $this->addSql('ALTER TABLE customer DROP FOREIGN KEY FK_81398E09C6BDFEB'); - $this->addSql('ALTER TABLE customer_address DROP FOREIGN KEY FK_1193CB3FF5B7AF75'); - $this->addSql('ALTER TABLE store DROP FOREIGN KEY FK_FF575877F5B7AF75'); - $this->addSql('ALTER TABLE location_inheritance DROP FOREIGN KEY FK_CD045D5727ACA70'); - $this->addSql('ALTER TABLE location_inheritance DROP FOREIGN KEY FK_CD045D53D3D2749'); - $this->addSql('ALTER TABLE product_attribute DROP FOREIGN KEY FK_94DA5976B6E62EFA'); - $this->addSql('ALTER TABLE value DROP FOREIGN KEY FK_1D775834B6E62EFA'); - $this->addSql('ALTER TABLE variant_options DROP FOREIGN KEY FK_BF90D7C1A7C41D6F'); $this->addSql('ALTER TABLE shipping_range DROP FOREIGN KEY FK_7D1887F31972DC04'); $this->addSql('ALTER TABLE shipping_range DROP FOREIGN KEY FK_7D1887F311B4025E'); $this->addSql('ALTER TABLE carrier DROP FOREIGN KEY FK_4739F11CB2A824D8'); @@ -304,26 +287,28 @@ public function down(Schema $schema) $this->addSql('DROP TABLE currency_exchange_rate'); $this->addSql('DROP TABLE language'); $this->addSql('DROP TABLE image'); + $this->addSql('DROP TABLE address'); + $this->addSql('DROP TABLE location'); + $this->addSql('DROP TABLE location_inheritance'); + $this->addSql('DROP TABLE attribute'); + $this->addSql('DROP TABLE value'); + $this->addSql('DROP TABLE store'); $this->addSql('DROP TABLE admin_user'); $this->addSql('DROP TABLE customer'); $this->addSql('DROP TABLE customer_address'); + $this->addSql('DROP TABLE purchasable'); + $this->addSql('DROP TABLE purchasable_image'); + $this->addSql('DROP TABLE purchasable_category'); $this->addSql('DROP TABLE product'); - $this->addSql('DROP TABLE product_category'); - $this->addSql('DROP TABLE product_image'); $this->addSql('DROP TABLE product_attribute'); $this->addSql('DROP TABLE variant'); $this->addSql('DROP TABLE variant_options'); - $this->addSql('DROP TABLE variant_image'); + $this->addSql('DROP TABLE pack'); + $this->addSql('DROP TABLE pack_purchasable'); $this->addSql('DROP TABLE category'); $this->addSql('DROP TABLE manufacturer'); $this->addSql('DROP TABLE manufacturer_image'); $this->addSql('DROP TABLE state_line'); - $this->addSql('DROP TABLE store'); - $this->addSql('DROP TABLE address'); - $this->addSql('DROP TABLE location'); - $this->addSql('DROP TABLE location_inheritance'); - $this->addSql('DROP TABLE attribute'); - $this->addSql('DROP TABLE value'); $this->addSql('DROP TABLE zone'); $this->addSql('DROP TABLE tax'); $this->addSql('DROP TABLE entity_translation'); diff --git a/app/config/common/translations.yml b/app/config/common/translations.yml index b2272b40..a682d14d 100644 --- a/app/config/common/translations.yml +++ b/app/config/common/translations.yml @@ -4,8 +4,8 @@ elcodi_entity_translator: master_locale: %locale% fallback: true configuration: - Elcodi\Component\Product\Entity\Interfaces\ProductInterface: - alias: product + Elcodi\Component\Product\Entity\Interfaces\PurchasableInterface: + alias: purchasable fields: name: ~ slug: ~ diff --git a/composer.json b/composer.json index ce2857f0..de9b4f37 100644 --- a/composer.json +++ b/composer.json @@ -57,7 +57,7 @@ "guzzlehttp/guzzle": "^5.2", "ornicar/gravatar-bundle" : "1.1.3", - "knplabs/knp-gaufrette-bundle": "^0.1.7", + "knplabs/knp-gaufrette-bundle": "^0.3.0", "incenteev/composer-parameter-handler": "^2.0", "hwi/oauth-bundle": "^0.4.0", "snc/redis-bundle": "^1.1.9", @@ -70,8 +70,8 @@ "mmoreram/http-headers-bundle": "1.0.0", "mmoreram/symfony-bundle-dependencies": "^1.1.1", - "elcodi/elcodi": "^1.0.13", - "paymentsuite/paymentsuite": "^2.0.2" + "elcodi/elcodi": "^2.0.1", + "paymentsuite/paymentsuite": "^2.0.3" }, "replace": { "elcodi-templates/template": "self.version", @@ -97,10 +97,10 @@ "behat/mink-browserkit-driver": "^1.2", "behat/mink-selenium2-driver": "^1.2", "behat/mink": "^1.6", - "phpunit/phpunit": "4.5.0", + "phpunit/phpunit": "4.8.19", "mmoreram/php-formatter": "1.1.0", - "mmoreram/translation-server": "^1.0", + "mmoreram/translation-server": "^1.0.1", "fabpot/php-cs-fixer": "1.4.2", "visithor/visithor-bundle": "^0.2.0" }, @@ -109,11 +109,11 @@ }, "scripts": { "check-style": [ - "bin/php-cs-fixer fix --config-file=.php_cs", - "bin/php-formatter f:u:s src", - "bin/php-formatter f:u:s app", - "bin/php-formatter f:h:f src", - "bin/php-formatter f:h:f app" + "bin/php-cs-fixer fix --config-file=.php_cs || true", + "bin/php-formatter f:u:s src || true", + "bin/php-formatter f:u:s app || true", + "bin/php-formatter f:h:f src || true", + "bin/php-formatter f:h:f app || true" ], "compile": [ "app/console -n doctrine:migrations:status", diff --git a/composer.lock b/composer.lock index e9f0c99a..b06ad749 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,8 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "8a230a1cf2147a4d66e458cf23d8805f", - "content-hash": "d48025e15f61e662946e942d0dbbddf7", + "hash": "99d7119526296bc3b521caa0410df3e5", + "content-hash": "35e774ea790b9f2bc9e136bd49f1afb3", "packages": [ { "name": "acasademont/i18n-routing-bundle", @@ -554,16 +554,16 @@ }, { "name": "doctrine/doctrine-cache-bundle", - "version": "1.2.2", + "version": "1.3.0", "source": { "type": "git", "url": "https://github.com/doctrine/DoctrineCacheBundle.git", - "reference": "030ff41ef1db66370b36467086bfb817a661fe6a" + "reference": "18c600a9b82f6454d2e81ca4957cdd56a1cf3504" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/DoctrineCacheBundle/zipball/030ff41ef1db66370b36467086bfb817a661fe6a", - "reference": "030ff41ef1db66370b36467086bfb817a661fe6a", + "url": "https://api.github.com/repos/doctrine/DoctrineCacheBundle/zipball/18c600a9b82f6454d2e81ca4957cdd56a1cf3504", + "reference": "18c600a9b82f6454d2e81ca4957cdd56a1cf3504", "shasum": "" }, "require": { @@ -577,6 +577,7 @@ "instaclick/object-calisthenics-sniffs": "dev-master", "instaclick/symfony2-coding-standard": "dev-remaster", "phpunit/phpunit": "~4", + "predis/predis": "~0.8", "satooshi/php-coveralls": "~0.6.1", "squizlabs/php_codesniffer": "~1.5", "symfony/console": "~2.2|~3.0", @@ -637,7 +638,7 @@ "cache", "caching" ], - "time": "2015-11-27 04:59:07" + "time": "2016-01-26 17:28:51" }, { "name": "doctrine/doctrine-fixtures-bundle", @@ -931,21 +932,22 @@ }, { "name": "doctrine/migrations", - "version": "v1.2.2", + "version": "v1.3.0", "source": { "type": "git", "url": "https://github.com/doctrine/migrations.git", - "reference": "6b70c2c4484c02878743929bb3cd3fdbf41193a6" + "reference": "2ce8d87d4247e4b87cc5905ea5f8446b12bd9b5b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/migrations/zipball/6b70c2c4484c02878743929bb3cd3fdbf41193a6", - "reference": "6b70c2c4484c02878743929bb3cd3fdbf41193a6", + "url": "https://api.github.com/repos/doctrine/migrations/zipball/2ce8d87d4247e4b87cc5905ea5f8446b12bd9b5b", + "reference": "2ce8d87d4247e4b87cc5905ea5f8446b12bd9b5b", "shasum": "" }, "require": { "doctrine/dbal": "~2.2", - "php": ">=5.4.0", + "ocramius/proxy-manager": "^1.0", + "php": "^5.5|^7.0", "symfony/console": "~2.3|~3.0", "symfony/yaml": "~2.3|~3.0" }, @@ -963,7 +965,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "v1.1.x-dev" + "dev-master": "v1.4.x-dev" } }, "autoload": { @@ -995,7 +997,7 @@ "database", "migrations" ], - "time": "2016-01-07 21:28:50" + "time": "2016-01-23 09:49:17" }, { "name": "doctrine/orm", @@ -1075,16 +1077,16 @@ }, { "name": "elcodi/elcodi", - "version": "v1.0.15", + "version": "v2.0.1", "source": { "type": "git", "url": "https://github.com/elcodi/elcodi.git", - "reference": "6ff2ac65b211f9afd84e851facabf322704914b4" + "reference": "30263f24b675f12baca635487d8f11cf251bcf66" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/elcodi/elcodi/zipball/6ff2ac65b211f9afd84e851facabf322704914b4", - "reference": "6ff2ac65b211f9afd84e851facabf322704914b4", + "url": "https://api.github.com/repos/elcodi/elcodi/zipball/30263f24b675f12baca635487d8f11cf251bcf66", + "reference": "30263f24b675f12baca635487d8f11cf251bcf66", "shasum": "" }, "require": { @@ -1095,7 +1097,7 @@ "goodby/csv": "^1.0", "guzzlehttp/guzzle": "^5.2", "ircmaxell/password-compat": "^1.0", - "knplabs/knp-gaufrette-bundle": "^0.1.7", + "knplabs/knp-gaufrette-bundle": "^0.3.0", "mmoreram/extractor": "^1.2.0", "mmoreram/simple-doctrine-mapping": "^1.0", "mmoreram/symfony-bundle-dependencies": "^1.1.1", @@ -1138,8 +1140,6 @@ "elcodi/cart-shipping-bundle": "self.version", "elcodi/comment": "self.version", "elcodi/comment-bundle": "self.version", - "elcodi/configuration": "self.version", - "elcodi/configuration-bundle": "self.version", "elcodi/core": "self.version", "elcodi/core-bundle": "self.version", "elcodi/coupon": "self.version", @@ -1195,7 +1195,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -1232,7 +1232,7 @@ "elcodi", "symfony" ], - "time": "2016-01-18 12:39:59" + "time": "2016-01-31 01:18:33" }, { "name": "goodby/csv", @@ -2056,16 +2056,16 @@ }, { "name": "knplabs/gaufrette", - "version": "v0.1.9", + "version": "0.2.0", "source": { "type": "git", "url": "https://github.com/KnpLabs/Gaufrette.git", - "reference": "4c73bb66ff41d7c9beb57372a82047cf5dcc6d1c" + "reference": "9d52413665284f9c96e0cef399fc14e68ac0aa5a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/KnpLabs/Gaufrette/zipball/4c73bb66ff41d7c9beb57372a82047cf5dcc6d1c", - "reference": "4c73bb66ff41d7c9beb57372a82047cf5dcc6d1c", + "url": "https://api.github.com/repos/KnpLabs/Gaufrette/zipball/9d52413665284f9c96e0cef399fc14e68ac0aa5a", + "reference": "9d52413665284f9c96e0cef399fc14e68ac0aa5a", "shasum": "" }, "require": { @@ -2136,41 +2136,40 @@ "filesystem", "media" ], - "time": "2015-03-09 08:06:57" + "time": "2015-05-26 08:25:40" }, { "name": "knplabs/knp-gaufrette-bundle", - "version": "v0.1.7", - "target-dir": "Knp/Bundle/GaufretteBundle", + "version": "0.3.0", "source": { "type": "git", "url": "https://github.com/KnpLabs/KnpGaufretteBundle.git", - "reference": "f33008584345452c3122bb4eaac0ded1d6084c51" + "reference": "44cf552e14031517516458b0e394f16dd36a131b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/KnpLabs/KnpGaufretteBundle/zipball/f33008584345452c3122bb4eaac0ded1d6084c51", - "reference": "f33008584345452c3122bb4eaac0ded1d6084c51", + "url": "https://api.github.com/repos/KnpLabs/KnpGaufretteBundle/zipball/44cf552e14031517516458b0e394f16dd36a131b", + "reference": "44cf552e14031517516458b0e394f16dd36a131b", "shasum": "" }, "require": { - "knplabs/gaufrette": "~0.1.7", - "symfony/framework-bundle": "2.*" + "knplabs/gaufrette": "~0.1.7|~0.2", + "symfony/framework-bundle": "~2.0|~3.0" }, "require-dev": { - "phpunit/phpunit": "3.7.*", - "symfony/console": "2.*", - "symfony/yaml": "2.*" + "phpunit/phpunit": "~4.2", + "symfony/console": "~2.0|~3.0", + "symfony/yaml": "~2.0|~3.0" }, "type": "symfony-bundle", "extra": { "branch-alias": { - "dev-master": "0.2.x-dev" + "dev-master": "0.4.x-dev" } }, "autoload": { - "psr-0": { - "Knp\\Bundle\\GaufretteBundle": "" + "psr-4": { + "Knp\\Bundle\\GaufretteBundle\\": "" } }, "notification-url": "https://packagist.org/downloads/", @@ -2178,14 +2177,13 @@ "MIT" ], "authors": [ - { - "name": "Antoine Hérault", - "email": "antoine.herault@gmail.com", - "homepage": "https://github.com/Herzult" - }, { "name": "The contributors", "homepage": "https://github.com/knplabs/KnpGaufretteBundle/contributors" + }, + { + "name": "Antoine Hérault", + "email": "antoine.herault@gmail.com" } ], "description": "Allows to easily use the Gaufrette library in a Symfony project", @@ -2196,7 +2194,7 @@ "filesystem", "media" ], - "time": "2014-03-24 22:15:03" + "time": "2016-01-16 00:12:11" }, { "name": "kriswallsmith/assetic", @@ -2325,20 +2323,20 @@ }, { "name": "mmoreram/cache-flush-bundle", - "version": "v0.2.0", + "version": "v0.2.1", "source": { "type": "git", "url": "https://github.com/mmoreram/CacheFlushBundle.git", - "reference": "c88fa902b877447fc0ae843eb9f1bac397f769e7" + "reference": "2f569c49df9dae08406a1e2195a9cfc1ed16f124" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mmoreram/CacheFlushBundle/zipball/c88fa902b877447fc0ae843eb9f1bac397f769e7", - "reference": "c88fa902b877447fc0ae843eb9f1bac397f769e7", + "url": "https://api.github.com/repos/mmoreram/CacheFlushBundle/zipball/2f569c49df9dae08406a1e2195a9cfc1ed16f124", + "reference": "2f569c49df9dae08406a1e2195a9cfc1ed16f124", "shasum": "" }, "require": { - "elcodi/core-bundle": "^1.0", + "elcodi/core-bundle": "^1.0|^2.0", "php": "^5.4|^7.0", "symfony/dependency-injection": "^2.7|^3.0", "symfony/event-dispatcher": "^2.7|^3.0", @@ -2368,7 +2366,7 @@ "cache", "flush" ], - "time": "2015-11-18 20:16:42" + "time": "2016-01-30 22:47:40" }, { "name": "mmoreram/controller-extra-bundle", @@ -2863,16 +2861,16 @@ }, { "name": "paragonie/random_compat", - "version": "1.1.5", + "version": "1.1.6", "source": { "type": "git", "url": "https://github.com/paragonie/random_compat.git", - "reference": "dd8998b7c846f6909f4e7a5f67fabebfc412a4f7" + "reference": "e6f80ab77885151908d0ec743689ca700886e8b0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paragonie/random_compat/zipball/dd8998b7c846f6909f4e7a5f67fabebfc412a4f7", - "reference": "dd8998b7c846f6909f4e7a5f67fabebfc412a4f7", + "url": "https://api.github.com/repos/paragonie/random_compat/zipball/e6f80ab77885151908d0ec743689ca700886e8b0", + "reference": "e6f80ab77885151908d0ec743689ca700886e8b0", "shasum": "" }, "require": { @@ -2907,20 +2905,20 @@ "pseudorandom", "random" ], - "time": "2016-01-06 13:31:20" + "time": "2016-01-29 16:19:52" }, { "name": "paymentsuite/paymentsuite", - "version": "v2.0.2", + "version": "v2.0.3", "source": { "type": "git", "url": "https://github.com/PaymentSuite/paymentsuite.git", - "reference": "27c389f796fb61c3e41a6c4806942e64772e587b" + "reference": "ec47e7de903c1a853acf81ed4bd5e5ace3a5d03b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PaymentSuite/paymentsuite/zipball/27c389f796fb61c3e41a6c4806942e64772e587b", - "reference": "27c389f796fb61c3e41a6c4806942e64772e587b", + "url": "https://api.github.com/repos/PaymentSuite/paymentsuite/zipball/ec47e7de903c1a853acf81ed4bd5e5ace3a5d03b", + "reference": "ec47e7de903c1a853acf81ed4bd5e5ace3a5d03b", "shasum": "" }, "require": { @@ -2946,8 +2944,8 @@ "paymentsuite/stripe-bundle": "self.version" }, "require-dev": { - "elcodi/fixtures-booster-bundle": "^1.0", - "elcodi/test-common-bundle": "^1.0", + "elcodi/fixtures-booster-bundle": "^2.0", + "elcodi/test-common-bundle": "^2.0", "fabpot/php-cs-fixer": "1.11", "mmoreram/php-formatter": "1.1.0", "phpunit/phpunit": "^4.8.19" @@ -2984,7 +2982,7 @@ "paymentsuite", "symfony" ], - "time": "2016-01-19 17:35:31" + "time": "2016-01-30 23:03:34" }, { "name": "phpcollection/phpcollection", @@ -3425,29 +3423,29 @@ }, { "name": "snc/redis-bundle", - "version": "1.1.9", + "version": "1.1.10", "target-dir": "Snc/RedisBundle", "source": { "type": "git", "url": "https://github.com/snc/SncRedisBundle.git", - "reference": "77f65e3d86a5e21b9bf3710d7e021595df2b6417" + "reference": "3b11bdc877f470fa8a1e728ada48c62c0d33e0ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/snc/SncRedisBundle/zipball/77f65e3d86a5e21b9bf3710d7e021595df2b6417", - "reference": "77f65e3d86a5e21b9bf3710d7e021595df2b6417", + "url": "https://api.github.com/repos/snc/SncRedisBundle/zipball/3b11bdc877f470fa8a1e728ada48c62c0d33e0ed", + "reference": "3b11bdc877f470fa8a1e728ada48c62c0d33e0ed", "shasum": "" }, "require": { "php": ">=5.3.3", - "symfony/framework-bundle": ">=2.1,<3.0", - "symfony/yaml": ">=2.1,<3.0" + "symfony/framework-bundle": "^2.1", + "symfony/yaml": "^2.1" }, "require-dev": { - "doctrine/cache": "1.*", - "phpunit/phpunit": "4.*", - "predis/predis": "~1.0", - "symfony/console": ">=2.1,<3.0" + "doctrine/cache": "^1.0", + "phpunit/phpunit": "^4.0", + "predis/predis": "^1.0", + "symfony/console": "^2.1" }, "suggest": { "monolog/monolog": "If you want to use the monolog redis handler.", @@ -3481,7 +3479,7 @@ "redis", "symfony" ], - "time": "2015-06-30 09:08:50" + "time": "2016-01-21 18:29:37" }, { "name": "stripe/stripe-php", @@ -3956,16 +3954,16 @@ }, { "name": "twig/twig", - "version": "v1.23.3", + "version": "v1.24.0", "source": { "type": "git", "url": "https://github.com/twigphp/Twig.git", - "reference": "ae53fc2c312fdee63773b75cb570304f85388b08" + "reference": "3e5aa30ebfbafd5951fb1b01e338e1800ce7e0e8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/twigphp/Twig/zipball/ae53fc2c312fdee63773b75cb570304f85388b08", - "reference": "ae53fc2c312fdee63773b75cb570304f85388b08", + "url": "https://api.github.com/repos/twigphp/Twig/zipball/3e5aa30ebfbafd5951fb1b01e338e1800ce7e0e8", + "reference": "3e5aa30ebfbafd5951fb1b01e338e1800ce7e0e8", "shasum": "" }, "require": { @@ -3978,7 +3976,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.23-dev" + "dev-master": "1.24-dev" } }, "autoload": { @@ -4013,7 +4011,7 @@ "keywords": [ "templating" ], - "time": "2016-01-11 14:02:19" + "time": "2016-01-25 21:22:18" }, { "name": "zendframework/zend-code", @@ -4768,20 +4766,20 @@ }, { "name": "mmoreram/translation-server", - "version": "v1.0.0", + "version": "v1.0.1", "source": { "type": "git", "url": "https://github.com/mmoreram/translation-server.git", - "reference": "a599a5ee6179895e4850cbb2f3e10522f9b53c8b" + "reference": "05492f46072dd7dfdc951a12b6b28bb38de0fef4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mmoreram/translation-server/zipball/a599a5ee6179895e4850cbb2f3e10522f9b53c8b", - "reference": "a599a5ee6179895e4850cbb2f3e10522f9b53c8b", + "url": "https://api.github.com/repos/mmoreram/translation-server/zipball/05492f46072dd7dfdc951a12b6b28bb38de0fef4", + "reference": "05492f46072dd7dfdc951a12b6b28bb38de0fef4", "shasum": "" }, "require": { - "elcodi/core": "^1.0.2", + "elcodi/core": "^1.0.2|^2.0", "php": "^5.4|^7.0", "stichoza/google-translate-php": "^3.1", "symfony/console": "^2.7|^3.0", @@ -4827,7 +4825,7 @@ "server", "translation" ], - "time": "2015-11-28 20:51:35" + "time": "2016-01-30 22:21:07" }, { "name": "phpdocumentor/reflection-docblock", @@ -4880,21 +4878,22 @@ }, { "name": "phpspec/prophecy", - "version": "v1.3.1", + "version": "v1.5.0", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "9ca52329bcdd1500de24427542577ebf3fc2f1c9" + "reference": "4745ded9307786b730d7a60df5cb5a6c43cf95f7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/9ca52329bcdd1500de24427542577ebf3fc2f1c9", - "reference": "9ca52329bcdd1500de24427542577ebf3fc2f1c9", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/4745ded9307786b730d7a60df5cb5a6c43cf95f7", + "reference": "4745ded9307786b730d7a60df5cb5a6c43cf95f7", "shasum": "" }, "require": { - "doctrine/instantiator": "~1.0,>=1.0.2", - "phpdocumentor/reflection-docblock": "~2.0" + "doctrine/instantiator": "^1.0.2", + "phpdocumentor/reflection-docblock": "~2.0", + "sebastian/comparator": "~1.1" }, "require-dev": { "phpspec/phpspec": "~2.0" @@ -4902,7 +4901,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.2.x-dev" + "dev-master": "1.4.x-dev" } }, "autoload": { @@ -4926,7 +4925,7 @@ } ], "description": "Highly opinionated mocking framework for PHP 5.3+", - "homepage": "http://phpspec.org", + "homepage": "https://github.com/phpspec/prophecy", "keywords": [ "Double", "Dummy", @@ -4935,7 +4934,7 @@ "spy", "stub" ], - "time": "2014-11-17 16:23:49" + "time": "2015-08-13 10:07:40" }, { "name": "phpunit/php-code-coverage", @@ -5001,31 +5000,33 @@ }, { "name": "phpunit/php-file-iterator", - "version": "1.3.4", + "version": "1.4.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "acd690379117b042d1c8af1fafd61bde001bf6bb" + "reference": "6150bf2c35d3fc379e50c7602b75caceaa39dbf0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/acd690379117b042d1c8af1fafd61bde001bf6bb", - "reference": "acd690379117b042d1c8af1fafd61bde001bf6bb", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/6150bf2c35d3fc379e50c7602b75caceaa39dbf0", + "reference": "6150bf2c35d3fc379e50c7602b75caceaa39dbf0", "shasum": "" }, "require": { "php": ">=5.3.3" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.4.x-dev" + } + }, "autoload": { "classmap": [ - "File/" + "src/" ] }, "notification-url": "https://packagist.org/downloads/", - "include-path": [ - "" - ], "license": [ "BSD-3-Clause" ], @@ -5042,7 +5043,7 @@ "filesystem", "iterator" ], - "time": "2013-10-10 15:34:57" + "time": "2015-06-21 13:08:43" }, { "name": "phpunit/php-text-template", @@ -5177,16 +5178,16 @@ }, { "name": "phpunit/phpunit", - "version": "4.5.0", + "version": "4.8.19", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "5b578d3865a9128b9c209b011fda6539ec06e7a5" + "reference": "b2caaf8947aba5e002d42126723e9d69795f32b4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/5b578d3865a9128b9c209b011fda6539ec06e7a5", - "reference": "5b578d3865a9128b9c209b011fda6539ec06e7a5", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/b2caaf8947aba5e002d42126723e9d69795f32b4", + "reference": "b2caaf8947aba5e002d42126723e9d69795f32b4", "shasum": "" }, "require": { @@ -5196,19 +5197,19 @@ "ext-reflection": "*", "ext-spl": "*", "php": ">=5.3.3", - "phpspec/prophecy": "~1.3.1", - "phpunit/php-code-coverage": "~2.0", - "phpunit/php-file-iterator": "~1.3.2", + "phpspec/prophecy": "^1.3.1", + "phpunit/php-code-coverage": "~2.1", + "phpunit/php-file-iterator": "~1.4", "phpunit/php-text-template": "~1.2", - "phpunit/php-timer": "~1.0.2", + "phpunit/php-timer": ">=1.0.6", "phpunit/phpunit-mock-objects": "~2.3", "sebastian/comparator": "~1.1", - "sebastian/diff": "~1.1", - "sebastian/environment": "~1.2", + "sebastian/diff": "~1.2", + "sebastian/environment": "~1.3", "sebastian/exporter": "~1.2", "sebastian/global-state": "~1.0", "sebastian/version": "~1.0", - "symfony/yaml": "~2.0" + "symfony/yaml": "~2.1|~3.0" }, "suggest": { "phpunit/php-invoker": "~1.1" @@ -5219,7 +5220,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.5.x-dev" + "dev-master": "4.8.x-dev" } }, "autoload": { @@ -5245,7 +5246,7 @@ "testing", "xunit" ], - "time": "2015-02-05 15:51:19" + "time": "2015-11-30 08:18:59" }, { "name": "phpunit/phpunit-mock-objects", diff --git a/features/admin/product.feature b/features/admin/product.feature index f62cec13..8fe049b5 100644 --- a/features/admin/product.feature +++ b/features/admin/product.feature @@ -8,9 +8,7 @@ Feature: Admin product Given In admin, I am logged as "admin@admin.com" - "1234" When I go to "/admin/products" Then the response should contain a "product-1" test attribute - And the response should contain a "product-2" test attribute And the response should contain a "product-18" test attribute - And the response should not contain a "product-19" test attribute And the response should contain a "new-product" test attribute Scenario: Add a new product diff --git a/features/store/cart.feature b/features/store/cart.feature index 450c7aa2..d26241f5 100644 --- a/features/store/cart.feature +++ b/features/store/cart.feature @@ -9,7 +9,7 @@ Feature: Store cart Then the response should contain a "empty-cart" test attribute Scenario: Add a product - Given I am on "/cart/product/10/add" + Given I am on "/cart/purchasable/10/add" Then I should be on "/cart" And the response should not contain a "empty-cart" test attribute diff --git a/features/store/coupon.feature b/features/store/coupon.feature index 7fa3bd1c..127b7d64 100644 --- a/features/store/coupon.feature +++ b/features/store/coupon.feature @@ -10,7 +10,7 @@ Feature: Store coupon And the response should not contain a "coupon-add" test attribute Scenario: Apply a coupon - Given I am on "/cart/product/10/add" + Given I am on "/cart/purchasable/10/add" When I go to "/cart" And the page does not contain a "coupon-item" test attribute And I fill in "store_cart_coupon_form_type_coupon_apply_code" with "5euros" @@ -20,7 +20,7 @@ Feature: Store coupon And the response should contain "-$6.78" Scenario: Remove a coupon - Given I am on "/cart/product/10/add" + Given I am on "/cart/purchasable/10/add" When I go to "/cart" And I fill in "store_cart_coupon_form_type_coupon_apply_code" with "5euros" And I press "store_cart_coupon_form_type_coupon_apply_apply" diff --git a/features/store/pack.feature b/features/store/pack.feature new file mode 100644 index 00000000..eb67fa20 --- /dev/null +++ b/features/store/pack.feature @@ -0,0 +1,14 @@ +@store @pack +Feature: Store pack + In order to see the pack page properly + As an anonymous user + I need to be able to see some elements in the pack page + + Scenario: View the pack name + Given I am on the product 23 page + Then I should see pack 23 name + And the response should contain a "add-pack-23-to-cart" test attribute + + Scenario: Product redirection + Given I am on "pack/another-url/23" + Then I should be on "pack/pack-4-flavors-en/23" \ No newline at end of file diff --git a/features/store/product.feature b/features/store/product.feature index d21a8550..bc82f1fe 100644 --- a/features/store/product.feature +++ b/features/store/product.feature @@ -5,9 +5,9 @@ Feature: Store product I need to be able to see some elements in the product page Scenario: View the product name - Given I am on the product 1 page - Then I should see product 1 name - And the response should contain a "add-product-2-to-cart" test attribute + Given I am on the product 6 page + Then I should see product 6 name + And the response should contain a "add-product-6-to-cart" test attribute Scenario: Product redirection Given I am on "product/ibiza-lips-en-false/1" diff --git a/features/workflow/payment.feature b/features/workflow/payment.feature index 2986b4c5..16a495a2 100644 --- a/features/workflow/payment.feature +++ b/features/workflow/payment.feature @@ -10,7 +10,7 @@ Feature: Test payment When I go to "/admin/plugins" And I uncheck "enable-plugin-887ee51dc5572759c418db09b66988664f0ecbc1" And I am logged as "customer@customer.com" - "1234" - And I go to "/cart/product/2/add" + And I go to "/cart/purchasable/6/add" And I follow "Checkout" And I press "Payment" And I should not see "Card number" diff --git a/features/workflow/purchasables_in_cart.feature b/features/workflow/purchasables_in_cart.feature new file mode 100644 index 00000000..41a1b71f --- /dev/null +++ b/features/workflow/purchasables_in_cart.feature @@ -0,0 +1,20 @@ +@workflow @purchasable @cart +Feature: Purchasable in cart + In order to be able to buy purchasabes + As an admin user + I need to be able to buy purchasables + + Scenario: Buy purchasables + Given I am logged as "customer@customer.com" - "1234" + And I go to "/cart/purchasable/2/add" + And I go to "/cart/purchasable/6/add" + And I go to "/cart/purchasable/23/add" + And I follow "Checkout" + And I press "Payment" + When I go to "/cart/payment" + When I go to "/payment/free/execute" + Then I should be on "/order/1/thanks" + And I should see purchasable 2 name + And I should see purchasable 6 name + And I should see purchasable 23 name + And I should see "58.68" \ No newline at end of file diff --git a/features/workflow/shipping.feature b/features/workflow/shipping.feature deleted file mode 100644 index dcee5ee6..00000000 --- a/features/workflow/shipping.feature +++ /dev/null @@ -1,8 +0,0 @@ -@workflow @shipping -Feature: Shipping engine - In order to make the shipping engine work - As an admin user - I need to be able to create shipping rules for my carts and see that they work - - Scenario: Create a page - Given In admin, I am logged as "admin@admin.com" - "1234" \ No newline at end of file diff --git a/src/Elcodi/Admin/AttributeBundle/Controller/Component/AttributeComponentController.php b/src/Elcodi/Admin/AttributeBundle/Controller/Component/AttributeComponentController.php index 7fa3fb25..48e4020f 100644 --- a/src/Elcodi/Admin/AttributeBundle/Controller/Component/AttributeComponentController.php +++ b/src/Elcodi/Admin/AttributeBundle/Controller/Component/AttributeComponentController.php @@ -52,7 +52,7 @@ class AttributeComponentController extends AbstractAdminController * @return array Result * * @Route( - * path = "s/list/component/{page}/{limit}/{orderByField}/{orderByDirection}", + * path = "s/component/{page}/{limit}/{orderByField}/{orderByDirection}", * name = "admin_attribute_list_component", * requirements = { * "page" = "\d*", diff --git a/src/Elcodi/Admin/BannerBundle/Controller/BannerController.php b/src/Elcodi/Admin/BannerBundle/Controller/BannerController.php index 1f726ae6..0365ee24 100644 --- a/src/Elcodi/Admin/BannerBundle/Controller/BannerController.php +++ b/src/Elcodi/Admin/BannerBundle/Controller/BannerController.php @@ -122,7 +122,7 @@ public function listAction( * @return array Result * * @Route( - * path = "s/list/component/{page}/{limit}/{orderByField}/{orderByDirection}", + * path = "s/component/{page}/{limit}/{orderByField}/{orderByDirection}", * name = "admin_banner_list_component", * requirements = { * "page" = "\d*", diff --git a/src/Elcodi/Admin/BannerBundle/Controller/BannerZoneController.php b/src/Elcodi/Admin/BannerBundle/Controller/BannerZoneController.php index 8ff21dd8..450a6690 100644 --- a/src/Elcodi/Admin/BannerBundle/Controller/BannerZoneController.php +++ b/src/Elcodi/Admin/BannerBundle/Controller/BannerZoneController.php @@ -103,7 +103,7 @@ public function listAction( * @return array Result * * @Route( - * path = "s/list/component/{page}/{limit}/{orderByField}/{orderByDirection}", + * path = "s/component/{page}/{limit}/{orderByField}/{orderByDirection}", * name = "admin_banner_zone_list_component", * requirements = { * "page" = "\d*", diff --git a/src/Elcodi/Admin/CartBundle/Controller/Component/CustomerOrderComponentController.php b/src/Elcodi/Admin/CartBundle/Controller/Component/CustomerOrderComponentController.php index ba02d80f..a917aac3 100644 --- a/src/Elcodi/Admin/CartBundle/Controller/Component/CustomerOrderComponentController.php +++ b/src/Elcodi/Admin/CartBundle/Controller/Component/CustomerOrderComponentController.php @@ -53,7 +53,7 @@ class CustomerOrderComponentController extends AbstractAdminController * @return array Result * * @Route( - * path = "s/list/component/{customerId}/{page}/{limit}/{orderByField}/{orderByDirection}", + * path = "s/component/{customerId}/{page}/{limit}/{orderByField}/{orderByDirection}", * name = "admin_customer_order_list_component", * requirements = { * "page" = "\d*", diff --git a/src/Elcodi/Admin/CartBundle/Controller/Component/OrderComponentController.php b/src/Elcodi/Admin/CartBundle/Controller/Component/OrderComponentController.php index 06b197de..117525d2 100644 --- a/src/Elcodi/Admin/CartBundle/Controller/Component/OrderComponentController.php +++ b/src/Elcodi/Admin/CartBundle/Controller/Component/OrderComponentController.php @@ -52,7 +52,7 @@ class OrderComponentController extends AbstractAdminController * @return array Result * * @Route( - * path = "s/list/component/{page}/{limit}/{orderByField}/{orderByDirection}", + * path = "s/component/{page}/{limit}/{orderByField}/{orderByDirection}", * name = "admin_order_list_component", * requirements = { * "page" = "\d*", diff --git a/src/Elcodi/Admin/CartBundle/Resources/views/Order/editComponent.html.twig b/src/Elcodi/Admin/CartBundle/Resources/views/Order/editComponent.html.twig index 5f8a49ec..d6451c38 100644 --- a/src/Elcodi/Admin/CartBundle/Resources/views/Order/editComponent.html.twig +++ b/src/Elcodi/Admin/CartBundle/Resources/views/Order/editComponent.html.twig @@ -22,26 +22,28 @@ {% for line in order.orderLines %} - - - {{ line.product.name }} -

ID: {{ line.product.id }}

- - {{ line.quantity }} - - {% if line.product.reducedPrice.amount > 0 %} - {{ line.product.reducedPrice|print_convert_money }} - {% else %} - {{ line.product.price|print_convert_money }} - {% endif %} - - {{ line.amount|print_convert_money }} - + {% set purchasable = line.purchasable %} + {% set purchasableName = purchasable|purchasable_name %} + + + {% if purchasable.purchasableType == 'product' %} + {{ purchasableName }} + {% elseif purchasable.purchasableType == 'purchasable_pack' %} + {{ purchasableName }} + {% else %} + {{ purchasableName }} + {% endif %} +

ID: {{ purchasable.id }}

+ + {{ line.quantity }} + {{ purchasable.resolvedPrice|print_convert_money }} + {{ line.amount|print_convert_money }} + {% endfor %} {{ 'admin.order.details.subtotal'|trans }} - {{ order.productAmount|print_convert_money }} + {{ order.purchasableAmount|print_convert_money }} {% if order.couponAmount.greatterThan(0) %} diff --git a/src/Elcodi/Admin/CoreBundle/Resources/public/js/modules/upload-gallery.js b/src/Elcodi/Admin/CoreBundle/Resources/public/js/modules/upload-gallery.js index 9bbc472e..206b12db 100644 --- a/src/Elcodi/Admin/CoreBundle/Resources/public/js/modules/upload-gallery.js +++ b/src/Elcodi/Admin/CoreBundle/Resources/public/js/modules/upload-gallery.js @@ -84,6 +84,7 @@ FrontendCore.define('upload-gallery', [ oGlobalSettings.sPathJs + '../components $('input[id=elcodi_admin_product_form_type_product_images_'+ nId +']', oContainer).click(); $('input[id=elcodi_admin_product_form_type_product_variant_images_'+ nId +']', oContainer).click(); + $('input[id=elcodi_admin_product_form_type_purchasable_pack_images_'+ nId +']', oContainer).click(); }); @@ -118,6 +119,15 @@ FrontendCore.define('upload-gallery', [ oGlobalSettings.sPathJs + '../components $(oContainer).append(oOption); } + if ($('#elcodi_admin_product_form_type_purchasable_pack_images_' + nId , oContainer).length === 0) { + oOption = document.createElement('input'); + oOption.type = 'checkbox'; + oOption.name = 'elcodi_admin_product_form_type_purchasable_pack[images][]'; + oOption.id = 'elcodi_admin_product_form_type_purchasable_pack_images_' + nId; + oOption.value = nId; + $(oContainer).append(oOption); + } + oLi.id = nId; oLi.className = 'animated fadeIn'; oLi.setAttribute('draggable','true'); diff --git a/src/Elcodi/Admin/CoreBundle/Resources/translations/messages.en.yml b/src/Elcodi/Admin/CoreBundle/Resources/translations/messages.en.yml index 8b3545fe..69bd91c7 100644 --- a/src/Elcodi/Admin/CoreBundle/Resources/translations/messages.en.yml +++ b/src/Elcodi/Admin/CoreBundle/Resources/translations/messages.en.yml @@ -73,7 +73,7 @@ admin: title: 'Login details' password: description: 'Change admin password.' - title: 'Password' + title: Password status: description: 'You can set administrators as active or inactive.' title: 'User status' @@ -374,6 +374,7 @@ admin: desktop: Desktop mobile: Mobile title: Devices + orders: orders sales: sales: Sales title: Sales @@ -531,6 +532,7 @@ admin: plural: Media single: Media menu: + custom_shipping: 'Custom Shipping' design: 'Customize Store' metadata: customize: 'Customize Metadata' @@ -747,6 +749,106 @@ admin: profile: plural: Profiles single: Profile + purchasable_pack: + edit: 'Edit "%name%"' + error: + no_category: 'Warning! This pack has no associated category' + no_manufacturer: 'Warning! This pack has no associated manufacturer' + price_negative: 'Warning! The price can not be negative' + field: + depth: + title: 'Depth (in cm)' + description: + placeholder: 'e.g. This awesome pack is exactly what you are lookin for.' + title: Description + enabled: + options: + active: Active + inactive: Inactive + title: Visibility + height: + title: 'Height (in cm)' + image: + title: Image + in_home: + title: 'Show in home' + main_category: + placeholder: 'e.g. Computers, handbags...' + title: Category + manufacturer: + placeholder: 'e.g. Apple, Disney...' + title: Manufacturer + metadescription: + placeholder: 'e.g. This awesome pack is exactly what you are lookin for.' + metakeywords: + placeholder: 'e.g. pack,awesome' + metatitle: + placeholder: 'e.g. My Awesome Pack' + name: + placeholder: 'e.g. My Awesome Pack' + title: Title + name_details: + title: 'Name & Details' + price: + title: Price + purchasables: + title: 'Pack elements' + reduced_price: + title: 'Reduced price' + sku: + placeholder: 'ej. SAU102' + title: SKU + slug: + customize: 'Customize slug' + placeholder: 'e.g. my/awesome/pack' + title: Slug + stock: + title: Stock + stock_type: + inherit_stock: Inherit + specific_stock: Specific + title: 'Stock type' + weight: + title: 'Weight (in g)' + width: + title: 'Width (in cm)' + in_store: View + list: 'Pack list' + new: 'New Pack' + note: Notes + plural: Packs + saved: 'Pack saved' + section: + basic: + description: 'Provide a very specific title for your pack that explains and help sell your pack and description that provides all the information required for your consumers.' + title: 'Basic Details' + catalog: + description: 'Define what elements should be included in this pack' + title: Catalog + categorization: + description: 'The pack must be clasified under one category and one manufacturer. They will be visible in your store and must help your customers to navigate in your store.' + title: Categorization + dimensions: + description: 'Set the dimensions and weight for your pack. This information will be useful to calculate shipping costs.' + title: Dimensions + pricing: + description: 'Set the price for your pack, without including taxes nor shipping. Also you can set an offer price.' + title: Pricing + sku: + description: 'SKU is an identifier that allows to identify the pack. Each SKU it''s related to just one pack.' + title: SKU + stock: + description: 'Configure the stock for your pack. If you define the stock as inherit, then all stocks of this pack elements will be decreased. Otherwise, you will have to define a specific stock and this one will be decreased.' + title: Stock + visibility: + description: 'Set this pack as visible or hidden, and make it visible in your home.' + title: Visibility + show_metrics: 'Show metrics' + single: Pack + tag: + in_home: Home + no_category: 'No category' + no_manufacturer: 'No manufacturer' recover_user: action: email_sent: diff --git a/src/Elcodi/Admin/CoreBundle/Resources/translations/messages.gl.yml b/src/Elcodi/Admin/CoreBundle/Resources/translations/messages.gl.yml index b5f90109..ba14f7ce 100644 --- a/src/Elcodi/Admin/CoreBundle/Resources/translations/messages.gl.yml +++ b/src/Elcodi/Admin/CoreBundle/Resources/translations/messages.gl.yml @@ -1,337 +1,399 @@ admin: - media: - plural: Media - single: Media - list: 'Lista de media' - recover_user: + UI: + show_code: 'Amosar código HTML' + show_visual: 'Agochar código HTML' + address: + edit: + billing_address: 'Enderezo de facturación para a túa tenda' + description: 'O enderezo que debería aparecer nas facturas da túa tenda. Se tes unha empresa, introducee o seu enderezo fiscal. Se non, introduce o teu enderezo físico.' field: - password: - placeholder: 'Novo contrasinal' + address: + placeholder: 'p.ex. Rúa Alegría, 42' + title: Enderezo + address_more: + placeholder: 'e.g. Empresas Alonso' + title: 'Máis enderezo (opcional)' + cif: + title: 'CIF / NIF' + city: + title: Cidade + comments: + placeholder: 'p.ex. É unha casa' + title: Comentarios + country: + title: País email: - placeholder: 'Introduce o teu correo.' - repeat_password: - placeholder: 'Repetir contrasinal' - action: - email_sent: - description: 'Por favor, comprova o teu correo e segue as instrucións para recuperar ao teu contrasinal.' - title: 'Correo enviado' - title: 'Novo contrasinal' - manufacturer: - field: - product_count: - title: Produtos - name_slug: - title: 'Nome e slug' - enabled: - options: - active: Activo - inactive: Inactivo - title: Habilitado - name: - title: 'Nome do fabricante' - placeholder: 'p.ex. Fabricante Xenial' - description: - placeholder: 'p.ex. Este fabricante xenial é exactamente o que estás buscando.' - title: Descrición - metatitle: - placeholder: 'p.ex. O meu fabricante xenial' - slug: - title: Slug - customize: 'Configura o slug' - placeholder: 'p.ex. fabricante/xenial' - image: - title: Imaxe - metakeywords: - placeholder: 'p.ex. fabricante,xenial' - metadescription: - placeholder: 'p.ex. Este fabricante xenial é xusto o que necesitas.' - single: Fabricante - list: 'Lista de fabricantes' - saved: 'Fabricante gardado' + placeholder: 'p.ex. xoan@example.com' + title: Correo + isCompany: + title: 'Tes unha empresa?' + value: + company: Empresa + individual: Individual + mobile: + placeholder: 'p.ex. 555 555 555' + title: Móbil + phone: + placeholder: 'p.ex. 935 555 555' + title: Teléfono + postalcode: + placeholder: 'p.ex. 08080' + title: 'Código postal' + province: + title: Provincia + recipient_name: + placeholder: 'p.ex. Xoan' + title: 'Nome / Empresa' + recipient_surname: + placeholder: 'p.ex. Alonso' + title: 'Apelido (opcional se é una empresa)' + save: 'Gardar enderezo' + state: + title: Estado + plural: Enderezos + saved: 'Enderezo gardado' + select: + placeholder: 'Selecciona un' + single: Enderezo + admin_user: edit: 'Editar "%name%"' + error: + cant_disable_yourself: 'Non podes deshabilitar a túa propia conta.' + cant_remove_yourself: 'Non podes borrar a túa propia conta' + list: 'Lista de administradores' + new: 'Crear novo usuario Admin' + plural: Administradores + saved: 'Cambios gardados' section: - visibility: - description: 'Configurar este fabricante coma visible ou agochado' - title: Visibilidade - logo: - title: 'Logo do fabricante' - description: 'Subir unha imaxe de logo do fabricante tan grande como sexa posible. Mellor se non contén texto adicional.' - basic: - title: 'Detalles básicos' - description: 'Proporciona un nome moi específico e tan curto coma poidas que axude aos teus usuarios a atopar o produto deste fabricante. Tamén podes engadir unha descrición que se amosará na páxina de fabricante nda tenda.' - plural: Fabricante - new: 'Novo fabricante' - communication: - single: Comunicación - plural: Comunicacións - coupon: + contact: + description: 'A información de contacto para este administrador.' + title: 'Detalles de contacto' + login: + description: 'Cada usuario debería ter un correuo único.' + title: 'Detalles de acceso' + status: + description: 'Podes activar ou desactivar administradores' + title: 'Estado do usuario' + single: Administrador + attribute: + edit: 'Editar "%name%"' field: - enforcement: - title: Modo - options: - manual: 'Aplicar manualmente' - automatic: 'Aplicar automaticamente' - code: - title: Código - placeholder: 'p.ex. OMEUCODIGO' - minimum_purchase: - title: 'Compra mínima' - used: - title: Usado - rule: - placeholder: 'Sen regras' - title: Regra - price: - title: Cantidade - description: - title: Descrición - placeholder: 'p.ex. Código desconto 10%' - type: - options: - fixed: 'Cantidade fixa' - percent: 'Porcentaxe da cantidade' - title: Tipo - discount: - title: '% total' - datetime: - title: 'Data e hora' - valid_from: - title: Desde enabled: title: Estado - stackable: - title: 'Este cupón pode aplicarse xunto con outros cupóns' - valid_to: - title: Ata - count: - title: 'Límite de uso' - status: - title: Estado - priority: - title: Prioridade - new: 'Novo cupón' + name: + placeholder: 'p.ex. Color' + title: Nome + values: Valores + list: 'Lista de atributos' + new: 'Novo atributo' + plural: Atributos + saved: 'Atributo gardado' section: - rules: - description: 'Escolle a regra para o cupón e unha compra mínima sobre a que aplicar o cupón (opcional)' - title: Regras - percent_amount: - title: 'Porcentaxe da suma' - description: 'Configura a porcentaxe do desconto directamente na cesta.' - fixed_amount: - description: 'Configura a cantidade fixa de desconto directamente na cesta.' - title: 'Cantidade fixa' - validity: - description: 'Configura o período de validez e o estado do cupón.' - title: Validez basic: - description: - - 'Configura o código do cupón (o que os usuarios deberían introducir na cesta para activar o cupón)' - - 'Configura a descrición para identificar o cupón, o tipo e o modo que se aplicará.' - title: 'Datos básicos' - saved: 'Cupón gardado' - single: Cupón - edit: 'Editar "%code%"' - plural: Cupóns - list: 'Lista de cupóns' - login: - action: - login: Acceder - remember: 'Esqueciches o teu contrasinal?' - logout: Saír - field: - password: - placeholder: 'Introduce o contrasinal' - email: - placeholder: 'Introduce o teu correo' - title: 'É necesario acceder á conta' - variant: - section: - pricing: - title: Prezos - description: 'Configura o prezo da túa variante, sen incluír impostos ou transporte. Tamén podes configurar un prezo de oferta.' + description: 'Define o nome do atributo e os seus valores (separados por comas).' + title: 'Detalles básicos' visibility: - description: 'Configura esta variable coma visible ou agochada.' + description: 'Configura a visibilidade deste atributo.' title: Visibilidade - attributes: - title: Atributos - description: 'Configura os atributos principais desta variante.' - plural: Variantes - single: Variante - field: - name: - title: 'Nome da variante' - price: - title: Prezo - reduced_price: - title: 'Prezo reducido' - enabled: - title: Estado - options: - active: Activo - inactive: Inactivo - stock: - title: Stock - options: - title: 'Selecciona un ou máis atributos:' - edit: 'Editar variante "%name%"' - saved: 'Variante gardada' - new: 'Nova variante' - list: 'Lista de variantes' - store: - saved: 'Configuración gardada.' + single: Atributo + blog: + plural: Blogs + single: Blog + blog_post: + edit: 'Editar "%name%"' field: - routingStrategy: - title: 'Formato de urls multilingüe' - custom: 'Sen prefixo para linguas, só urls traducidas' - prefix_except_default: 'Todas as urls teñen un prefixo de lingua excepto na lingua por defecto' - prefix: 'Todas as urls teñen un prefixo de lingua' - useStock: - title: 'Activar control de stocks' + content: + placeholder: 'p.ex. Esta entrada xenial do blog é o que estás a buscar.' + title: Contido enabled: - title: 'Tenda habilitada' - settings: Configuración - section: - status: - description: 'Controla se a tenda está aberta ou pechada.' - title: Estado - stock: - title: Stock - description: 'Se activas esta opción poderás configurar o stock dos teus produtos.' - advanced: - title: Avanzado - description: 'Configuración avanzada para a túa tenda.' - shipping_range: - plural: 'Rangos de envío' - field: - toPrice: - title: 'Ata prezo' - name: - title: 'Nome do rango de envío' - placeholder: 'p.ex. Entrega en 3-5 días' - price: - title: Prezo - type: - title: 'Calcularánse os prezos…' - options: - weight: 'Baseado no peso do pedido' - price: 'Baseado no prezo do pedido' - value: - price_format: 'De %from% a %to%' - title: Valor - weight_format: 'Desde %from% g a %to% g' - toWeight: - title: 'Ata peso' - fromPrice: - title: 'Desde prezo' - fromWeight: - title: 'A partir do peso' - to_zone: - title: 'A zona' + title: Habilitado + link: + title: Enlace + metadescription: + placeholder: 'p.ex. Esta entrada xenial do blog é o que estás a buscar.' + metakeywords: + placeholder: 'p.ex. blog,entrada,xenial' + metatitle: + placeholder: 'p.ex. A miña entrada xenial de blog' + path: + customize: 'Personalizar slug' + placeholder: 'p.ex. entrada/xenial/de/blog' + title: Ruta + publication_date: + title: 'Data de publicación' + title: + placeholder: 'p.ex. Entrada de blog xenial' + title: Título + in_store: 'Ver na tenda' + list: 'Lista de entradas do blog' + new: 'Crear entrada de blog' + plural: 'Entradas do blog' + saved: 'Entrada gardada' section: - pricing: - title: Prezos - description: 'Configura o prezo para este envío e define se vai ser calculado baseándose no prezo do pedido ou no peso do pedido.' basic: + description: 'Proporciona un título moi específico para a túa entrada do blog, que explique e axude a vender a entrada. A descrición debe proporcionar toda a información necesaria para os teus consumidores.' title: 'Detalles básicos' - description: 'Proporciona o nome do rango de envío e en qué zona estará dispoñible.' visibility: + description: 'Configurar esta entrada do blog coma visible ou agochada.' title: Visibilidade - description: 'Configura este rango de envío coma activo ou inactivo.' - edit: 'Editar rango "%name%"' - list: 'Lista de rangos de envío' - single: 'Rango de transporte' - saved: 'Cambios gardados' - new: 'Crear un novo rango' - dashboard: - chart_range: - yesterday: Onte - today: Hoxe - last7days: '´Últimos 7 días' - last90days: 'Últimos 90 días' - last30days: 'Últimos 30 días' - chart: - devices: - desktop: Escritorio - mobile: Móbil - title: Dispositivos - visitors: - unique: Único - title: Visitas - total: Total - traffic_source: - title: 'Fonte de tráfico' - referrals: Referrals - direct: Directo - search_engine: 'Motores de busca' - sales: - title: Vendas - sales: Vendas - cart_conversion: - payment: Pago - ordered: 'Pedido realizado' - title: 'Conversión da cesta' - cart_view: 'Vista da cesta' - billing_shipping: Facturación/Envío - single: Panel - title: Panel - plural: Paneis - view_store: 'Ver a miña tenda' + show_metrics: 'Amosar métricas' + single: 'Entrada de blog' carrier: + action: + add_shipping_range: 'Engadir rango' + edit: 'Editar "%name%"' + error: + no_active_carrier: 'Atención! Non hai transportista activo' field: - status: - title: Habilitado - name: - placeholder: 'p.ex. O mellor transportista' - title: Nome description: placeholder: 'p.ex. Mellor opción para entregas locais' title: Descrición + name: + placeholder: 'p.ex. O mellor transportista' + title: Nome + status: + title: Habilitado taxes: format: '%value% Imposto' title: Impostos + info: + shipping_rates_before_saving: 'Poderás engadir tarifas de envío tras gardar o transportista' + list: 'Lista de transportistas' + new: 'Novo transportista' + plural: Transportistas + saved: 'Cambios gardados' section: + basic: + description: 'Proporciona o nome do transportista e unha descrición interna se é necesario.' + title: 'Detalles básicos' shipping_rates: description: 'Engadir tarifas de envío' title: 'Tarifas de envío' taxes: - title: 'Taxas de transporte' description: 'Os impostos que se aplicarán a este transportista.' - basic: - title: 'Detalles básicos' - description: 'Proporciona o nome do transportista e unha descrición interna se é necesario.' + title: 'Taxas de transporte' visibility: description: 'Configura este transportista como habilitado ou deshabilitado.' title: Visibilidade - saved: 'Cambios gardados' - edit: 'Editar "%name%"' - error: - no_active_carrier: 'Atención! Non hai transportista activo' - plural: Transportistas single: Transportista - list: 'Lista de transportistas' - new: 'Novo transportista' - info: - shipping_rates_before_saving: 'Poderás engadir tarifas de envío tras gardar o transportista' - action: - add_shipping_range: 'Engadir rango' - metadata: - section: - metadata: - description: 'A descripción e palabras clave nas etiquetas meta eserven para describir o contido da páxina. A maioría dos motores de búsqueda usan estes datos ao engadir a páxina ao seu índice de buscas.' - title: Metadata + catalog: + plural: Catálogos + single: Catlálogo + categorization: + plural: Categorizacións + single: Categorización + category: + edit: 'Editar "%name%"' field: + contains: + title: 'contén %count% produtos' + enabled: + options: + active: Activo + inactive: Inactivo + title: Habilitada metadescription: - title: 'Meta descrición' + placeholder: 'p.ex. Esta categoría xenial é xusto o que buscas.' metakeywords: - title: 'Meta keywords' + placeholder: 'p.ex. categoría,xenial' metatitle: - title: 'Meta title' - disclaimer: - - 'Área para usuarios avanzados.' - - 'Deixa estes campos en branco para obter automaticamente os metadatos da túa páxina.' - customize: 'Configurar metadatos' + placeholder: 'p.ex. A miña categoría xenial' + name: + placeholder: 'p.ex. A miña categoría xenial' + title: 'Nome da categoría' + parent: + title: Padre + root: + title: 'Categoría raíz' + slug: + customize: 'Axustar slug' + placeholder: 'p.ex. categoria/xenial' + title: Slug + in_store: 'Ver na tenda' + list: 'Lista de categorías' + new: 'Nova categoría' + plural: Categorías + saved: 'Categoría gardada' + section: + basic: + description: 'Proporciona un nome moi específico tan curto coma poidas que axude aos teus usuarios a atopar os produtos desta categoría.' + title: 'Detalles básicos' + categorization: + description: 'Configura a túa categoría coma raíz se non ten unha categoría nai ou se vai ser categoría nai doutras.' + title: Categorización + edit: + description: + - 'Arrastra e solta as categorías para ordealas ou aniñalas unhas dentro doutras (2 niveis máx).' + - 'Clic nunha categoría para editar.' + - 'Fai clic na papeleira para borrar unha categoría.' + title: 'Ordenar e editar' + visibility: + description: 'Configura esta categoría coma visible ou agochada.' + title: Visibilidade + single: Categoría + communication: + plural: Comunicacións + single: Comunicación + coupon: + edit: 'Editar "%code%"' + field: + code: + placeholder: 'p.ex. OMEUCODIGO' + title: Código + count: + title: 'Límite de uso' + datetime: + title: 'Data e hora' + description: + placeholder: 'p.ex. Código desconto 10%' + title: Descrición + discount: + title: '% total' + enabled: + title: Estado + enforcement: + options: + automatic: 'Aplicar automaticamente' + manual: 'Aplicar manualmente' + title: Modo + minimum_purchase: + title: 'Compra mínima' + price: + title: Cantidade + priority: + title: Prioridade + rule: + placeholder: 'Sen regras' + title: Regra + stackable: + title: 'Este cupón pode aplicarse xunto con outros cupóns' + status: + title: Estado + type: + options: + fixed: 'Cantidade fixa' + percent: 'Porcentaxe da cantidade' + title: Tipo + used: + title: Usado + valid_from: + title: Desde + valid_to: + title: Ata + list: 'Lista de cupóns' + new: 'Novo cupón' + plural: Cupóns + saved: 'Cupón gardado' + section: + basic: + description: + - 'Configura o código do cupón (o que os usuarios deberían introducir na cesta para activar o cupón)' + - 'Configura a descrición para identificar o cupón, o tipo e o modo que se aplicará.' + title: 'Datos básicos' + fixed_amount: + description: 'Configura a cantidade fixa de desconto directamente na cesta.' + title: 'Cantidade fixa' + percent_amount: + description: 'Configura a porcentaxe do desconto directamente na cesta.' + title: 'Porcentaxe da suma' + rules: + description: 'Escolle a regra para o cupón e unha compra mínima sobre a que aplicar o cupón (opcional)' + title: Regras + validity: + description: 'Configura o período de validez e o estado do cupón.' + title: Validez + single: Cupón + currency: + error: + disable_master_currency: 'Non podes deshabilitar a túa moeda mestra' + setting_disabled_master_currency: 'Non podes configurar una moeda deshabilitada coma mestra' + field: + iso: ISO + master: 'Moeda mestra' + name: Nome + status: Habilitado + symbol: Símbolo + list: 'Lista de moedas' + plural: Moedas + saved: + disabled: 'Deshabilitouse a moeda' + enabled: 'Habilitouse esta moeda' + master: 'Moeda principal gardada' + single: Moeda + customer: + edit: 'Editar "%name%"' + error: + password_change: 'Erro ao cambiar o contrasinal' + field: + guest: + title: Convidado + identity_document: + placeholder: 'p.ex. 12345678A' + title: Identidade + language: + title: 'Lingua preferida' + newsletter: + title: 'Boletín de novas' + order_count: + title: '# Pedidos' + phone: + placeholder: 'p.ex. 555 55 55 55' + title: Teléfono + username: + placeholder: 'p.e. xoan_alonso' + title: 'Nome de usuario' + info: + password_changed: 'Contrasinal cambiado con éxito' + list: 'Lista de clientes' + new: 'Crear novo cliente' + plural: Clientes + saved: 'Cambios gardados' + section: + contact: + description: 'Información de contacto para este usuario.' + title: 'Detalles de contacto' + login: + description: 'Cada usuario debería ter un ncorreo único e un nome de usuario único.' + title: 'Detalles de login' + status: + description: 'Configura o estado do usuario e as preferencias.' + title: 'Estados e preferencias' + single: Cliente + dashboard: + chart: + cart_conversion: + billing_shipping: Facturación/Envío + cart_view: 'Vista da cesta' + ordered: 'Pedido realizado' + payment: Pago + title: 'Conversión da cesta' + devices: + desktop: Escritorio + mobile: Móbil + title: Dispositivos + sales: + sales: Vendas + title: Vendas + traffic_source: + direct: Directo + referrals: Referrals + search_engine: 'Motores de busca' + title: 'Fonte de tráfico' + visitors: + title: Visitas + total: Total + unique: Único + chart_range: + last30days: 'Últimos 30 días' + last7days: '´Últimos 7 días' + last90days: 'Últimos 90 días' + today: Hoxe + yesterday: Onte + plural: Paneis + single: Panel + title: Panel + view_store: 'Ver a miña tenda' identity: - less: Menos field: leitmotiv: placeholder: 'p.ex.: produtos xeniais para persoas xeniais' @@ -339,653 +401,582 @@ admin: name: placeholder: 'p.ex. A miña tenda xenial' title: 'Nome da tenda' + less: Menos + more: Máis section: - logo: - description: 'Aquí podes engadir unha imaxe co teu logo. Por favor usa a calidaede máxima posible.' - title: Logo + backgroundImage: + description: 'Engade unha imaxe tan grande como sexa posible (cadrada ou en formato vertical) e convertirémola nunha imaxe de fondo espectacular para a túa tenda. Se engades unha imaxe de fondo é mellor non usar unha imaxe de cabeceira.' + title: 'Imaxe de fondo' headerImage: description: 'Engade unha imaxe de fondo á cabeceira da túa tenda.' title: 'Imaxe de cabeceira' info: - title: 'Información básica' description: 'Proporciona o nome da túa tenda e un lema (optional).' + title: 'Información básica' + logo: + description: 'Aquí podes engadir unha imaxe co teu logo. Por favor usa a calidaede máxima posible.' + title: Logo mobileLogo: description: 'Amosaremos esta imaxe aos clientes que usen un móbil para navegar pola tenda. É opcional, pero se queres mellorar a experiencia co móbil, podes facelo.' title: 'Logo para o móbil' - backgroundImage: - title: 'Imaxe de fondo' - description: 'Engade unha imaxe tan grande como sexa posible (cadrada ou en formato vertical) e convertirémola nunha imaxe de fondo espectacular para a túa tenda. Se engades unha imaxe de fondo é mellor non usar unha imaxe de cabeceira.' secondaryLogo: - title: 'Logo para o pé' description: 'Se queres personalizar o logo do pé (opcional) podes facelo.' + title: 'Logo para o pé' singular: 'Imaxe corporativa' - more: Máis - product: - section: - stock: - title: Stock - description: 'Configura o stock do teu produto. Cada pedido reducirá este número.' - basic: - title: 'Detalles básicos' - description: 'Proporciona un título moi específico para o teu produto que explique e axude a vendelo. A descrición debe conter toda a información requerida polos teus consumidores.' - categorization: - description: 'Tes que asociar o produto a unha categoría e un fabricante. Serán visibles na túa tenda e axudarán aos clientes a navegar pola tenda.' - title: Categorización - sku: - description: 'SKU é un identificador que permite identifcar os produtos. Cada SKU está relacionado cun único produto.' - title: SKU - dimensions: - description: 'Introduce as dimensións e peso do produto. Esta información será útil para calcular os custos de eenvío' - title: Dimensións - visibility: - title: Visibilidade - description: 'Configura a visibilidade do produto, e faino visible na páxina de inicio.' - variants: - description: 'As variantes son diferentes versións deste produto (color, taalla...). As variantes poden ter diferentes prezos ou outros atributos.' - title: Variantes - pricing: - description: 'Introduce o prezo do teu produto, sen incluír impostos ou transporte. Tamén podes introducir un prezo de oferta.' - title: Prezo - plural: Produtos + image: info: - variants_before_saving: 'Poderás engadir variantes tras gardar o produto' - new: 'Novo produto' - edit: 'Editar "%name%"' + deleted: 'Imaxe borrada' + format: 'Formato JPG, PNG ou GIF. Máx 20mb.' + principal: 'A primeira imaxe será a imaxe principal.' + reorder: 'Podes arrastrar e soltar as imaxes para reordealas.' + upload: 'Subir imaxes' + upload_logo: 'Subir logo' + upload_single: 'Subir imaxe' + plural: Imaxes + single: Imaxe + language: error: - no_category: 'Atención! Este produto non ten categoría asociada' - no_manufacturer: 'Atención! Este produto non ten fabricante asociado' - price_negative: 'Atención! O prezo non pode ser negativo' - in_store: Ver + disable_master_language: 'Non podes desactivar a lingua mestra' + setting_disabled_master_language: 'Non podes configurar unha lingua deshabilitada coma mestra' field: - reduced_price: - title: 'Prezo reducido' - name_details: - title: 'Nome e detalles' - sku: - placeholder: 'p.ex. SAU102' - title: SKU - enabled: - options: - active: Activo - inactive: Inactivo - title: Visibilidade - slug: - placeholder: 'p.ex. o/meu/produto/xenial' - customize: 'Configurar slug' - title: Slug - image: - title: Imaxe - name: - title: Título - placeholder: 'p.ex. O meu produto xenial' - manufacturer: - placeholder: 'p.ex. Apple, Disney...' - title: Fabricante - description: - title: Descrición - placeholder: 'p.ex. Este produto xenial é xusto o que necesitas.' - in_home: - title: 'Amosar na páxina de inicio' - stock: - title: Stock - metatitle: - placeholder: 'p.ex. O meu produto xenial' - metakeywords: - placeholder: 'p.ex. produto,xenial' - metadescription: - placeholder: 'p.ex. Este produto xenial é o que necesitas.' - main_category: - title: Categoría - placeholder: 'p.ex. Ordenadores, bolsos...' - width: - title: 'Anchura (en cm)' - depth: - title: 'Profundidade (en cm)' - price: - title: Prezo - height: - title: 'Altura (en cm)' - weight: - title: 'Peso (en g)' - show_metrics: 'Amosar métricas' - note: Notas - tag: - has_variants: 'Ten variantes' - no_manufacturer: 'Sen fabricante' - in_home: 'Páxina de inicio' - no_category: 'Sen categoría' - saved: 'Produto gardado' - list: 'Lista de produtos' - single: Produto - address: + iso: ISO + master: 'Lingua mestra' + status: Habilitado + list: 'Lista de linguas' + plural: Linguas + saved: + disabled: 'EDeshabilitouse a lingua' + enabled: 'Habilitouse a lingua' + master: 'Lingua principal gardada' + single: Lingua + login: + action: + login: Acceder + logout: Saír + remember: 'Esqueciches o teu contrasinal?' field: - isCompany: - value: - company: Empresa - individual: Individual - title: 'Tes unha empresa?' - address: - title: Enderezo - placeholder: 'p.ex. Rúa Alegría, 42' - address_more: - placeholder: 'e.g. Empresas Alonso' - title: 'Máis enderezo (opcional)' email: - placeholder: 'p.ex. xoan@example.com' - title: Correo - recipient_surname: - title: 'Apelido (opcional se é una empresa)' - placeholder: 'p.ex. Alonso' - province: - title: Provincia - recipient_name: - title: 'Nome / Empresa' - placeholder: 'p.ex. Xoan' - phone: - placeholder: 'p.ex. 935 555 555' - title: Teléfono - city: - title: Cidade - save: 'Gardar enderezo' - state: - title: Estado - postalcode: - title: 'Código postal' - placeholder: 'p.ex. 08080' - comments: - placeholder: 'p.ex. É unha casa' - title: Comentarios - mobile: - title: Móbil - placeholder: 'p.ex. 555 555 555' - country: - title: País - cif: - title: 'CIF / NIF' - plural: Enderezos - saved: 'Enderezo gardado' - select: - placeholder: 'Selecciona un' - single: Enderezo - edit: - billing_address: 'Enderezo de facturación para a túa tenda' - description: 'O enderezo que debería aparecer nas facturas da túa tenda. Se tes unha empresa, introducee o seu enderezo fiscal. Se non, introduce o teu enderezo físico.' - settings: - single: Configuración - field: - store_leitmotiv: 'Lema da tenda' - currency: 'Configuración de moedas' - store_phone: 'Teléfono da tenda' - product_stock: - title: Stock - description: 'Habilita esta opción para activar o control de stock' - store_enabled: 'Tenda habilitada' - store_under_construction: 'Tenda en construción' - store_email: 'Correo da tenda' - store_name: 'Nome da tenda' - section: - payment: - title: 'Métodos de pago' - profile: - title: 'Imaxe corporativa' - products: - title: 'Configuración de produtos' - description: 'Configura os datos do produto.' - corporate: - title: 'Imaxe corporativa' - address: - title: 'Enderezo e contacto' - store: - title: Xeral - plural: Configuracións - saved: 'Configuración gardada' - blog_post: + placeholder: 'Introduce o teu correo' + password: + placeholder: 'Introduce o contrasinal' + title: 'É necesario acceder á conta' + mailing: + edit: 'Editar "%title%"' field: - publication_date: - title: 'Data de publicación' - path: - title: Ruta - placeholder: 'p.ex. entrada/xenial/de/blog' - customize: 'Personalizar slug' - metakeywords: - placeholder: 'p.ex. blog,entrada,xenial' content: - title: Contido - placeholder: 'p.ex. Esta entrada xenial do blog é o que estás a buscar.' - title: - placeholder: 'p.ex. Entrada de blog xenial' - title: Título - metadescription: - placeholder: 'p.ex. Esta entrada xenial do blog é o que estás a buscar.' - enabled: - title: Habilitado - metatitle: - placeholder: 'p.ex. A miña entrada xenial de blog' - link: - title: Enlace + placeholder: 'p.ex. Esta lista de correo xenial é xusto o que necesitas.' + title: Contido + title: + placeholder: 'p.ex. ALista de correo moi interesante' + title: Título + list: 'Lista de correo' + new: 'Crear nova lista de correo' + plural: Mailings + saved: 'Lista de correo gardada' section: - visibility: - description: 'Configurar esta entrada do blog coma visible ou agochada.' - title: Visibilidade basic: - title: 'Detalles básicos' - description: 'Proporciona un título moi específico para a túa entrada do blog, que explique e axude a vender a entrada. A descrición debe proporcionar toda a información necesaria para os teus consumidores.' - single: 'Entrada de blog' - new: 'Crear entrada de blog' - in_store: 'Ver na tenda' + description: 'Introduce un título descriptivo para a túa lista de correo e o seu contido.' + title: 'Contido básico' + single: Mailing + manufacturer: edit: 'Editar "%name%"' - list: 'Lista de entradas do blog' - saved: 'Entrada gardada' - show_metrics: 'Amosar métricas' - plural: 'Entradas do blog' - category: - saved: 'Categoría gardada' field: - contains: - title: 'contén %count% produtos' - slug: - customize: 'Axustar slug' - placeholder: 'p.ex. categoria/xenial' - title: Slug - parent: - title: Padre - metatitle: - placeholder: 'p.ex. A miña categoría xenial' - metakeywords: - placeholder: 'p.ex. categoría,xenial' + description: + placeholder: 'p.ex. Este fabricante xenial é exactamente o que estás buscando.' + title: Descrición enabled: options: active: Activo inactive: Inactivo - title: Habilitada + title: Habilitado + image: + title: Imaxe metadescription: - placeholder: 'p.ex. Esta categoría xenial é xusto o que buscas.' + placeholder: 'p.ex. Este fabricante xenial é xusto o que necesitas.' + metakeywords: + placeholder: 'p.ex. fabricante,xenial' + metatitle: + placeholder: 'p.ex. O meu fabricante xenial' name: - placeholder: 'p.ex. A miña categoría xenial' - title: 'Nome da categoría' - root: - title: 'Categoría raíz' - edit: 'Editar "%name%"' - section: - edit: - description: - 0: 'Arrastra e solta as categorías para ordealas ou aniñalas unhas dentro doutras (2 niveis máx).' - 1: 'Clic nunha categoría para editar.' - 2: 'Fai clic na papeleira para borrar unha categoría.' - 3: 'Clic nunha categoría para editar' - 4: 'Clic nunha cagetoría para editar' - 5: 'Clic nunha categoría para editar.' - 6: 'Clic nunha categoría para editar.' - 7: 'Arrastra e solta as categorías para ordenalas ou aniñalas unhas dentro doutras (2 niveis máx.)' - 8: 'Clic nunha categoría para editar.' - 9: 'Arrastra e solta as categorías para ordealas ou aniñalas unhas dentro doutras (2 niveis mmáx).' - 10: 'Clic nunha categoría para editar.' - 11: 'Clic nunha categoría para editar.' - title: 'Ordenar e editar' - visibility: - description: 'Configura esta categoría coma visible ou agochada.' - title: Visibilidade - categorization: - title: Categorización - description: 'Configura a túa categoría coma raíz se non ten unha categoría nai ou se vai ser categoría nai doutras.' - basic: - description: 'Proporciona un nome moi específico tan curto coma poidas que axude aos teus usuarios a atopar os produtos desta categoría.' - title: 'Detalles básicos' - plural: Categorías - new: 'Nova categoría' - single: Categoría - list: 'Lista de categorías' - in_store: 'Ver na tenda' - attribute: - new: 'Novo atributo' - plural: Atributos + placeholder: 'p.ex. Fabricante Xenial' + title: 'Nome do fabricante' + name_slug: + title: 'Nome e slug' + product_count: + title: Produtos + slug: + customize: 'Configura o slug' + placeholder: 'p.ex. fabricante/xenial' + title: Slug + list: 'Lista de fabricantes' + new: 'Novo fabricante' + plural: Fabricante + saved: 'Fabricante gardado' section: basic: + description: 'Proporciona un nome moi específico e tan curto coma poidas que axude aos teus usuarios a atopar o produto deste fabricante. Tamén podes engadir unha descrición que se amosará na páxina de fabricante nda tenda.' title: 'Detalles básicos' - description: 'Define o nome do atributo e os seus valores (separados por comas).' + logo: + description: 'Subir unha imaxe de logo do fabricante tan grande como sexa posible. Mellor se non contén texto adicional.' + title: 'Logo do fabricante' visibility: - description: 'Configura a visibilidade deste atributo.' + description: 'Configurar este fabricante coma visible ou agochado' title: Visibilidade - list: 'Lista de atributos' + single: Fabricante + media: + list: 'Lista de media' + plural: Media + single: Media + menu: + design: 'Personalizar tenda' + metadata: + customize: 'Configurar metadatos' + disclaimer: + - 'Área para usuarios avanzados.' + - 'Deixa estes campos en branco para obter automaticamente os metadatos da túa páxina.' field: - enabled: - title: Estado - name: - values: Valores - placeholder: 'p.ex. Color' - title: Nome - edit: 'Editar "%name%"' - saved: 'Atributo gardado' - single: Atributo + metadescription: + title: 'Meta descrición' + metakeywords: + title: 'Meta keywords' + metatitle: + title: 'Meta title' + section: + metadata: + description: 'A descripción e palabras clave nas etiquetas meta eserven para describir o contido da páxina. A maioría dos motores de búsqueda usan estes datos ao engadir a páxina ao seu índice de buscas.' + title: Metadata + metrics: + action: + show: 'Amosar métricas' + info: + no_data: 'Sen datos' + visitors: Visitantes + plural: Métricas + single: Métrica + type: + line: + total: Total + unique: Único + name: Administrador order: all: 'Todos os pedidos' - single: Pedido - transition: - 'picked up by carrier': 'Recollido polo transportista' - refund: Devolver - 'picked up on store': 'Recollido na tenda' - delivered: Entregado - return: Volver - cancel: Cancelar - 'order ready': 'Pedido listo' - states: - title: Estado - notes: Notas details: - subtotal: Subtotal - title: Detalles - shipping: Envío discount: 'Cupón de desconto' item: Elemento - units: Unidades price: Prezo + shipping: Envío + subtotal: Subtotal + title: Detalles + units: Unidades + edit: 'Editar #%id%' field: - id: 'Pedido #%id%' - delivery_address: 'Enderezo de entrega' + billing_address: 'Enderezo de facturación' + both_addresses: 'Enderezo de entrega e de facturación' + carrier: Transportista customer: Cliente date: Data + delivery_address: 'Enderezo de entrega' + id: 'Pedido #%id%' status: Estado total: Total - billing_address: 'Enderezo de facturación' - both_addresses: 'Enderezo de entrega e de facturación' - carrier: Transportista from_user: 'Pedidos de %name%' - edit: 'Editar #%id%' - plural: Pedidos - new: 'Novo pedido' list: 'Lista de pedidos' + new: 'Novo pedido' + notes: Notas + plural: Pedidos + single: Pedido + states: + title: Estado to_user: 'Ir ao cliente' - image: - info: - format: 'Formato JPG, PNG ou GIF. Máx 20mb.' - upload_single: 'Subir imaxe' - upload_logo: 'Subir logo' - upload: 'Subir imaxes' - deleted: 'Imaxe borrada' - principal: 'A primeira imaxe será a imaxe principal.' - reorder: 'Podes arrastrar e soltar as imaxes para reordealas.' - plural: Imaxes - single: Imaxe - user: - field: - firstname: - placeholder: Xoan - title: Nome - lastname: - placeholder: 'e.g. Alonso' - title: Apelido - fullname: - title: 'Nome e apelidos' - email: - placeholder: 'p.ex. xoan.alonso@example.com' - title: Correo - password: - title: Contrasinal - gender: - options: - male: Home - female: Feminino - title: Xénero - birthday: - title: Aniversario - enabled: - options: - inactive: Inactivo - active: Activo - title: Estado - username: - title: 'Nome de usuario' - customer: - field: - phone: - title: Teléfono - placeholder: 'p.ex. 555 55 55 55' - order_count: - title: '# Pedidos' - username: - title: 'Nome de usuario' - placeholder: 'p.e. xoan_alonso' - guest: - title: Convidado - newsletter: - title: 'Boletín de novas' - identity_document: - title: Identidade - placeholder: 'p.ex. 12345678A' - language: - title: 'Lingua preferida' - single: Cliente - section: - status: - description: 'Configura o estado do usuario e as preferencias.' - title: 'Estados e preferencias' - contact: - description: 'Información de contacto para este usuario.' - title: 'Detalles de contacto' - login: - description: 'Cada usuario debería ter un ncorreo único e un nome de usuario único.' - title: 'Detalles de login' - info: - password_changed: 'Contrasinal cambiado con éxito' + transition: + cancel: Cancelar + delivered: Entregado + 'order ready': 'Pedido listo' + 'picked up by carrier': 'Recollido polo transportista' + 'picked up on store': 'Recollido na tenda' + refund: Devolver + return: Volver + page: edit: 'Editar "%name%"' - list: 'Lista de clientes' - new: 'Crear novo cliente' error: - password_change: 'Erro ao cambiar o contrasinal' - plural: Clientes - saved: 'Cambios gardados' - name: Administrador - mailing: - list: 'Lista de correo' + cant_modify_permanent: 'Esta páxina é permanente e non se pode modificar' field: - title: - placeholder: 'p.ex. ALista de correo moi interesante' - title: Título content: + placeholder: 'p.ex. Esta páxina xenial é o que estabas a buscar.' title: Contido - placeholder: 'p.ex. Esta lista de correo xenial é xusto o que necesitas.' - new: 'Crear nova lista de correo' + enabled: + title: Habilitada + link: + title: Enlace + metadescription: + placeholder: 'p.ex. Esta páxina xenial é exactamente o que estabas buscando.' + metakeywords: + placeholder: 'p.ex. páxina,xenial' + metatitle: + placeholder: 'p.ex. A miña páxina xenial' + path: + customize: 'Modificar ruta' + placeholder: 'p.ex. paxina/xenial' + title: Ruta + title: + placeholder: 'p.ex. A miña páxina xenial' + title: Título + in_store: 'Ver na tenda' + list: 'Listado de páxinas' + new: 'Páxina nova' + plural: Páxinas + saved: 'Cambios gardados' section: basic: - description: 'Introduce un título descriptivo para a túa lista de correo e o seu contido.' - title: 'Contido básico' - saved: 'Lista de correo gardada' - plural: Mailings - single: Mailing - edit: 'Editar "%title%"' + description: 'Proporciona un título moi específico para a túa páxina que explique e axude a vender a páxina. A descrición debe conter toda a información necesaria para os teus consumidores.' + title: 'Detalles básicos' + visibility: + description: 'Configura esta páxina visible ou agochada, e faina visible na páxina de inicio.' + title: Visibilidade + single: Páxina plugin: app_store: 'Tenda de aplicacións' + field: + visibility: 'Habilitar:' + plural: Apps + saved: 'Gardouse o estado do plugin' section: settings: Configuración - saved: 'Gardouse o estado do plugin' single: App - plural: Apps + product: + edit: 'Editar "%name%"' + error: + no_category: 'Atención! Este produto non ten categoría asociada' + no_manufacturer: 'Atención! Este produto non ten fabricante asociado' + price_negative: 'Atención! O prezo non pode ser negativo' field: - visibility: 'Habilitar:' - metrics: - action: - show: 'Amosar métricas' - single: Métrica - type: - line: - total: Total - unique: Único - plural: Métricas + depth: + title: 'Profundidade (en cm)' + description: + placeholder: 'p.ex. Este produto xenial é xusto o que necesitas.' + title: Descrición + enabled: + options: + active: Activo + inactive: Inactivo + title: Visibilidade + height: + title: 'Altura (en cm)' + image: + title: Imaxe + in_home: + title: 'Amosar na páxina de inicio' + main_category: + placeholder: 'p.ex. Ordenadores, bolsos...' + title: Categoría + manufacturer: + placeholder: 'p.ex. Apple, Disney...' + title: Fabricante + metadescription: + placeholder: 'p.ex. Este produto xenial é o que necesitas.' + metakeywords: + placeholder: 'p.ex. produto,xenial' + metatitle: + placeholder: 'p.ex. O meu produto xenial' + name: + placeholder: 'p.ex. O meu produto xenial' + title: Título + name_details: + title: 'Nome e detalles' + price: + title: Prezo + reduced_price: + title: 'Prezo reducido' + sku: + placeholder: 'p.ex. SAU102' + title: SKU + slug: + customize: 'Configurar slug' + placeholder: 'p.ex. o/meu/produto/xenial' + title: Slug + stock: + title: Stock + weight: + title: 'Peso (en g)' + width: + title: 'Anchura (en cm)' + in_store: Ver info: - no_data: 'Sen datos' - visitors: Visitantes - language: - error: - disable_master_language: 'Non podes desactivar a lingua mestra' - setting_disabled_master_language: 'Non podes configurar unha lingua deshabilitada coma mestra' - plural: Linguas - saved: - disabled: 'EDeshabilitouse a lingua' - master: 'Lingua principal gardada' - enabled: 'Habilitouse a lingua' - single: Lingua - list: 'Lista de linguas' + variants_before_saving: 'Poderás engadir variantes tras gardar o produto' + list: 'Lista de produtos' + new: 'Novo produto' + note: Notas + plural: Produtos + saved: 'Produto gardado' + section: + basic: + description: 'Proporciona un título moi específico para o teu produto que explique e axude a vendelo. A descrición debe conter toda a información requerida polos teus consumidores.' + title: 'Detalles básicos' + categorization: + description: 'Tes que asociar o produto a unha categoría e un fabricante. Serán visibles na túa tenda e axudarán aos clientes a navegar pola tenda.' + title: Categorización + dimensions: + description: 'Introduce as dimensións e peso do produto. Esta información será útil para calcular os custos de eenvío' + title: Dimensións + pricing: + description: 'Introduce o prezo do teu produto, sen incluír impostos ou transporte. Tamén podes introducir un prezo de oferta.' + title: Prezo + sku: + description: 'SKU é un identificador que permite identifcar os produtos. Cada SKU está relacionado cun único produto.' + title: SKU + stock: + description: 'Configura o stock do teu produto. Cada pedido reducirá este número.' + title: Stock + variants: + description: 'As variantes son diferentes versións deste produto (color, taalla...). As variantes poden ter diferentes prezos ou outros atributos.' + title: Variantes + visibility: + description: 'Configura a visibilidade do produto, e faino visible na páxina de inicio.' + title: Visibilidade + show_metrics: 'Amosar métricas' + single: Produto + tag: + has_variants: 'Ten variantes' + in_home: 'Páxina de inicio' + no_category: 'Sen categoría' + no_manufacturer: 'Sen fabricante' + profile: + plural: Perfís + single: Perfil + recover_user: + action: + email_sent: + description: 'Por favor, comprova o teu correo e segue as instrucións para recuperar ao teu contrasinal.' + title: 'Correo enviado' field: - master: 'Lingua mestra' - status: Habilitado - iso: ISO - admin_user: - plural: Administradores + email: + placeholder: 'Introduce o teu correo.' + password: + placeholder: 'Novo contrasinal' + repeat_password: + placeholder: 'Repetir contrasinal' + title: 'Novo contrasinal' + remember_user: + description: 'Non te preocupes, enviarémosche un correo para resetear o teu contrasinal.' + title: 'Esqueciches o contrasinal?' + settings: + field: + currency: 'Configuración de moedas' + product_stock: + description: 'Habilita esta opción para activar o control de stock' + title: Stock + store_email: 'Correo da tenda' + store_enabled: 'Tenda habilitada' + store_leitmotiv: 'Lema da tenda' + store_name: 'Nome da tenda' + store_phone: 'Teléfono da tenda' + store_under_construction: 'Tenda en construción' + plural: Configuracións + saved: 'Configuración gardada' section: - contact: - description: 'A información de contacto para este administrador.' - title: 'Detalles de contacto' - status: - title: 'Estado do usuario' - description: 'Podes activar ou desactivar administradores' - login: - description: 'Cada usuario debería ter un correuo único.' - title: 'Detalles de acceso' - new: 'Crear novo usuario Admin' - saved: 'Cambios gardados' - edit: 'Editar "%name%"' - single: Administrador - error: - cant_disable_yourself: 'Non podes deshabilitar a túa propia conta.' - cant_remove_yourself: 'Non podes borrar a túa propia conta' - list: 'Lista de administradores' - page: - error: - cant_modify_permanent: 'Esta páxina é permanente e non se pode modificar' + address: + title: 'Enderezo e contacto' + corporate: + title: 'Imaxe corporativa' + payment: + title: 'Métodos de pago' + products: + description: 'Configura os datos do produto.' + title: 'Configuración de produtos' + profile: + title: 'Imaxe corporativa' + store: + title: Xeral + single: Configuración + shipping_payment: + plural: 'Pagos e transportes' + single: 'Pagos e envíos' + shipping_range: + edit: 'Editar rango "%name%"' field: - link: - title: Enlace - title: - placeholder: 'p.ex. A miña páxina xenial' - title: Título - path: - customize: 'Modificar ruta' - placeholder: 'p.ex. paxina/xenial' - title: Ruta - content: - title: Contido - placeholder: 'p.ex. Esta páxina xenial é o que estabas a buscar.' - enabled: - title: Habilitada - metatitle: - placeholder: 'p.ex. A miña páxina xenial' - metadescription: - placeholder: 'p.ex. Esta páxina xenial é exactamente o que estabas buscando.' - metakeywords: - placeholder: 'p.ex. páxina,xenial' + fromPrice: + title: 'Desde prezo' + fromWeight: + title: 'A partir do peso' + name: + placeholder: 'p.ex. Entrega en 3-5 días' + title: 'Nome do rango de envío' + price: + title: Prezo + toPrice: + title: 'Ata prezo' + toWeight: + title: 'Ata peso' + to_zone: + title: 'A zona' + type: + options: + price: 'Baseado no prezo do pedido' + weight: 'Baseado no peso do pedido' + title: 'Calcularánse os prezos…' + value: + price_format: 'De %from% a %to%' + title: Valor + weight_format: 'Desde %from% g a %to% g' + list: 'Lista de rangos de envío' + new: 'Crear un novo rango' + plural: 'Rangos de envío' saved: 'Cambios gardados' - list: 'Listado de páxinas' - new: 'Páxina nova' - edit: 'Editar "%name%"' - plural: Páxinas section: - visibility: - title: Visibilidade - description: 'Configura esta páxina visible ou agochada, e faina visible na páxina de inicio.' basic: + description: 'Proporciona o nome do rango de envío e en qué zona estará dispoñible.' title: 'Detalles básicos' - description: 'Proporciona un título moi específico para a túa páxina que explique e axude a vender a páxina. A descrición debe conter toda a información necesaria para os teus consumidores.' - single: Páxina - in_store: 'Ver na tenda' + pricing: + description: 'Configura o prezo para este envío e define se vai ser calculado baseándose no prezo do pedido ou no peso do pedido.' + title: Prezos + visibility: + description: 'Configura este rango de envío coma activo ou inactivo.' + title: Visibilidade + single: 'Rango de transporte' + store: + field: + enabled: + title: 'Tenda habilitada' + routingStrategy: + custom: 'Sen prefixo para linguas, só urls traducidas' + prefix: 'Todas as urls teñen un prefixo de lingua' + prefix_except_default: 'Todas as urls teñen un prefixo de lingua excepto na lingua por defecto' + title: 'Formato de urls multilingüe' + useStock: + title: 'Activar control de stocks' + saved: 'Configuración gardada.' + section: + advanced: + description: 'Configuración avanzada para a túa tenda.' + title: Avanzado + status: + description: 'Controla se a tenda está aberta ou pechada.' + title: Estado + stock: + description: 'Se activas esta opción poderás configurar o stock dos teus produtos.' + title: Stock + settings: Configuración template: - plural: Temas - single: Tema - label: - status: 'Habilitar:' action: preview: 'Vista previa' - UI: - show_visual: 'Agochar código HTML' - show_code: 'Amosar código HTML' - shipping_payment: - single: 'Pagos e envíos' - plural: 'Pagos e transportes' - currency: - error: - setting_disabled_master_currency: 'Non podes configurar una moeda deshabilitada coma mestra' - disable_master_currency: 'Non podes deshabilitar a túa moeda mestra' + label: + status: 'Habilitar:' + plural: Temas + single: Tema + user: field: - status: Habilitado - name: Nome - master: 'Moeda mestra' - iso: ISO - symbol: Símbolo - saved: - master: 'Moeda principal gardada' - enabled: 'Habilitouse esta moeda' - disabled: 'Deshabilitouse a moeda' - single: Moeda - plural: Moedas - list: 'Lista de moedas' - categorization: - single: Categorización - plural: Categorizacións - catalog: - single: Catlálogo - plural: Catálogos - menu: - design: 'Personalizar tenda' - profile: - single: Perfil - plural: Perfís - blog: - plural: Blogs - single: Blog - remember_user: - title: 'Esqueciches o contrasinal?' - description: 'Non te preocupes, enviarémosche un correo para resetear o teu contrasinal.' + birthday: + title: Aniversario + email: + placeholder: 'p.ex. xoan.alonso@example.com' + title: Correo + enabled: + options: + active: Activo + inactive: Inactivo + title: Estado + firstname: + placeholder: Xoan + title: Nome + fullname: + title: 'Nome e apelidos' + gender: + options: + female: Feminino + male: Home + title: Xénero + lastname: + placeholder: 'e.g. Alonso' + title: Apelido + password: + title: Contrasinal + username: + title: 'Nome de usuario' + variant: + edit: 'Editar variante "%name%"' + field: + enabled: + options: + active: Activo + inactive: Inactivo + title: Estado + name: + title: 'Nome da variante' + options: + title: 'Selecciona un ou máis atributos:' + price: + title: Prezo + reduced_price: + title: 'Prezo reducido' + stock: + title: Stock + list: 'Lista de variantes' + new: 'Nova variante' + plural: Variantes + saved: 'Variante gardada' + section: + attributes: + description: 'Configura os atributos principais desta variante.' + title: Atributos + pricing: + description: 'Configura o prezo da túa variante, sen incluír impostos ou transporte. Tamén podes configurar un prezo de oferta.' + title: Prezos + visibility: + description: 'Configura esta variable coma visible ou agochada.' + title: Visibilidade + single: Variante plugin: paymill: - title: 'Configuración de conta Paymill' register: - title: 'Non tes unha conta de Paymill?' call_to_action: 'Crea unha conta de Paymill agora!' + title: 'Non tes unha conta de Paymill?' settings: private_key: 'Clave privada de pago Paymill' public_key: 'Clave pública de pago Paymill' + title: 'Configuración de conta Paymill' paypal: register: - title: 'Non tes unha conta de PayPal?' call_to_action: 'Crear unha conta de PayPal' - title: 'Configuración de conta de Paypal' + title: 'Non tes unha conta de PayPal?' settings: recipient_email: 'Correo do receptor de pagos de Paypal' + title: 'Configuración de conta de Paypal' +plugin_type: + app: Apps + payment: 'Métodos de pago' + shipping: 'Métodos de envío' + social: Social ui: - forms: - save: Gardar - delete: Borrar - cancel: Cancelar address: address: Enderezo - phone: Teléfono - zipcode: 'Código postal' - full_name: 'Nome completo' city: Cidade comment: Comentario - tags: - placeholder: - comma_separated: 'Engade etiquetas separadas por coma.' + full_name: 'Nome completo' + phone: Teléfono + zipcode: 'Código postal' + confirm: + delete: 'Estás seguro de que o queres borrar?' date: - yesterday_at: 'Onte ás %time%' today_at: 'Hoxe ás %time%' - paginator: - elements: 'Amosando %first% ata %last% de %total% entradas.' + yesterday_at: 'Onte ás %time%' + delete: + success: 'Borrado correctamente' editor: help: 'Selecciona texto para obter opcións de formato' + forms: + cancel: Cancelar + delete: Borrar + save: Gardar label: disabled: Deshabilitado enabled: Habilitado - list: - no_items: 'Non hai %items%.' - create_first: 'Crear o meu primeiro %item%.' - confirm: - delete: 'Estás seguro de que o queres borrar?' - delete: - success: 'Borrado correctamente' language: master_language: 'Lingua mestra (obrigatoria)' -plugin_type: - payment: 'Métodos de pago' - social: Social - shipping: 'Métodos de envío' - app: Apps + list: + create_first: 'Crear o meu primeiro %item%.' + no_items: 'Non hai %items%.' + paginator: + elements: 'Amosando %first% ata %last% de %total% entradas.' + tags: + placeholder: + comma_separated: 'Engade etiquetas separadas por coma.' diff --git a/src/Elcodi/Admin/CoreBundle/Resources/translations/messages.it.yml b/src/Elcodi/Admin/CoreBundle/Resources/translations/messages.it.yml index 613efede..68859966 100644 --- a/src/Elcodi/Admin/CoreBundle/Resources/translations/messages.it.yml +++ b/src/Elcodi/Admin/CoreBundle/Resources/translations/messages.it.yml @@ -66,16 +66,16 @@ admin: saved: 'Salva modifiche' section: contact: - description: "Contatto dell'amministratore." + description: 'Contatto dell''amministratore.' title: 'Dettagli del contatto' login: - description: "Ogni utente deve avere un'email univoca." + description: 'Ogni utente deve avere un''email univoca.' title: 'Dettagli del login' password: - description: "Cambia la password dell'amministratore." - title: 'Password' + description: 'Cambia la password dell''amministratore.' + title: Password status: - description: "Puoi abilitare o disabilitare l'amministratore." + description: 'Puoi abilitare o disabilitare l''amministratore.' title: 'Status utente' single: Amministratore attribute: diff --git a/src/Elcodi/Admin/CouponBundle/Controller/Component/CouponComponentController.php b/src/Elcodi/Admin/CouponBundle/Controller/Component/CouponComponentController.php index 7450a9d9..40e95492 100644 --- a/src/Elcodi/Admin/CouponBundle/Controller/Component/CouponComponentController.php +++ b/src/Elcodi/Admin/CouponBundle/Controller/Component/CouponComponentController.php @@ -54,7 +54,7 @@ class CouponComponentController extends AbstractAdminController * @return array Result * * @Route( - * path = "s/list/component/{page}/{limit}/{orderByField}/{orderByDirection}", + * path = "s/component/{page}/{limit}/{orderByField}/{orderByDirection}", * name = "admin_coupon_list_component", * requirements = { * "page" = "\d*", diff --git a/src/Elcodi/Admin/CurrencyBundle/Controller/Components/CurrencyComponentController.php b/src/Elcodi/Admin/CurrencyBundle/Controller/Components/CurrencyComponentController.php index f4d42b37..122cb34c 100644 --- a/src/Elcodi/Admin/CurrencyBundle/Controller/Components/CurrencyComponentController.php +++ b/src/Elcodi/Admin/CurrencyBundle/Controller/Components/CurrencyComponentController.php @@ -36,7 +36,7 @@ class CurrencyComponentController extends AbstractAdminController * @return array Result * * @Route( - * path = "currencies/list/component", + * path = "currencies/component", * name = "admin_currency_list_component", * methods = {"GET"} * ) diff --git a/src/Elcodi/Admin/LanguageBundle/Controller/Components/LanguageComponentController.php b/src/Elcodi/Admin/LanguageBundle/Controller/Components/LanguageComponentController.php index ba03e213..7d3d6bdc 100644 --- a/src/Elcodi/Admin/LanguageBundle/Controller/Components/LanguageComponentController.php +++ b/src/Elcodi/Admin/LanguageBundle/Controller/Components/LanguageComponentController.php @@ -41,7 +41,7 @@ class LanguageComponentController extends AbstractAdminController * @return array Result * * @Route( - * path = "s/list/component", + * path = "s/component", * name = "admin_language_list_component", * ) * @Template("AdminLanguageBundle:Language:Component/listComponent.html.twig") diff --git a/src/Elcodi/Admin/MediaBundle/Controller/Component/ImageComponentController.php b/src/Elcodi/Admin/MediaBundle/Controller/Component/ImageComponentController.php index f9f66faa..1802e069 100644 --- a/src/Elcodi/Admin/MediaBundle/Controller/Component/ImageComponentController.php +++ b/src/Elcodi/Admin/MediaBundle/Controller/Component/ImageComponentController.php @@ -40,7 +40,7 @@ class ImageComponentController extends AbstractAdminController * @return array Result * * @Route( - * path = "s/list/component", + * path = "s/component", * name = "admin_image_list_component", * methods = {"GET"} * ) diff --git a/src/Elcodi/Admin/MediaBundle/Resources/views/Module/_images-form-field.html.twig b/src/Elcodi/Admin/MediaBundle/Resources/views/Module/_images-form-field.html.twig index 0abe27b1..abbb82dd 100644 --- a/src/Elcodi/Admin/MediaBundle/Resources/views/Module/_images-form-field.html.twig +++ b/src/Elcodi/Admin/MediaBundle/Resources/views/Module/_images-form-field.html.twig @@ -14,7 +14,7 @@ -