In composer.json add to the scripts section. See below:
"scripts": { "pre-install-cmd": [], ... "post-drupal-scaffold-cmd": [ "patch -p1 < patches/my-htaccess.patch" ] },
In composer.json add to the scripts section. See below:
"scripts": { "pre-install-cmd": [], ... "post-drupal-scaffold-cmd": [ "patch -p1 < patches/my-htaccess.patch" ] },
Update a UUID:
drush config-set "config.name" uuid "
a2afbb3b-d34f-42fd-bf0c-593a103aa6f4"
Also how to generate an new UUID:
drush php-eval "echo \Drupal::service('uuid')->generate();"
Notes:
drush config-get "config.name" uuid
Currently "Buy X and Get Y" discount is only related to the whole order and not at the order item level.
I needed order item level discounts. e.g. buy 10 or more of the same product and get 10% off that order item.
The new promotion will only discount at the order item level for order items with a quantity of 10 or more.
I created this post to have a quick overview of the two different Drupal 8 modules that extend the default node title length. There are currently two modules: Node Title Length and Entity Title Length.
Both modules are easy to set up and both have a very minimal configuration. I do recommend the Node Title Length module due to being in a stable and released state.
By default Drupal 8 commerce 2.x product variations do not have a default currency setting for multi-currency projects.
Currently, there is a patch in the works to solve this issue. The patch can be found in the commerce issue queue: https://www.drupal.org/project/commerce/issues/3016777
Thank you a.dmitriiev for creating a patch to solve this issue!