Monday, 12 May 2014

Content loader disabled in 5.6.1

Content loader has been deprecated in CQ 5.6.1 which might create difficulty in uploading bulk contents in CRX. 

As per CQ documentation on, it is  suggested to use content loader in CRX but when you will try to find content loader at http://localhost:4502/crx/loader/index.jsp, you will encounter the error: message "Content Loader have been discontinued. 

Package manager is a built utility rather than import or bulk upload utility. So, it may not help.

Alternatives to upload (CSS, HTML and images) or simple content packages (without jcr:content):

1/ Use WebDav to simply move the files to CRX.
2/ Another option is to use an http client, curl for instance and the sling post servlet capabilities. see (1) for reference.

Tuesday, 2 April 2013

AEM and Hybris Integration Example

Hybris Integration:

To have the e-commerce capabilities, you need to install the Adobe Experience Manager and Install the following packages using package manager (These packages are available on Adobe Package Share). AEM  has an e-commerce framework available in it, which is installed when you install the AEM.

  • cq-hybris content ( It has hybris API's implementation)
  • cq-hybris server ( in case you do not have a hybris server)
Hybris Example with AEM :- 

To implement an e-commerce example. Follow the below steps:- 

1. When CQ and Hybris servers are up and running

2. Open siteadmin

3. Open English (US) Geometrixx Outdoors page in Siteadmin      (http://localhost:4502/siteadmin#/content/geometrixx-outdoors/en_US)

4. Open the Men's category page (http://localhost:4502/cf#/content/geometrixx-outdoors/en_US/men.html)

5. Open Jola Summer page (http://localhost:4502/cf#/content/geometrixx-outdoors/en_US/men/shorts/48576.html)

  •  Switch colors (variants)
  • See product name changing
  • See available sizes changing

6. Open the Ashanti Nomad page (http://localhost:4502/cf#/content/geometrixx-outdoors/en_US/men/shirts/3209.html )

7. Switch to the Hybris interface https://localhost:9001/hmc/hybris

  • Login: admin/admin
  • Click Home
  • Login again (same credentials)
  • Click on any link; login again if required
  • Switch to the English interface (top-right)
  • Click Catalog/Catalogs
  • Expand outdoors -> outdoors - Staged -> men -> shirts -> 3209
  • Click on 320984-L
  • Show that it refers to the L variant
  • Click price (top bar), change price (e.g. from $29.50 to $22.00), save (top left)

8. Back to CQ

9. Show Ashanti Nomad again http://localhost:4502/content/geometrixx-outdoors/en_US/men/shirts/3209.html, select L variant with new price

  • Select size variant, click add to cart
  • Click Cart (#) http://localhost:4502/cf#/content/geometrixx-outdoors/en_US/user/cart.html, show cart
  • Click one product link
  • Update a quantity from the cart
  • Delete an item line from the cart

10. Back to Hybris

  • Browse through Marketing -> Order statistics -> Carts
  • In main page, click search
  • In Results section, click Date column header to order by date, check that the latest cart is from the current date
  • Double click the latest cart
  • Show that cart items (and prices) are the same as in CQ cart
  • Change the quantity of an item and save

11. Back to CQ
  • Show new quantity in CQ Cart
  • Checkout
This is an example of implementing cart and a checkout. In a similar manner, a simple cart system can be implemented.

For more information, find