Monday 27 July 2020

An Introduction to Hybris from basics

An Introduction to Hybris from basics:

 -- ecommerce site and PCM(Product content Management) solutions. eg. croma website.

 -- having search , login , navigation , cart , order , registration , detail , listing functionality  etc by default..

 -- database independent(if you move database from oracle to mysql , no need to worry about the database migration.*-items.xml file has all the tables ready and impex file has the import  and export datas to different databases(oracle , mysql hana etc...).).

 -- screenshots -- 


  1)hybris database independent

 

 2)java hql dependency


  

----------------------------------------------------------------


  

  -- need to write code by implementing extensions (diff modules).

    screenshots (why hybris 1) -- 


  1)why hybris 1 -- cost effective -- 

                      1) have different kinds of recipes like b2c , b2b , or both etc ,-- you need to install recipes.

2) structured way of writing the program  -- screenshot for folder structure (folder structure) . 


BL-business logic, OMS - ordermanagement 

3)Other ecommerce platform to communicate SAP -- need lots of code, for hybris -- has b2b takes care of it.

  

  2) Gartner study  -- says hybris is no.1 digital e-commerce platform.

  

  what is Fiori (UI5) -- Just front end -- can be connected with SAP backend

   SAP can't be rendered in mobiles -- has 3L screens.

   to make mobile friendly we have fiori.

   

  3)Hybris support responsive web design

  

  SAP -- 22 years

   

   -- SAP is having e-commerece for  6 last years. SAP bought hybris.

   screenshots(sap other e-commerce solutions)



   

----------------------------------------------------------------


Other SAP E-commerce solutions

  - online store

  - ISA 

  - WCEM

  - Hybris

  

diffrenece between ISA and hybris?

1)Look and Feel (LFA).

hybris is better

UI,

UX (User Experience on Website (how tasks are simplified))-now ,

CX (Customer Experience on product or brand) - future

2) ISA is not having advanced features like search , navigation etc.

3) ISA is not mobile friendly.

4) ISA supports only Synchronous integration.

Hybris supports both.

screen shot(hybris e-commerce site with sap integration) for after placing orders ,do shipping and all.


  -- HF - hot folder , DH -data hub , JMS MQ -message queue

  -- If sap is down for 10 mins , orders placed from hybris will be in queue and will be continued when sap server is online again (asynchronous integration).

   

-- because of these sap decided their future ecommerce solution is hybris.


-- ISA will not be supported after 2020 , so customers will be moved.


Hybris is called PCM(Product Content Management system) for 2 things,


1)Content -- whatever you see in the landing page of a e-commerce site called content.

  -- screenshot(content-managers-cmscockpit)


  -- content managers uses cmscockpit (https://localhost:9002/cmscockpit)

  -- deleted a best seller product for apparel uk website ( by going into apparel uk online in left bar) 

  

2)Product

----------------------------------------------------------------


2)Product 

   -- screenshot (product-managers-productcockpit)


   -- product managers uses productcockpit

   

 we can manage content and product , so hybris is called PCM software.

 

 http://localhost:9002/productcockpit

 

 screenshot (product-cockpit-edit-product-info)


 

 certfication based question -- 

     -- Q) how to find a site is developed using hybris or not?

    ans:

sol1)

if you click on any category or sub category on navigation menu , the url of the redirected category page, will contain the /c/  before <category-id/category-name>. it is the default behaviour of hybris, but some companies override it for SEO purpose.

screenshot (certiicationq1)


sol2)if you click on any product on category page , the url of the redirected product detail page, will contain the /p/  before <product-id/product-name>. 

sol3)If some companies override the url , then how can we find it?

  go to inspect element , and click on sources and find "open file" , click and type acc, you will see , most js files starts with acc (eg.acc.cart.js).

  screenshot(to-find-hybris-website)


  

  

note: they can do code optimisation and changes 20 files content into single file with different name (not starts with acc) , we can't find the website is hybris or not.

-- for code minification or optimisation , hybris provides inbuilt tool called grunt (you can use third party tools also).

  

  

Homepage -- 

 Every page has its own controller (spring mvc controller) page in java.

 what are default pages in hybris?

 

   --for homepage , it has homepagecontroller.java

   --category page -- CategoryController.java

   --searchresults page -- SearchPageController.java

   --product page -- ProductPageController.java

   --cart page -- CartPageController.java

   --checkout page -- CheckoutStepController.java

  

----------------------------------------------------------------



Ecommerce - Buying / selling of products / services from business / customer through internet.


Flavors / types of ecommerce

  -- B2B - companies doing business with each other.

     -- IBM - lenovo ( www.mcmaster.com)

  -- B2C - Business selling to public directly without human interaction.

-- flipkart , amazon

  -- C2B - Consumer posts his work details online. companies bid for his work.consumer reviews and select the company.

     -- elance.com , upwork.com

  -- C2C - Customer places ads online . another individual can come and buy.

     -- olx.com


Hybris majorly focus on B2B and B2C.

 

-- Recipe means Ecommerce flavor == acc == module.

-- Go to recipe folder in hybris install folder and Install B2B acc , if you want to work on B2B sites or B2C acc for B2C sites.

   screenshot(recipe-install-b2b-b2c)


   

Recipe contains what?

   1) buile.gradle -- list of extensions

     -- if you want to write the code , you need to create extensions  or open existing extension and write the code.

-- if you want to use both B2B and B2C , you need to install b2c_b2b_acc recipe.

  -- OOTB - out of the box -- already available functionality.

  

  

   

   2) readme - what recipe will do.

   

B2C vs B2B-

  1) registration avalible in B2C but not available in B2B.

    - how regisrtation can happen in B2B ?

  sol1:

    some companies allow self registration.

  sol2: regisrtation by invite (mail link for registration).

  sol3: just create the account and give the credentials.

  2) 100% ecommerce 

      -- b2c is 100% ecommerce. you can directly buy anything but in b2b , you need to interact with the business people before getting into business with each other.

       3) Payment

            -- b2c , there are lot of payment gateways available. CC/DC/PayPal/WePay etc.

            -- screenshot(payment-gateway) for b2c.


-- b2b payment:

    --screenshot(b2b-payment).


  4)pricing - in b2c products have price is one price it will show all customers

      -- pricing user wise can change price in b2b .

  5) in b2b , only login user can place the order (you should be in b2b customer group to create order).in b2c , both guest and login user can place the order.

    -- screenshot(checkout-b2b-po-no)


  6)quotation - is not there in b2c.

    -- quotation - is important company to company based on quotation will order take.

  7)cart items only one currency in b2c.

    Cart items have different currency in b2b.

  8)Demand is direct demand if there place order in b2c.

      -- if there is discount available , apply and order . otherwise direct order will be placed.

    Demand - available to promise (ATP) based on product delivery and demand in b2b.

  -- if order to be placed , specified quantity to be promised (ATP) on specified date.

No comments:

Post a Comment

Unity Top Download

Latest post

An Introduction to Hybris from basics

An Introduction to Hybris from basics:  -- ecommerce site and PCM(Product content Management) solutions. eg. croma website.  -- having sear...

Popular posts