on ‎2020 Jun 12 1:53 PM
PDP has ProductPageController, where get the ProductModel. Because from smartedit it doesn't call ProductPageController, where is the code to get the productmodel?
Request clarification before answering.
If using OCC, it might be de.hybris.platform.ycommercewebservices.v2.controller.ProductsController. There's also ProductController in the other packages. You can try to debug, and see which one is being called.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your reply.I check it again, I think my question is wrong. I will update the title and question again.
when go to PDP page, actually it calls the ProductPageController.
But somehow when I debug, it load homepage, go to homepageController, and populate all products in homepage. Finally it goes to ProductPageController to load the PDP page. That's why at the beginning, I thought didn't call ProductPageController.
Now my question, why load homepage when load pdp page?
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.