Custom Page Module with existing theme template?
Is there a way to use a template from a third-party theme, that is already installed, with a newly created custom page module?
Auto Added by WPeMatico
Is there a way to use a template from a third-party theme, that is already installed, with a newly created custom page module?
magento.cron log return error: PHP Fatal error: Uncaught Error: Class ‘DOMDocument’ not found in /home/mall/domains/myweb.com/public_html/vendor/magento/framework/Config/Dom.php:449 Stack trace: #0 /home/mall/domains/myweb.com/public_html/vendor/magento/framework/Config/Dom.php(116): MagentoFrameworkConfigDom->_initDom(‘<?xml version=”…’) #1 /home/mall/domains/myweb.com/public_html/vendor/magento/framework/ObjectManager/Config/Reader/Dom.php(70): MagentoFrameworkConfigDom->__construct(‘<?xml version=”…’, Object(MagentoFrameworkAppArgumentsValidationState), Array, ‘xsi:type’, NULL) #2 /home/mall/domains/myweb.com/public_html/vendor/magento/framework/Config/Reader/Filesystem.php(151): MagentoFrameworkObjectManagerConfigReaderDom->_createConfigMerger(‘Magento\Framewo…’, ‘<?xml version=”…’) #3 /home/mall/domains/myweb.com/public_html/vendor/magento/framework/Config/Reader/Filesystem.php(132): MagentoFrameworkConfigReaderFilesystem->_readFiles(Object(MagentoFrameworkConfigFileIterator)) #4 /home/mall/domains/myweb.com/public_html/vendor in… Read More »PHP Fatal error: Uncaught Error: Class ‘DOMDocument’ not found in
Here is my catalog_product_view.xml: I want to insert one CustomBlock to this final price block, so i can use getChildHtml() to call in template final_price.phtml, but it does not work so far, why ? <referenceBlock name=”product.price.final”> <block class=”MagentoFrameworkViewElementTemplate” name=”custom.block” template=”CustomModule::custom.phtml”/>… Read More »Cannot insert custom block into ‘product.price.final’ in XML
I have a function in an XML document and I want to return its parameters. My knowledge of connecting the two services is very limited. Do I need to create some middleware or is it possible just to call from… Read More »Call to the “Get_Item_Quantity” function in the web service (trying to call soap api using magento restful services)
I want to add some content within the product detail tab. I created my template below <referenceContainer name=”product.info.details”> <block class=”MagentoCatalogBlockProductView” name=”additional_product_details” template=”Magento_Catalog::product/view/additional_product_details.phtml” /> </referenceContainer> I tried to use the <move /> syntax to achieve this but was unsuccessful. Please note:… Read More »Add a template content to detail tab
Magento 2 uses XML-based configuration files A LOT. When studying Magento or preparing for an exam, it is useful to have a list of all config files used in Magento 2. How can such a list be generated? What are… Read More »List of All Magento 2 Configuration Files
I try to export product URL:s for my Magento 2.3 website using this line of code in an XSL template: <xsl:element name=”link”><xsl:value-of select=”product_url“/></xsl:element> The result creates this URL in the .XML file (which doesn’t work): < link >https://www.domain.com/admin/catalog/product/view/id/2666/s/apple-ipad-2-16gb-wi-fi-vit-toppskick/key/a61acffaa09fed5b95dc91/< /link >… Read More »Export correct URL in product feed with XSL
Her are my code. I can’t able to get full data in array format. Only Url get this php code. Where am I wrong. $sitemap = ‘videomap-1.xml’; $context = stream_context_create( array( “http” => array( “header” => “User-Agent: Mozilla/5.0 (Windows NT… Read More »xml to extract data in php
Every product recieves a unique ID, shown on the left on the product page screenshot. I do not choose this nunmber, the number is assigned by the system. Now I am trying to create a pricefeed with XML template and… Read More »What is the product attribute for product ID?
First let me start of by saying that I am not a programmer or code person. I used to design websites back in the dinosaur ages of the internet but don’t have a clue about any of it these days.… Read More »Load XML in Windows 10 and format using CSS