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
//does not work with colors containing alpha | |
@function encodecolor($string) { | |
@if type-of($string) == 'color' { | |
$hex: str-slice(ie-hex-str($string), 4); | |
$string:unquote("#{$hex}"); | |
} | |
$string: '%23' + $string; | |
@return $string; | |
} |
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
https://marketplace.visualstudio.com/items?itemName=redhat.vscode-xml | |
https://marketplace.visualstudio.com/items?itemName=viperet.vscode-magento-wizard | |
php bin/magento dev:urn-catalog:generate ./.vscode/catalog_tmp.xml | |
MagentoWizard: Generate XML Catalog command | |
select catalog_tmp.xml |
- Power user tip: If the error message or error description sounds familiar, check your list of previous solutions, before you spend hours debugging.
- Otherwise, start gathering evidence:
- From error logs, error messages, unusual behaviour, entities with missing information (e.g. Orders, customers, products)
- Reproducibility: If it can't be reproduced, it'll be hard, if not impossible to debug. Wait for it to occur regularly before investing time in debugging it.