Skip to content

Fix: Adapt voucher category attribute creation for OroCommerce 6.1.x version#49

Open
vanlayo wants to merge 2 commits intomollie:masterfrom
vanlayo:master
Open

Fix: Adapt voucher category attribute creation for OroCommerce 6.1.x version#49
vanlayo wants to merge 2 commits intomollie:masterfrom
vanlayo:master

Conversation

@vanlayo
Copy link
Copy Markdown

@vanlayo vanlayo commented Sep 16, 2025

Refactored the 'mollie_voucher_category' product attribute creation to ensure compatibility with OroCommerce 6.1.

The previous data fixture caused a fatal error on a fresh oro:install due to changes in how enum attributes are handled in OroCommerce 6.1.

This commit now follows the standard OroCommerce convention by splitting the logic into two separate fixtures:

  • LoadMollieVoucherCategoryData: Uses the AbstractEnumFixture, which is the correct approach for creating enum options.
  • LoadMollieProductAttributeFamilyData: Assigns the created attribute to the default product family.

This approach aligns with the updated data fixture loading mechanism in OroCommerce 6.1 and resolves the installation failures.

ℹ️ This will be merged into main, but should probably be tagged specifically for OroCommerce 6.1.

### Screenshots

Product Attributes after install:

image

Product Families after init:

image

vanlayo and others added 2 commits September 16, 2025 17:34
Merge pull request mollie#47 from vanlayo/master
Refactored the 'mollie_voucher_category' product attribute creation to ensure compatibility with OroCommerce 6.1.

The previous data fixture caused a fatal error on a fresh `oro:install` due to changes in how enum attributes are handled in OroCommerce 6.1.

This commit now follows the standard OroCommerce convention by splitting the logic into two separate fixtures:

- `LoadMollieVoucherCategoryData`: Uses the `AbstractEnumFixture`, which is the correct approach for creating enum options.

- `LoadMollieProductAttributeFamilyData`: Assigns the created attribute to the default product family.

This approach aligns with the updated data fixture loading mechanism in OroCommerce 6.1 and resolves the installation failures.
@logeecom
Copy link
Copy Markdown
Collaborator

Hi @vanlayo

Thanks for reaching out to us.

Please note that we will review the changes carefully and update you regarding our decision accordingly.

Best regards

@logeecom
Copy link
Copy Markdown
Collaborator

logeecom commented Oct 1, 2025

Hi @vanlayo

Just so you know, we are still reviewing the changes and will update you as soon as possible.

Best regards

@logeecom
Copy link
Copy Markdown
Collaborator

Hi, @vanlayo

Please note that the review of the changes is in progress, and we will update you accordingly.

Best regards

@powli
Copy link
Copy Markdown

powli commented Jan 30, 2026

@logeecom is this still in progress? Orocommerce 6.1 has been released in March 2025...

@logeecom
Copy link
Copy Markdown
Collaborator

logeecom commented Feb 5, 2026

Hello @powli,

Yes, we are actively working on this.

By the end of this month, a new plugin version compatible with Orocommerce 6.1 will be released.

Best regards

@logeecom logeecom closed this Feb 5, 2026
@logeecom logeecom reopened this Feb 5, 2026
@tobstomar
Copy link
Copy Markdown

Hi @logeecom,
what is meanwhile the current status of a new plugin version compatible with Orocommerce 6.1? It's end of the month 02/2026. Is there an expected release date now, that we can rely on?

This is becoming a roadblock to progress in customer projects. Please provide substantial feedback.
Best regards

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.

4 participants