skip to Main Content

magento 2 custom Theme preview image not showing in admin

I created theme.xml with content below: (at: app/code/design/frontend/Vendor/theme_directory/theme.xml) <theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd"> <title>mytheme</title> <!-- your theme's name --> <parent>Magento/luma</parent> <!-- the parent theme, in case your theme inherits from an existing theme --> <media> <preview_image>media/preview.jpg</preview_image> <!-- the path to your theme's…

VIEW QUESTION

Magento 2 Checkout – dynamically populated dropdown in shippment method section

I am programming a custom shipping method (store pickup). I added an additional Dropdown Menu with this tutorial: https://zanetabaran.com/how-to-in-magento-2-how-to-add-additional-dropdown-with-options-based-on-selected-shipping-methods-in-the-checkout/ The Values from the dropdown are static at the moment, coming from a js-File from my module-> Pastebin updateDropdownValues: function(method) {…

VIEW QUESTION

Magento 2 use custom block in extended template

I want to use a block in order to get some data in a template, but it's not working. Here is my block class Question extends MagentoFrameworkViewElementAbstractBlock { protected $customerSession; public function __construct( TemplateContext $context, MagentoCustomerModelSession $customerSession ) { $this->customerSession…

VIEW QUESTION
Back To Top
Search