Advertisement
Guest User

Untitled

a guest
Apr 5th, 2017
966
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.87 KB | None | 0 0
  1. #
  2. # Import the CMS content for the telco site emails
  3. #
  4. # ENGLISH LOCALIZATION
  5. #
  6.  
  7. #Language
  8. $lang=hu
  9. $contentCatalog=vodafoneContentCatalog
  10. $contentCV=catalogVersion(CatalogVersion.catalog(Catalog.id[default=$contentCatalog]),CatalogVersion.version[default=Staged])[default=$contentCatalog:Staged]
  11. $picture=media(code, $contentCV);
  12.  
  13. # Import config properties into impex macros for modulegen
  14. UPDATE GenericItem[processor=de.hybris.platform.commerceservices.impex.impl.ConfigPropertyImportProcessor];pk[unique=true]
  15. $emailResource=$config-emailResourceValue
  16.  
  17. #$emailResource=$config-vodafonestoreEmailResourceValue
  18.  
  19. # CMS components and Email velocity templates
  20. UPDATE RendererTemplate;code[unique=true];description[lang=$lang];templateScript[lang=$lang,translator=de.hybris.platform.commerceservices.impex.impl.FileLoaderValueTranslator]
  21. #;vodafone-BannerComponent-template;"CMSBannerComponent Template";$emailResource/email-bannerComponentTemplate.vm
  22. #;vodafone-CMSImageComponent-template;"CMSImageComponent Template";$emailResource/email-cmsImageComponentTemplate.vm
  23. #;vodafone-CMSLinkComponent-template;"CMSLinkComponent Template";$emailResource/email-cmsLinkComponentTemplate.vm
  24. #;vodafone-CMSParagraphComponent-template;"CMSParagraphComponent Template";$emailResource/email-cmsParagraphComponentTemplate.vm
  25. #;vodafone-SimpleBannerComponent-template;"CMSSimpleBannerComponent Template";$emailResource/email-bannerComponentTemplate.vm
  26. #;vodafone_Email_Customer_Registration_Body;"Customer Registration Email Body";$emailResource/email-customerRegistrationBody.vm
  27. #;vodafone_Email_Customer_Registration_Subject;"Customer Registration Email Subject";$emailResource/email-customerRegistrationSubject.vm
  28. #;vodafone_Email_Forgotten_Password_Body;"Forgotten Password Email Body";$emailResource/email-forgottenPasswordBody.vm
  29. #;vodafone_Email_Forgotten_Password_Subject;"Forgotten Password Email Subject";$emailResource/email-forgottenPasswordSubject.vm
  30. ;vodafone_Email_Order_Confirmation_Body;"Order Confirmation Email Body";$emailResource/email-orderConfirmationBody.vm
  31. ;vodafone_Email_Order_Confirmation_Subject;"Order Confirmation Email Subject";$emailResource/email-orderConfirmationSubject.vm
  32. ;vodafone-BannerComponent-template;"CMSBannerComponent Template";$emailResource/email-bannerComponentTemplate.vm
  33. ;vodafone-CMSImageComponent-template;"CMSImageComponent Template";$emailResource/email-cmsImageComponentTemplate.vm
  34. ;vodafone-CMSLinkComponent-template;"CMSLinkComponent Template";$emailResource/email-cmsLinkComponentTemplate.vm
  35. ;vodafone-CMSParagraphComponent-template;"CMSParagraphComponent Template";$emailResource/email-cmsParagraphComponentTemplate.vm
  36. ;vodafone-SimpleBannerComponent-template;"CMSSimpleBannerComponent Template";$emailResource/email-bannerComponentTemplate.vm
  37. ;vodafone_Email_Customer_Registration_Body;"Customer Registration Email Body";$emailResource/email-customerRegistrationBody.vm
  38. ;vodafone_Email_Customer_Registration_Subject;"Customer Registration Email Subject";$emailResource/email-customerRegistrationSubject.vm
  39. ;vodafone_Email_Delivery_Sent_Body;"Delivery Sent Email Body";$emailResource/email-deliverySentBody.vm
  40. ;vodafone_Email_Delivery_Sent_Subject;"Delivery Sent Email Subject";$emailResource/email-deliverySentSubject.vm
  41. ;vodafone_Email_Forgotten_Password_Body;"Forgotten Password Email Body";$emailResource/email-forgottenPasswordBody.vm
  42. ;vodafone_Email_Forgotten_Password_Subject;"Forgotten Password Email Subject";$emailResource/email-forgottenPasswordSubject.vm
  43. ;vodafone_Email_Order_Confirmation_Body;"Order Confirmation Email Body";$emailResource/email-orderConfirmationBody.vm
  44. ;vodafone_Email_Order_Confirmation_Subject;"Order Confirmation Email Subject";$emailResource/email-orderConfirmationSubject.vm
  45. ;vodafone_Email_NotPickedUpConsignment_Canceled_Body;"Not Picked Up Consignment Canceled Email Body";$emailResource/email-notPickedUpConsignmentCanceledBody.vm
  46. ;vodafone_Email_NotPickedUpConsignment_Canceled_Subject;"Not Picked Up Consignment Canceled Email Subject";$emailResource/email-notPickedUpConsignmentCanceledSubject.vm
  47. ;vodafone_Email_Order_Cancelled_Body;"Order Cancelled Email Body";$emailResource/email-orderCancelledBody.vm
  48. ;vodafone_Email_Order_Cancelled_Subject;"Order Cancelled Email Subject";$emailResource/email-orderCancelledSubject.vm
  49. ;vodafone_Email_Order_Collection_Reminder_Body;"Order Collection Reminder Body";$emailResource/email-orderCollectionReminderBody.vm
  50. ;vodafone_Email_Order_Collection_Reminder_Subject;"Order Collection Reminder Subject";$emailResource/email-orderCollectionReminderSubject.vm
  51. ;vodafone_Email_Order_Move_To_CS_Body;"Order Move To CS Body";$emailResource/email-orderMoveToCsBody.vm
  52. ;vodafone_Email_Order_Move_To_CS_Subject;"Order Move To CS Subject";$emailResource/email-orderMoveToCsSubject.vm
  53. ;vodafone_Email_Order_Partially_Canceled_Body;"Order Partially Canceled Email Body";$emailResource/email-orderPartiallyCanceledBody.vm
  54. ;vodafone_Email_Order_Partially_Canceled_Subject;"Order Partially Canceled Email Subject";$emailResource/email-orderPartiallyCanceledSubject.vm
  55. ;vodafone_Email_Order_Partially_Refunded_Body;"Order Partially Refunded Email Body";$emailResource/email-orderPartiallyRefundedBody.vm
  56. ;vodafone_Email_Order_Partially_Refunded_Subject;"Order Partially Refunded Email Subject";$emailResource/email-orderPartiallyRefundedSubject.vm
  57. ;vodafone_Email_Order_Refund_Body;"Order Refund Email Body";$emailResource/email-orderRefundBody.vm
  58. ;vodafone_Email_Order_Refund_Subject;"Order Refund Email Subject";$emailResource/email-orderRefundSubject.vm
  59. ;vodafone_Email_Ready_For_Pickup_Body;"Ready For Pickup Email Body";$emailResource/email-readyForPickupBody.vm
  60. ;vodafone_Email_Ready_For_Pickup_Subject;"Ready For Pickup Email Subject";$emailResource/email-readyForPickupSubject.vm
  61. ;CVResultCVAEmail_Subject;"Order Credit Vet result CVA";$emailResource/email-orderCVResultCVASubject.vm
  62. ;CVResultCVAEmail_Body;"Order Credit Vet result CVA Email Body";$emailResource/email-orderCVResultCVABody.vm
  63. ;CVResultCVCEmail_Subject;"Order Credit Vet result CVC";$emailResource/email-orderCVResultCVCSubject.vm
  64. ;CVResultCVCEmail_Body;"Order Credit Vet result CVC Email Body";$emailResource/email-orderCVResultCVCBody.vm
  65. ;vodafone_Email_Wishlist_Comingsoon_Subject;"Wishlist Coming Soon Subject";$emailResource/email-wishlistComingSoonSubject.vm
  66. ;vodafone_Email_Wishlist_Comingsoon_Body;"Wishlist Coming Soon Body";$emailResource/email-wishlistComingSoonBody.vm
  67. ;vodafone_Customer_Activation_Email_Subject;Customer Activation Email Subject;$emailResource/email-customerActivationEmailSubject.vm
  68. ;vodafone_Customer_Activation_Email_Body;Customer Activation Email Body;$emailResource/email-customerActivationEmailBody.vm
  69. ;vodafone_Amdocs_Error_Csv_Email_Subject;"Amdocs Error Csv Email Subject";$emailResource/email-amdocsErrorCsvEmailSubject.vm
  70. ;vodafone_Amdocs_Error_Csv_Email_Body;"Amdocs Error Csv Email Body";$emailResource/email-amdocsErrorCsvEmailBody.vm
  71. ;vodafone_Email_Order_Submited_Body;"Order Submited Email Body";$emailResource/email-orderSubmitedBody.vm
  72. ;vodafone_Email_Order_Submited_Subject;"Order Submited Email Subject";$emailResource/email-orderSubmitedSubject.vm
  73. ;vodafone_Account_Cancellation_Email_Subject;Account Cancellation Email Subject;$emailResource/email-accountCancellationEmailSubject.vm
  74. ;vodafone_Account_Cancellation_Email_Body;Account Cancellation Email Body;$emailResource/email-accountCancellationEmailBody.vm
  75. ;vodafone_Email_Order_Tracking_Body;"Order Tracking Email Body";$emailResource/email-orderTrackingBody.vm
  76. ;vodafone_Email_Order_Tracking_Subject;"Order Tracking Email Subject";$emailResource/email-orderTrackingSubject.vm
  77.  
  78. #*****************************************Drop2 Start**********************************#
  79. ;vodafone_Email_Customer_EmailUpdate_Body;Customer Email update Body;$emailResource/email-customerEmailUpdateBody.vm
  80. ;vodafone_Email_Customer_EmailUpdate_Subject;Customer Email update Subject;$emailResource/email-customerEmailUpdateSubject.vm
  81. ;vodafone_Email_PersonalData_Changed_Body;Customer Email Address Body;$emailResource/email-personalDataChangedBody.vm
  82. ;vodafone_Email_PersonalData_Changed_Subject;Customer Email Address Subject;$emailResource/email-personalDataChangedSubject.vm
  83. ;vodafone_Email_Customer_Subscription_Linkage_Body;Customer Subscription Linkage Body;$emailResource/email-customerSubscriptionLinkageBody.vm
  84. ;vodafone_Email_Customer_Subscription_Linkage_Subject;Customer Subscription Linkage Body;$emailResource/email-customerSubscriptionLinkageSubject.vm
  85. ;vodafone_Email_Customer_Subscription_Delinkage_Body;Customer Subscription Delinkage Body;$emailResource/email-customerSubscriptionDelinkageBody.vm
  86. ;vodafone_Email_Customer_Subscription_Delinkage_Subject;Customer Subscription Delinkage Body;$emailResource/email-customerSubscriptionDelinkageSubject.vm
  87. #*****************************************Drop2 End**********************************#
  88.  
  89. # Email Pages
  90. UPDATE EmailPage;$contentCV[unique=true];uid[unique=true];fromEmail[lang=$lang];fromName[lang=$lang]
  91. ;;CustomerRegistrationEmail;"noreplywebshop.hu@vodafone.com";"Customer Services Team HU"
  92. ;;DeliverySentEmail;"noreplywebshop.hu@vodafone.com";"Customer Services Team HU"
  93. ;;ForgottenPasswordEmail;"noreplywebshop.hu@vodafone.com";"Customer Services Team HU"
  94. ;;OrderCancelledEmail;"noreplywebshop.hu@vodafone.com";"Customer Services Team HU"
  95. ;;OrderCollectionReminderEmail;"noreplywebshop.hu@vodafone.com";"Customer Services Team HU"
  96. ;;OrderConfirmationEmail;"noreplywebshop.hu@vodafone.com";"Customer Services Team HU"
  97. ;;OrderMoveToCsEmail;"noreplywebshop.hu@vodafone.com";"Customer Services Team HU"
  98. ;;OrderPartiallyCanceledEmail;"noreplywebshop.hu@vodafone.com";"Customer Services Team HU"
  99. ;;OrderPartiallyRefundedEmail;"noreplywebshop.hu@vodafone.com";"Customer Services Team HU"
  100. ;;OrderRefundEmail;"noreplywebshop.hu@vodafone.com";"Customer Services Team HU"
  101. ;;ReadyForPickupEmail;"noreplywebshop.hu@vodafone.com";"Customer Services Team HU"
  102. ;;CVResultCVAEmail;"noreplywebshop.hu@vodafone.com";"Customer Services Team HU"
  103. ;;CVResultCVCEmail;"noreplywebshop.hu@vodafone.com";"Customer Services Team HU"
  104. ;;WishlistComingSoonEmail;"noreplywebshop.hu@vodafone.com";"Customer Services Team HU"
  105. ;;CustomerActivationEmail;"noreplywebshop.hu@vodafone.com";"Customer Services Team HU"
  106. ;;AmdocsErrorCsvEmail;"noreplywebshop.hu@vodafone.com";"Customer Services Team HU"
  107. ;;OrderSubmitedEmail;"noreplywebshop.hu@vodafone.com";"Customer Services Team HU"
  108. ;;AccountCancellationEmail;"noreplywebshop.hu@vodafone.com";"Customer Services Team HU"
  109. ;;OrderTrackingEmail;"noreplywebshop.hu@vodafone.com";"Customer Services Team HU"
  110.  
  111. #*****************************************Drop2 Start**********************************#
  112. ;;CustomerEmailUpdate;"noreplywebshop.hu@vodafone.com";"Customer Services Team HU"
  113. ;;PersonalDataChanged;"noreplywebshop.hu@vodafone.com";"Customer Services Team HU"
  114. ;;CustomerSubscriptionLinkage;"noreplywebshop.hu@vodafone.com";"Customer Services Team"
  115. ;;CustomerSubscriptionDelinkage;"noreplywebshop.hu@vodafone.com";"Customer Services Team"
  116. #*****************************************Drop2 End**********************************#
  117.  
  118.  
  119. UPDATE RendererTemplate;code[unique=true];templateScript[lang=$lang,translator=de.hybris.platform.commerceservices.impex.impl.FileLoaderValueTranslator]
  120. ;vodafone_email_user_creation_body;$emailResource/email-userCreationBody.vm
  121. ;vodafone_email_user_creation_subject;$emailResource/email-userCreationSubject.vm
  122.  
  123.  
  124. #UPDATE RendererTemplate;code[unique=true];content(code,$contentCV)[lang=$lang]
  125. #;vodafone_email_user_creation_body;vodafone_email_user_creation_body_media
  126. #;vodafone_email_user_creation_subject;vodafone_email_user_creation_subject_media
  127.  
  128. UPDATE CMSImageComponent;$contentCV[unique=true];uid[unique=true];$picture[lang=$lang]
  129. ;;emailHeaderImageComponent;/images/theme/redsky_email_banner.png
  130.  
  131. UPDATE CMSImageComponent;$contentCV[unique=true];uid[unique=true];$picture[lang=$lang]
  132. ;;emailMiddleImageComponent;/images/theme/email_middle_image.png
  133. ;;emailOrderSubMiddleImageComponent;/images/theme/email_ordersub_middle_image.png
  134.  
  135. UPDATE CMSImageComponent;$contentCV[unique=true];uid[unique=true];$picture[lang=$lang]
  136. ;;emailHeaderImageComponent;/images/theme/redsky_email_banner.png
  137. ;;emailMiddleImageComponent;/images/theme/email_middle_image.png
  138.  
  139. #*****************************************Drop2 Start**********************************#
  140. UPDATE CMSImageComponent;$contentCV[unique=true];uid[unique=true];$picture[lang=$lang]
  141. ;;emailHeaderImageComponent;/images/theme/redsky_email_banner.png
  142. ;;emailMiddleImageComponent;/images/theme/email_middle_image.png
  143. #*****************************************Drop2 End**********************************#
  144.  
  145. UPDATE CMSParagraphComponent;$contentCV[unique=true];uid[unique=true];content[lang=$lang]
  146. ;;EmailHeaderText;"Vodafone<span style='display: block;'>Power to you</span>"
  147.  
  148.  
  149. UPDATE CMSLinkComponent;$contentCV[unique=true];uid[unique=true];linkName[lang=$lang];
  150. ;;StoreLocatorForCustomerActivationEmail;"Üzletkereső";
  151. ;;CustomerServiceForCustomerActivationEmail;"Online ügyfélszolgálat";
  152. ;;InvoicePaymentsForCustomerActivationEmail;"Számlabefizetés";
  153.  
  154.  
  155. UPDATE CMSLinkComponent;$contentCV[unique=true];uid[unique=true];linkName[lang=$lang];
  156. ;;StoreLocatorForAccountCancellationEmail;"Üzletkereső";
  157. ;;CustomerServiceForAccountCancellationEmail;"Online ügyfélszolgálat";
  158. ;;InvoicePaymentsForAccountCancellationEmail;"Számlabefizetés";
  159.  
  160.  
  161. UPDATE CMSLinkComponent;$contentCV[unique=true];uid[unique=true];linkName[lang=$lang];
  162. ;;StoreLocatorForForgottenPasswordEmail;"Üzletkereső";
  163. ;;CustomerServiceForForgottenPasswordEmail;"Online ügyfélszolgálat";
  164. ;;InvoicePaymentsForForgottenPasswordEmail;"Számlabefizetés";
  165.  
  166. UPDATE CMSLinkComponent;$contentCV[unique=true];uid[unique=true];linkName[lang=$lang];
  167. ;;StoreLocatorForWishlistComingSoonEmail;"Üzletkereső";
  168. ;;CustomerServiceForWishlistComingSoonEmail;"Online ügyfélszolgálat";
  169. ;;InvoicePaymentsForWishlistComingSoonEmail;"Számlabefizetés";
  170.  
  171. UPDATE CMSLinkComponent;$contentCV[unique=true];uid[unique=true];linkName[lang=$lang];
  172. ;;StoreLocatorForOrderSubmitedEmail;"Üzletkereső";
  173. ;;CustomerServiceForOrderSubmitedEmail;"Online ügyfélszolgálat";
  174. ;;InvoicePaymentsForOrderSubmitedEmail;"Számlabefizetés";
  175.  
  176. UPDATE CMSLinkComponent;$contentCV[unique=true];uid[unique=true];linkName[lang=$lang];
  177. ;;StoreLocatorForOrderTrackingEmail;"Üzletkereső";
  178. ;;CustomerServiceForOrderTrackingEmail;"Online ügyfélszolgálat";
  179. ;;InvoicePaymentsForOrderTrackingEmail;"Számlabefizetés";
  180.  
  181. #*****************************************Drop2 Start**********************************#
  182. UPDATE CMSLinkComponent;$contentCV[unique=true];uid[unique=true];linkName[lang=$lang];
  183. ;;StoreLocatorForCustomerEmailUpdate;"Üzletkereső";
  184. ;;CustomerServiceForCustomerEmailUpdate;"Online ügyfélszolgálat";
  185. ;;InvoicePaymentsForCustomerEmailUpdate;"Számlabefizetés";
  186.  
  187. ;;StoreLocatorForPersonalDataChanged;"Üzletkeresőr";
  188. ;;CustomerServiceForPersonalDataChanged;"Online ügyfélszolgálat";
  189. ;;InvoicePaymentsForPersonalDataChanged;"Számlabefizetés";
  190.  
  191. UPDATE CMSLinkComponent;$contentCV[unique=true];uid[unique=true];linkName[lang=$lang];
  192. ;;StoreLocatorForCustomerSubscriptionLinkage;"Üzletkeresőr";
  193. ;;CustomerServiceForCustomerSubscriptionLinkage;"Online ügyfélszolgálat";
  194. ;;InvoicePaymentsForCustomerSubscriptionLinkage;"Számlabefizetés";
  195.  
  196. UPDATE CMSLinkComponent;$contentCV[unique=true];uid[unique=true];linkName[lang=$lang];
  197. ;;StoreLocatorForCustomerSubscriptionDelinkage;"Üzletkeresőr";
  198. ;;CustomerServiceForCustomerSubscriptionDelinkage;"Online ügyfélszolgálat";
  199. ;;InvoicePaymentsForCustomerSubscriptionDelinkage;"Számlabefizetés";
  200. #*****************************************Drop2 End**********************************#
  201.  
  202.  
  203. UPDATE CMSImageComponent;$contentCV[unique=true];uid[unique=true];$picture[lang=$lang]
  204. ;;emailHeaderOrderImageComponent;/images/theme/redsky_email_textlogo.png
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement