Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Magento Exam Magento-2-Certified-Associate-Developer Topic 1 Question 58 Discussion

Actual exam question for Magento's Magento 2 Certified Associate Developer exam
Question #: 58
Topic #: 1
[All Magento 2 Certified Associate Developer Questions]

A client has asked you to include category url keys in product URLs.

How is this done?

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Jettie
7 hours ago
Option A sounds like a lot of work. Why would I want to create an observer just for this? That seems like overkill to me.
upvoted 0 times
...
Mariko
2 days ago
Hmm, I'm not sure about these options. Isn't there a simpler way to do this, maybe using a plugin or something? I feel like I'm missing something here.
upvoted 0 times
...
Julieta
3 days ago
I'm leaning towards option D. Creating an after plugin on the UrlRewrite controller seems like a more flexible approach. That way, we can customize the URL generation as needed.
upvoted 0 times
...
Renay
4 days ago
Option C seems like the most straightforward solution. If we set the configuration value, Magento should handle the rest, right? That's the easiest way to go about it.
upvoted 0 times
...
Jade
6 days ago
I think option B is correct. It's not possible to include category URLs in product URLs because products can belong to multiple categories. That would just create a mess.
upvoted 0 times
...
Nickolas
8 days ago
This is a tricky question. I'm not sure if including category URLs in product URLs is really necessary, since products can belong to multiple categories.
upvoted 0 times
...

Save Cancel