WOrks for me.
In my case, it leads to server lagging and interaction of site works. I've increased priority to higher.
The patch from #16 fixed the problem.
+
Thanks!
For some reason, @gisle mail was lost in the span. I've just noticed it.
Thanks for the offer!
I've added all the necessary permissions for @heddn :)
Here is a patch that saves the grouping field(caption) with the next table data load.
I've noticed one problem with the patch above in case when using the option 'Grouping by field' its value is lost for results loaded by scroll.
Works for me. Thanks!
+1
init90 β created an issue.
init90 β created an issue.
β¨ Allow "related entity" tokens to be used in "to" address Fixed do the same but also allows to replace tokens from related entities
j0sbeir thanks for the patch!
I've added one minor but important update to it - passed supported token types to the 'email to' field for correct tokens validation.
Updated code to be compatible with the last Drupal versions.
@kkalashnikov, in the original patch in #15 hook documentation moved to the other place, your patch just delete documentation.
I encounter the issue when adding a discount to the product for which the price can be adjusted by the customer based on the selected options. In the order item we tell that the price is overridden, i.e. 'overridden_unit_price' set to TRUE. This means that on refresh order item price won't be updated according to the product variation price.
With the standard setup, I had 2 issues:
1. It lost the 'overridden_unit_price' setting which lead to the loss customization price.
2. It's updated already updated order item price, which leads to incorrect calculation.
As a workaround, I created a custom promotion plugin that fixes the problems above.
To fix first point the plugin account 'overridden_unit_price' setting: $order_item->setUnitPrice($new_unit_price, $order_item->isUnitPriceOverridden());
To resolve the second point passes the original price to the order item $order_item->setData('original_price', $price);
in add to cart event. Then in the promotion plugin discount always applies to the original price.
Hope at some time the issue will be fixed with the solution like in message #16.
The last patch isn't correct.
We have PHPStan for such things #3178534: Start running PHPStan on Drupal core (level 0) β , so I think it is not actual anymore.
PHPStan was adopted by core #3178534: Start running PHPStan on Drupal core (level 0) β so I think the issue is not actual anymore.