PHP code example of mayankdolphin / magento2-module-specificproductindexing
1. Go to this page and download the library: Download mayankdolphin/magento2-module-specificproductindexing library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mayankdolphin / magento2-module-specificproductindexing example snippets
base
php bin/magento indexer:reindex:specific --id=1
base
php bin/magento indexer:reindex:specific --sku=24-MB01
base
php bin/magento indexer:reindex:specific --id=1,2
base
php bin/magento indexer:reindex:specific --sku=24-MB01,24-MB04