Quantcast
Channel: Shopwarian.com
Browsing all 10 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

How to send a post request to the controller

In one of the previous posts, we took a look at working with the post and get requests in a controller. Sending the post data from a HTML form is a well known case, but how can we send some post...

View Article



Image may be NSFW.
Clik here to view.

Solved: Shopware 6 sitemap generates URLs with http instead of https

The problem: unexpected core behavior Based on this Shopware 6 official forum post, asking about a possible problem with sitemaps being generated with http instead https, I have checked Shopware 6...

View Article

Image may be NSFW.
Clik here to view.

How to create a sales channel context in Shopware 6

What can you do, when you need a sales channel context in some place in your code and it is not available there? Well that’s easy – you create it! And this article will show you how. The requirements...

View Article

Image may be NSFW.
Clik here to view.

Shopware 6 plugin programming tutorial

In this article, we will create a sample plugin for Shopware 6, that will serve as a groundwork for us to use, whenever we need to create a new plugin. First, we will create a minimal plugin. Then we...

View Article

Image may be NSFW.
Clik here to view.

How to get the data from PHP to the Twig template

Shopware 6 uses Twig template engine to render the pages. It is surprisingly simple and flexible, once you get the hang of it. Programmers like me, who usually work with the PHP part of Shopware 6,...

View Article


Image may be NSFW.
Clik here to view.

Quick and easy solution to the Shopware 6 cache growing indefinitely

Today, I just wanted to share a little tip about Shopware 6 with you, regarding the cache. As you might have noticed, after some time, the cache folder on your server grows and grows. This can be a...

View Article

Image may be NSFW.
Clik here to view.

How to set up default values for Shopware 6 plugin config

This article will show you, how to set up default values, that you want the user to see in your plugin’s configuration, after he installs and activates it. If you are new to the Shopware 6 plugin...

View Article

Image may be NSFW.
Clik here to view.

How to add basic page data to a custom page in Shopware 6

In the Shopware 6 plugin tutorial, I have described a way to use our own custom storefront controller to create a custom page with custom content. Today, I would like to expand this topic a bit by...

View Article


Image may be NSFW.
Clik here to view.

How to send emails from Shopware 6 programmatically

Lately, I have needed to send an email notification from one Shopware 6 store, if something happened in one of the background scripts. Of course, I could have just used the standard PHP mail function,...

View Article


Working with UUIDs in Shopware 6

Introduction The Universal Unique Identifier (UUID) is a standardized 128-bit identifier used to uniquely identify objects or data in computer systems. In Shopware 6, the concept of UUID is extensively...

View Article
Browsing all 10 articles
Browse latest View live


Latest Images