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

sku.html: omit SKU link if there is no URL #63

Merged
merged 1 commit into from
Feb 24, 2024

Conversation

simark
Copy link
Collaborator

@simark simark commented Dec 29, 2023

The sku_url variable that is passed to sku.html can be None (we may not know the URL for all SKUs). The URL is currently printed unconditionally, leading to broken links like:

https://canadiantire.canone

... if there is not URL. Omit the link if there is not URL.

The `sku_url` variable that is passed to sku.html can be None (we may
not know the URL for all SKUs).  The URL is currently printed
unconditionally, leading to broken links like:

    https://canadiantire.canone

... if there is not URL.  Omit the link if there is not URL.
@jgalar jgalar merged commit 78779f5 into jgalar:main Feb 24, 2024
2 checks passed
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