Skip to content

magento man

Magento 2.x.x extension attributes API add object array

Have added custom attribute to order API with following info here: https://www.atwix.com/magento-2/adding-custom-attribute-to-api-response-in-magento-2/ It adds the “customer_feedback”: “this is my feedback” fine to api. How to add an Json object array ? E.G: “my_custom_object”: { “Key1”: “value!”, “Key2”: “value2” } Thanks

How to fix this indexing error?

When I am running indexer:reindex command, I am getting this error. Integrity constraint violation: 1062 Duplicate entry ‘1448-0-1’ for key ‘PRIMARY’, query was: INSERT INTO catalog_product_index_price_temp SELECT catalog_product_index_price_replica.* FROM catalog_product_index_price_replica WHERE (entity_id IN(‘5472’, ‘5842’, ‘5848’, ‘5467’, ‘5468’, ‘5471’, ‘5848’, ‘5467’,… Read More »How to fix this indexing error?

Magento 2: Cloud project composer install error module-staging-page-builder (2.2.0): Downloading (failed)

I have facing error in composer install in cloud project. Issue is facing in module-staging-page-builder module Downloading (failed). Command composer install Error: Installing magento/module-staging-page-builder (2.2.0): Downloading (failed) [ComposerDownloaderTransportException] The “https://repo.magento.com/archives/magento/module-staging-page-builder/magento-module-staging-page-builder-2.2.0.0.zip” file could not be downloaded (HTTP/1.1 404 Not Found) install… Read More »Magento 2: Cloud project composer install error module-staging-page-builder (2.2.0): Downloading (failed)