I have a requirement like below.

There is a website which is running in production mode in one server.

That has some static blocks.

A block is created with some content(Ex:Block_Id: sample_block).

Here my question is I need to get the content of that block and load it in external PHP file, which is in different server.

Is this can be achieved in any way. please suggest me.

  • Yes @RohanHapani, that php file may be in different server, or can be in localhost – jafar pinjar Jan 30 '20 at 11:50

You can use Magento REST APIs to get static block content.

  • can you pls post an answer if possible. – jafar pinjar Jan 31 '20 at 6:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.