Shopware 6 App - Custom Storefront Controller - shopware6

Is there a way to create a custom controller for the shopware storefront via an app?
If it is not possible to do in the latest shopware 6.4.13 maybe some official can share a roadmap for this.

Yes, it is possible using app scripts https://developer.shopware.com/docs/guides/plugins/apps/app-scripts/custom-endpoints#storefront-endpoints

Related

Pass Data From Shopify App To The Shopify Front-End

I am starting to create my first app using PHP laravel and osiset.
I have created a partner account and created an app as well. I have integrated the library also. Done with app installation and authorization.
Now I am stuck for the next step. I don't understand how can I link my code and settings implemented on my app to Shopify frontend. How can I link the app database to Shopify website?
I save all the customized data in the app and how can I link that data with Shopify website?
I am able to make a standalone app with PHP but don't understand how its data can be linked to Shopify website. How my app database can be used in shopify website?
I am new here. Any help is very much appreciated.
Thanks
You have two main choices in 2022.
App Proxy
Theme App Extension
Also, Post-Purchase extensions, for checkout stuff, but I digress. You should have no trouble injecting your special content using #1 or #2.

How to detect shopware exact version using shopware url

Sometimes in shopware 6 some shops uses v1 api and some shops uses v2/v3 api ,so how can we trigger that ?
As of Shopware 6.4.0 the API versioning was removed. It is now possible to test for specific Shopware core and plugin versions using API expectations.
Like this:
GET /api/test
sw-expect-packages: shopware/core:~6.4
Read the docs for more details.

What is the best bundle in Symfony 4 for create an API?

What is the best bundle in Symfony 4 for create an API?
I have planned to create a frontend with Vue.js without use Symfony.
The Symfony 4 documentation have not many pages about api the best way to create an api.
It's https://api-platform.com now.
With a great documentation.

Can I use angularjs based (angular-footballdata-api-factory) in angular2 app?

I hava got an angularjs based api-factory
I want to use this in angular2 app. Is it possible to use it and if yes, then how.
No, Angular 2 is not a superset of Angular 1 -- it's a different API.
Therefore you cannot use libraries from Angular 1.x on an Angular 2.x application.

How to use magento api with iOS app

I want to use Magento custom API with iOS app.
What option we have to develop such a application.Magento SOAP or REST or anything else is useful in this case.
Please suggest me best way.
Thanks
You have to setup API roles and users in Magento. After that you can use these credentials to fetch and update data in Magento.
Check this http://www.codepetals.com/setup-your-magento-store-for-integration-with-mobile-app-or-an-erp/