To create Snippet in Shopware 5 follow the following steps:
Step 1: Login to the admin panel and go to Configuration > Snippets.

Step 2: Click on Add snippet button.

Step 3: Fill out the following fields:
- Namespace: frontend/index/test
- Name: sTestSnippet
- Value: This value will be shown in the frontend where you will call it.
Step 4: Calling the snippet in .tpl file using this code.
{s namespace="frontend/index/test" name="sTestSnippet"}{/s}
Step 5: After that clear the cache and refresh the frontend to see the changes.
Please contact us at manish@bay20.com or call us at +91-8800519180 for any support related to shopware 5. You can also visit the Shopware 5 development page to check the services we offer.