agencednd/google-manufacturer-bundle
If it is not already done, install Akeneo PIM.
If composer is not installed, get composer (with command line):
cd /my/pim/installation/dir
curl -sS https://getcomposer.org/installer | php
Then, you can either require Google Manufacturer Connector using composer:
cd /my/pim/installation/dir
composer require "agencednd/google-manufacturer-connector-bundle"
Or in your composer.json add the following code dependending on your Akeneo PIM version:
{
"require": {
"agencednd/google-manufacturer-connector-bundle": "4.*"
}
}
And finish the install by running:
cd /my/pim/installation/dir
composer install
First, enable the bundle in the Kernel:
<?php
return [
Dnd\GoogleManufacturerBundle\DndGoogleManufacturerBundle::class => ['all' => true]
];
Then, add the route of the bundle:
# > config/routes/routes.yml
dnd_google_manufacturer:
resource: "[@DndGoogleManufacturerBundle](https://github.com/DndGoogleManufacturerBundle)/Resources/config/routing.yml"
Change or add the configuration for media caching:
# > config/packages/liip_imagine.yml
liip_imagine:
filter_sets:
thumbnail_full:
quality: 100
format: jpeg
filters:
relative_resize: { scale: 1.0 }
You are allowed to change the filter set or change the filter key thumbnail_full but changes must also be applied in the linked service: DndGoogleManufactureBundle/Resources/config/renderers.yml
Then refresh the assets:
php bin/console cache:clear --env=prod
php bin/console pim:installer:assets --env=prod
yarn run webpack
How can I help you explore Laravel packages today?