Hi Siva,
Custom Applications can only be developed in React as it extends the Merchant Center functionality which is also developed in React.
Alternatively, you can create Order Edits via API. https://docs.commercetools.com/api/projects/order-edits
Does this help clarify?
Best regards,
Matheus
Yes, @Matheus,
I can understand that we can create order edit via API.
Actually, I am having PHP background and don’t have React knowledge. In this case, what we can do with PHP SDK, could you please help me on this?
As a PHP developer, what kind of things I must explore in commercetools to grab it more?
@Siva,
You can develop your commerce application with our PHP SDK.
The SDK allows you to interact with the commercetools API in a more straight forward way, instead of using plain HTTP requests.
I recommend taking a look at our PHP SDK documentation: https://docs.commercetools.com/sdk/php-sdk
@Matheus,
Thanks for the details.
I already referred this link, https://docs.commercetools.com/sdk/php-sdk and installed the php SDK in my machine and also checked few examples code like create customer, products.
But my confusion here is that, only the admin user should have order edit provision and it won't be there for customer as per the e-commerce flow. In this case, how admin can edit the order if its needed. Is there any user interface kind of thing, we need to create or how it can be. As I am new to commercetools, if you provide some brief of these, it will be really helpful.
Hi @Siva,
The most commonly used approach is to create a Merchant Center Custom Application for order editing, but I understand that you have no experience with React and this would not be feasible for you.
Another option is to create an admin area in your frontend application with the Order Edit functionality. In this case, the admin user will need manage_order_edits permission scope. https://docs.commercetools.com/api/scopes#manage_order_editsprojectkey
You can also use our Impex API playground to do this, which is similar to a normal API platform like Postman but with a nice user interface. https://docs.commercetools.com/tutorials/#impex