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

Product URL Model: Check request path to empty #1149

Merged

Conversation

vmalyk
Copy link
Contributor

@vmalyk vmalyk commented Apr 21, 2021

Hi!

In some cases $product->getRequestPath() returns as NULL and URL Rewrite isn't loaded for product. As result, product gets url with /catalog/product/view/id/*** format. I suggest to use the same expression as in original file and
check to empty value.

Please review,

@damcou damcou self-requested a review April 27, 2021 12:31
Copy link
Contributor

@damcou damcou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this @vmalyk , LGTM 👍

@damcou damcou merged commit 643c93e into algolia:develop Oct 13, 2021
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.

2 participants