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

fix: single meta field edge case #257

Merged
merged 1 commit into from
Mar 1, 2024
Merged

fix: single meta field edge case #257

merged 1 commit into from
Mar 1, 2024

Conversation

GrigoreMihai
Copy link
Contributor

Summary

Fixes the case when only one meta field is added. Now when the $ppom->meta_id is not an array it is instantiated with an array containing the id.

Will affect visual aspect of the product

NO

Screenshots

Now it works with both a single and multiple meta fields: https://vertis.d.pr/i/FWauH4, https://vertis.d.pr/i/yXfM03 .

Test instructions

Attach only one ppom meta field to a product, the meta field should be displayed.

Closes #256.

@pirate-bot
Copy link
Contributor

Plugin build for 85f56cb is ready 🛎️!

@vytisbulkevicius vytisbulkevicius merged commit e18cef3 into master Mar 1, 2024
3 checks passed
@pirate-bot
Copy link
Contributor

🎉 This PR is included in version 32.0.12 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@pirate-bot pirate-bot added the released Indicate that an issue has been resolved and released in a particular version of the product. label Mar 1, 2024
@selul selul deleted the fix/256 branch September 6, 2024 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Indicate that an issue has been resolved and released in a particular version of the product.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Warning after updates
4 participants