Category : akeneo

I’m migrating a bundle, that add a link button on the product page, from akeneo 2.3 to akeneo 3.2. With 2.3 we have a parameter defined on parameters.yml as #CUSTOM magento_base_url: http://mymagento.com/ then in the form_extensions extensions: pim-product-edit-form-magento-link-frontend: module: pim/product-edit-form/magento-link parent: pim-product-edit-form targetZone: buttons position: 90 magentoBaseUrl: "%magento_base_url%" <– MY CUSTOM ATTR type: frontend then ..

Read more

I’m currently trying to add a translatable textarea into the description dashboard, as described here: https://docs.akeneo.com/3.2/manipulate_pim_data/category/add_new_properties_to_a_category.html My current Akeneo version is 3.2, due to some architectural limitations I cannot upgrade right now to v.4. I slavishly followed the steps described above, still when I run pim-community-standard % php bin/console doctrine:schema:update –dump-sql –verbose I get this ..

Read more

According to the docs, https://docs.akeneo.com/4.0/manipulate_pim_data/product/save.html, I should be able to call $saver = $this->get(‘pim_catalog.saver.product’); in my bundle’s controller, like this: <?php namespace XXXController; use SymfonyBundleFrameworkBundleControllerController; use SymfonyComponentHttpFoundationResponse; class ExportController extends Controller { public function exportProduct($id): Response { $saver = $this->get(‘pim_catalog.saver.product’); $saver->save($id); return new Response( ‘<html><body>foo</body></html>’ ); } } However I get this error: [2020-11-05 13:44:58] ..

Read more

I’m getting product data from API without "id" field from db table. How to expand API? array(1) { ‘self’ => array(1) { ‘href’ => string(59) "https://akeneo-example.com/api/rest/v1/products/108663-BLUE" } } ‘identifier’ => string(12) "108663-BEIGE" ‘enabled’ => bool(true) ‘family’ => string(5) "color" ‘categories’ => array(2) { [0] => string(12) "plastic_pens" [1] => string(12) "plastic_pens" } Source: Symfony..

Read more

I’ve been trying to get Akeneo to store all files in on an object storage server (minIO) I’ve followed the guide here: https://docs.akeneo.com/4.0/manipulate_pim_data/store_assets_externally.html as that is using aws-sdk-php I thought i could do it like this: in config/services/prod/storage.yml i’ve added services: AwsS3S3Client: arguments: – version: ‘latest’ region: ‘us-east-1’ endpoint: ‘<address to minio server>’ use_path_style_endpoint: true ..

Read more

I’m building a custom bundle for Akeneo v4.0. I’m trying to import routes from that bundle to the rest of the app. So far I’ve done: # config/bundles.php <?php return [ JBieliauskasMyServerBundleMyServerBundle::class => [‘dev’ => true, ‘test’ => true], ]; # src/MyServerBundle/Resources/config/routing.yml my_server_index: path: /my-server # config/routes/routes.yml jb_my_server: resource: “@MyServerBundle/Resources/config/routing.yml” prefix: / Then I run: ..

Read more