Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added support for a faux parent #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

enminc
Copy link

@enminc enminc commented Mar 25, 2016

The use case would be when faking a product into a category for which is does not actually live within. Ex: single product in multiple categories. By allowing the passing of a fauxParentId you can divert the breadcrumb from its original family tree and into another. Result is a breadcrumb path that matches the category you are presenting the product (resource) to be and not the actual path it resides in.

enminc added 2 commits March 24, 2016 17:09
The use case would be when faking a product into a category for which is does not actually live within. Ex: single product in multiple categories. By allowing the passing of a fauxParentId you can divert the breadcrumb from its original family tree and into another. Result is a breadcrumb path that matches the category you are presenting the product (resource) to be and not the actual path it resides in.
…Check that passed FauxParentId is_numeric and not empty or none numeric value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant