I have created a customer totals collector with files defined as below: etc/sales.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Sales:etc/sales.xsd"> <section name="quote"> <group name="totals"> <item name="tax_subtotal" instance="VendorModuleModelSalesTotalQuoteTax" sort_order="449"/> </group> </section> </config> VendorModuleModelSalesTotalQuoteTax <?php namespace VendorModuleModelSalesTotalQuote; use MagentoCustomerApiDataAddressInterfaceFactory as CustomerAddressFactory; use MagentoCustomerApiDataRegionInterfaceFactory as CustomerAddressRegionFactory; use MagentoTaxHelperData as TaxHelper; use MagentoTaxApiDataQuoteDetailsInterfaceFactory; use MagentoTaxApiDataQuoteDetailsItemInterfaceFactory; use […]
Magento1
Magento 2.4.2-p1 Smartwave Porto theme Amasty extensions We migrated from Magento 1.9.4 using the Magento Migration Tool. We had problems with SQLSTATE[42000]: Syntax error or access violation: 1103 Incorrect table name on additional websites that was resolved by me creating the tables for the additional websites as documented here: SQLSTATE[42000]: […]
I have a bunch of “simple products” that will turn into configurable ones. I would prefer not to recreate them (120!), so if anyone has tips to do it differently (SQL, export/import…, I’d be happy to hear from him! TIA
I just upgraded from Magento 2.3.6 to 2.4.3 near the end of the installation I recviced this error: Does anyone know why I get this error? What does it mean? We do have MSI disabled in case that has
With Magento ver. 2.3.2 I get errors regarding a custom theme: 1 exception(s): Exception #0 (MagentoFrameworkExceptionValidatorException): Invalid template file: 'ComSpirit_ThemeOptions::preloades-style.phtml' in module: 'ComSpirit_ThemeOptions' block's name: 'preloader.options.styles' Exception #0 (MagentoFrameworkExceptionValidatorException): Invalid template file: 'ComSpirit_ThemeOptions::preloades-style.phtml' in module: 'ComSpirit_ThemeOptions' block's name: 'preloader.options.styles' <pre>#1 ComSpiritThemeOptionsBlockViewStylesInterceptor->fetchView() called at [vendor/magento/framework/View/Element/Template.php:305] The template file exists and is […]
We are a wholesale business and would like to connect Magento 2 with Salesforce to have a 2-way synchronisation. We’re currently having issues finding a suitable and cost effective API connection that will sync both ways. We’ve looked into Magenest (only offers x1 way sync) and Zapier which seems to […]
I work for a tech company that sell hardware and software. Currently if you order software it will email you a link. Most customers once they order the software claim they do not receive any emails. most of the time the email is in the users spam folder. To avoid […]
I am trying to disable cache for specific block, Have used below code. appcodeVendorModuleviewfrontendlayoutdefault.xml <referenceContainer name="header.panel"> <block class="VendorModuleBlockIndex" name="custom_block" template="html/custom.phtml"/> </referenceContainer> appcodeVendorModuleBlockIndex.php <?php namespace VendorModuleBlock; class Index extends MagentoFrameworkViewElementTemplate { public function __construct( MagentoFrameworkViewElementTemplateContext $context array $data = [] ) { parent::__construct($context, $data); $this->_isScopePrivate = false; } public function getCacheLifetime() […]
When a customer is logged in, there’s an account dropdown in top.links. I’m trying to move that dropdown to the mail porto_header so that the dropdown appears when I click on the icon circled in the image