Group: http://groups.google.com/group/atg_tech/topics
- Checkout issue with custom catalogs. [1 Update]
Anuj Jaiswal <anujjai...@gmail.com> Apr 27 03:52PM +0100 ^
--
Hi Team,
We are working for the some project on ATG 9.1 p2 version.
We are creating multiple catalogs under masterCatalog as US Catalog and UK
catalog. See the attached screenshot for the catalog structure (catalog.JPG)
. Both catalogs have different categories, products and sku id in it. Each
catalog have separate rootNavigationCategory id.
According to the user’s URL as http://www.moltonbrown.co.uk or
http://www.moltonbrown.com , we are setting the UK/US catalog with price
lists in the user’s profile. So when the user goes to UK site, only UK
catalog with categories under root navigation category is visible. Same for
the US site.We are using the default CRS implementation for the checkout
journey.
The checkout journey runs fine for the products under the UK category, but
when we try to checkout for any products under the US catalog, it throws the
below error (see attached error.log)
*
*
*15:21:36,437 INFO [CartFormHandler] DEBUG adding unchecked form exception:
java.lang.NullPointerException*
We debugged the code and find out that the issue is with following methods
of ATG class atg.commerce.catalog.custom.CustomCatalogTools:
*1) 1) *boolean verifyCatalog(RepositoryItem pItem)
2) public RepositoryItem findSKU(String pId)
We have also checked the CatalogTools component, its setting the US catalog
correctly, but when we try to verify the catalog or find the sku item using
catalog tools, its throwing the above errors. The same runs fine using the
products under UK catalog. By looking at the logs, its throwing NPE at
CustomCatalogTools.java:2030
Kindly let us know is there any existing issue with 9.1 version of handling
multiple catalogs. Do provide us some pointers, where to look in the code to
handle the multiple catalogs checkout issue.Let me know if you need any
further information. How can I verify the consistency of the catalog other
than CatalogMaintainance Service
--
Thanks and Regards,
Anuj Jaiswal
+44-7550664836
You received this message because you are subscribed to the Google Groups "ATG_Tech" group.
To post to this group, send email to atg_...@googlegroups.com
To unsubscribe from this group, send email to atg_tech-u...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/atg_tech?hl=en