London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
I am currently trying to add a custom router in Commerce version 10.8.0 that allows me to write the following URL: website.com/gloves/{brand}, where gloves is a NodeContent in my catalog and {brand} is a segment I would like to perform some logic on before routing to the controller.
I have ensured that the route is registered in the initialization module:
When I try access website.com/gloves, my RoutePartial function in my PartialRouter is not being called before the routing has already occured.
Anyone got any idea why this occurs and how to fix it?
Thanks in advance!