Author Archives: Utsav

How to create Social media icons on the detail page in shopware 5?

social media icons Shopware 5

To create Social media icons on the detail page in shopware 5 follow the following steps: Step 1: Go to shopware theme directory of your website. Step 2: Create a new file in theme directory called “buy_container.tpl“ File Structure:– themes>Frontend>Custom>frontend>detail>content>buy_container.tpl. Note: Custom directory is theme which I created already. Step 3: In “buy_container.tpl” write this code. Step 4: We […]

How to create a theme info tab in shopware 5?

create a theme info tab in Shopware 5

To create a theme info tab in shopware 5 follow the below steps: Step 1: Go to shopware theme directory of your website. Step 2: Create the new sub-directory in your theme directory called info. File Structure:– themes->Frontend->Custom->info. Note: Custom directory is theme which I created already. Step 3: Create html files named like en_GB.html […]

How to create configuration sets in shopware 5 ?

create configuration sets in Shopware 5

To create configuration sets in shopware 5 follow the below steps: Step 1: Go to shopware theme directory of your website. Step 2: Open Theme.php file to add the configuration set. Step 3: Add below code in Theme.php use Doctrine\Common\Collections\ArrayCollection; use Shopware\Components\Theme\ConfigSet; public function createConfigSets(ArrayCollection $collection) { $set = new ConfigSet(); $set->setName(‘Red theme’); $set->setDescription(‘Set all […]

How to create a new shopping world element in shopware 5?

How To Create A New Shopping World Element In Shopware 5

To create new shopping world element in shopware 5 follow the following steps. Step 1: Create a new sub-directory in plugin directory. File Structure custom>plugins>ShoppingWorldElement Note:- ShoppingWorldElement is a new plugin in which we edit this directory to create new shopping world element. Step 2: Create ShoppingWorldElement.php in ShoppingWorldElement directory. Step 3: Write this code […]