GOOGLE_API_CREDENTIALS_PATH=
GOOGLE_MERCHANT_ID=
GOOGLE_MERCHANT_QUEUE_CONNECTION=sync
GOOGLE_MERCHANT_QUEUE_TRIES=10
GOOGLE_INDEX_ENABLED=
GOOGLE_INDEX_QUEUE_CONNECTION=sync
GOOGLE_INDEX_QUEUE_TRIES=10
php artisan vendor:publish --provider="DescomMarket\Feeds\DescomMarketFeedsServiceProvider"
Automatically index your products in Google Search Console if dispatch event:
DescomMarket\Common\Events\Catalog\Products\ProductPublished
You can use this API to index your products in Google Search Console
use DescomMarket\Feeds\Google\Index\Services\EnqueueUrlService;
EnqueueUrlService::publish($url);
EnqueueUrlService::unpublish($url);
Or use events:
use DescomMarket\Common\Events\Urls\UrlCreated;
use DescomMarket\Common\Events\Urls\UrlDeleted;