I finally found the appropriate db tables.
If you have a case where you need to cancel a coupon - you have to use the following database tables:
and their field times_used, just decrease the number of used and try to apply coupon again. Voila!
Disable Async Grid Indexing
As mentioned in the other answer, you can disable it by going to
Store > Configuration > Advance > Developer > Grid Settings > Asynchronous indexing
You can do the same from the command line:
View the settings value: bin/magento config:show dev/grid/async_indexing
Enable: bin/magento config:set dev/grid/...
Here is the code, for reference here, before return of collection we have just added complete category collection through Category Factory.
class ListProduct extends \Magento\Catalog\Block\Product\ListProduct
You can use GINBOX's Magento plugin for free.
GINBOX robust plugin offers seamless checkout experience to online users, which allows your user to autofill shipping address fields in the checkout page by using his/her GINBOX number.
You could copy this file
to your app/design/ folder and add tabindex to the attr like this
<input class="input-text" type="text" data-bind="
The best way to illustrate this is by examining what Magento does in its core code. We can use downloadable products for this example.
In Stores > Settings > Configuration > Catalog > Catalog, you can set Default Link Title:
This is Magento's default value to display a title for the downloadable links section. The question is how we can get this ...
copy product images from one product to other
public function copyProductImages($productSrc,$productDest)
$objectManager = \Magento\Framework\App\ObjectManager::getInstance();
$fileSystem = $objectManager->create('\Magento\Framework\Filesystem');
$baseDir = $fileSystem->getDirectoryRead(\Magento\Framework\App\Filesystem\...