Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
General questions about Magento 2, not specific to a minor version. Use this tag to distinguish from Magento 1. If you have issues with a specific version, please use the appropriate 'Magento-2.x' tag instead. Functionalities between Magento 2 minor versions might differ.
2
votes
Accepted
Magento 2 - Registering a new Grunt task without editing Gruntfile.js
You can create an additional task in a seperate folder to that of Magento's dev/tools/grunt/tasks by simply using the --tasks flag that is available on the grunt cli.
Create a file in a location of …
3
votes
1
answer
767
views
Magento 2 - Registering a new Grunt task without editing Gruntfile.js
Following on from this question: Magento 2 add new theme without changing core files. Grunt
The goal is to register a new Grunt task called "development". To do this, grunt.registerTask is needed, ho …
0
votes
Magento 2, get Min and Max price in Layered Navigation
public function getPriceRange($filter)
{
$max = $filter->getLayer()->getProductCollection()->getMaxPrice();
$min = $filter->getLayer()->getProductCollection()->getMinPrice();
$Filterprice …