Releases: Brille24/SyliusCustomOptionsPlugin
Releases · Brille24/SyliusCustomOptionsPlugin
Update to Sylius 1.10
Merge pull request #97 from JakobTolkemit/update_1.10 Update 1.10
Making the entities extendable
The entities in this plugin are now mapped super classes and can be extended.
Fixing percentage display in admin panel.
2.11.2 Fixing the codestyle
Optimizing the Customer Option Value resolution
We now use a repository for this.
Exposing more methods in interfaces
2.10.1 Exposing getPriceForChannel in customer Option value
Fixing product overrides
Fixes: #79
The problem was that when a customer option value had multiple overrides then, it would always take the last override no matter what product this is for.
This fix sadly breaks backwards compatibility. The method signature has changed:
public function getPriceForChannel(
ChannelInterface $channel,
+ ProductInterface $product,
bool $ignoreActive = false
): ?CustomerOptionValuePriceInterface;Fix file option on customer option summary
Positions in Customer Option Groups are optional Fixes #78
Separate table for file content values
OrderItemOptionsof the typefilenow store their value in a separate table.- The
optionValueofOrderItemOptionsis now saved as aVARCHAR(255)instead ofLONGTEXT- This means your text options no longer support values that are more than 255 characters long.
Making it possible to delete customer option special prices in the csv import
The csv file for the customer option prices import now has two new fields.
- id:
- The id of a
CustomerOptionValuePrice - Used to update or delete an existing price
- The id of a
- delete:
- Whether the price should be deleted or not
Fixing the required attribute
Customer options that are required now have to be filled. This also now goes for select options. This is a kinda bc-break, if you weren't paying attention to the required flag in the first place though.