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

[5.x]: Link Field: Invalid link type: product #16343

Open
mdresoled opened this issue Dec 18, 2024 · 1 comment
Open

[5.x]: Link Field: Invalid link type: product #16343

mdresoled opened this issue Dec 18, 2024 · 1 comment
Labels

Comments

@mdresoled
Copy link

What happened?

Description

I have created a custom field which use the Link field type. I have assigned it link to an Entry or a Product from the checkboxes.
I have selected the product source, etc.

The link does not render and fails with Invalid link type: product.

Steps to reproduce

See above

Expected behavior

Render a product link uri based on the chosen

Actual behavior

Fatal error: Invalid link type: product

Craft CMS version

Craft Pro 5.5.7

PHP version

8.3.13

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

  • CKEditor: 4.4.0
  • Cloudinary: 2.1.0
  • Contact Form: 3.1.0
  • Contact Form Honeypot: 2.1.0
  • Craft Commerce: 5.2.9.1
  • Digital Products: 4.0.2
  • Element API: 4.1.0
  • Feed Me: 6.6.1
  • Palette: 5.1.2
  • Sentry Logger: 5.0.1
  • Stripe: 1.3.2
  • Stripe for Craft Commerce: 5.0.4.3
  • Webhooks: 3.1.0
@mdresoled mdresoled added the bug label Dec 18, 2024
@brandonkelly
Copy link
Member

Did you uninstall or downgrade Craft Commerce? Support for the product link type was added in Commerce 5.1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants