How to make Extenstion to Template

->frist Convert electronicStore  extension to templete

->open extensioninfo.xml of electronicStore extenstion

paste the belowe code after core tag

<meta key=”extgen-template-extension” value=”true”/>

see below xml  file

 

<?xml version=”1.0″ encoding=”UTF-8″ standalone=”no”?>
<!–
[y] hybris Platform

Copyright (c) 2000-2015 hybris AG
All rights reserved.

This software is the confidential and proprietary information of hybris
(“Confidential Information”). You shall not disclose such Confidential
Information and shall use it only in accordance with the terms of the
license agreement you entered into with hybris.

<extensioninfo xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance&#8221; xsi:noNamespaceSchemaLocation=”extensioninfo.xsd”>

<extension abstractclassprefix=”Generated” classprefix=”Electronicsstore” managername=”ElectronicsstoreManager” managersuperclass=”de.hybris.platform.jalo.extension.Extension” name=”electronicsstore”>

<requires-extension name=”commerceservices”/>

<coremodule generated=”true” manager=”de.hybris.platform.electronicsstore.jalo.ElectronicsstoreManager” packageroot=”de.hybris.platform.electronicsstore”/>
<meta key=”extgen-template-extension” value=”true”/>
</extension>

</extensioninfo>

->create extgen.properties file in electronicsstore paste below code

YEXTNAME_TOKEN=electronicsstore
YMODULE_TOKEN=electronic
YMODULE_PACKAGE_ROOT=store
YMODULE_CLASS_PREFIX=store
YPACKAGE_TOKEN=de.hybris.platform.electronicsstore
YMANAGER_TOKEN=ElectronicsstoreManager
YCLASSPREFIX_TOKEN=Electronicsstore
YGENERATED_TOKEN=Generated

->ant extgen

-> selcect(type) electronicsstore

->type ur store

-> type ur package

 

 

cloning  the Backoffice and ordermanagement

Creating backoffice Custom Extension

 

—> frist Convert extension to templet of ordermanagenmentbackoffice

open /data/EMBITEL/emb-sardsal/Documents/OMS-POC5.7.0.2/hybris-commerce-suite-5.7.0.2/hybris/bin/ext-backoffice/ordermanagementbackoffice/localextension.xml

add <meta key=”extgen-template-extension” value=”true”/>

—> Convert extension to templet of

open /data/Documents/OMS-POC5.7.0.2/hybris-commerce-suite-5.7.0.2/hybris/bin/ext-backoffice/warehousingbackoffice

add <meta key=”extgen-template-extension” value=”true”/>

copy extgen.properties file from ybackoffice to warehousingbackoffice, ordermanagementbackoffice

-> open /dataDocuments/OMS-POC5.7.0.2/hybris-commerce-suite-5.7.0.2/hybris/bin/platform

open console and type

1)ant extgen

2) ordermanagementbackoffice warehousingbackoffice

3)customordermanagmentbackoffice (OR) customorderfulfilmentbackoffice

4)com.ordermanagmentbackoffice (OR) com.orderfulfilmentbackoffice

5)true(enter)

6)false(enter)

 

 

implink On backoffice

https://wiki.hybris.com/display/release5/How+to+Replace+Styles+of+Backoffice+Application+-+Tutorial#HowtoReplaceStylesofBackofficeApplication-Tutorial-CreateCSSFilesandPutTheminaRightPlace