function filter_related_products_exclude_attribute_value( $related_product_ids, $product_id ) {
$filtered_related_product_ids = array();
foreach ( $related_product_ids as $related_product_id ) {
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Magento 2 - Backup scripts (database | media) | |
# | |
# @author Leonardo <lnoering@gmail.com> | |
# @version 1.0.0 | |
# UnComment it if bash is lower than 4.x version | |
shopt -s extglob |
1 - Need start the project.
bash <project-root>/vendor/magento/magento-cloud-docker/bin/init-docker.sh
https://devdocs.magento.com/cloud/docker/docker-development.html
2 - Build the compose
Only on the commerce cloud projects, it goes like this: When branches are ready to deploy to production:
- create a release/[yyyymmdd] branch (e.g. release/20220315) from git master
- merge feature branches that are ready to deploy to this release branch (push release branch to git repo)
- merge the release branch to git production (push git production up to repo)
- merge git production to cloud production
- merge git production to git master
- optional: merge cloud production to cloud master
for all the other "on-premise" projects, we
NewerOlder