At what point are shopware rules applied to the cart?
The Shopware v6.5 CartRuleLoader
class contains the load
method which contains this piece of code $rules = $this->loadRules($context->getContext())
.
Which Shopware 6 class interpretes shopware rules
I am creating a custom plugin with custom fields that requires Shopware rules to work. Which Shopware 6 class processes or interpret the Shopware rules especially the ‘payload’ column (in the database table) which contains the logic (if, or, and, etc).
Custom Product Extension Translation Not Saving – 400 Bad Request Error
I’m developing a custom product extension for Shopware 6 that includes a translatable field (“headline”). I’ve followed the recommended steps to set up my entity definitions and migrations, but I’m encountering a 400 Bad Request error when trying to save the product with translations.