I have a system.xml which has 2 yes/no fields. <field id="popup" translate="label" type="select" sortOrder="1" > <label>Pop Up</label> <source_model>MagentoConfigModelConfigSourceYesno</source_model> </field> <field id="embed" translate="label" type="select" sortOrder=“2” > <label>Embed</label> <source_model>MagentoConfigModelConfigSourceYesno</source_model> </field> If popup is set to yes I want to automatically set embed to no and if if embed is set to yes […]
Magento
Hello does anybody know how to change the image of the link when sharing a blog using magezon. for the image of the blog user
I’m trying to figure out if a product was bought and when, but other than looping over all orders I don’t see how I can do that. I saw this question but I need to do it through the REST API. Any idea?
Magento 2 Mailchimp Guest customer fields are not synced with Mailchimp after the order is placed. We are using Magento 2.4.5-p1 version and the Mailchimp version is 103.4.50 Except for Guest email other fields are not synced for Guest customers. Fields like First Name, Last Name etc… should be shown […]
I tried getting the checkout fields attributes which are included with the Swissup Firecheckout … the developer said its possible with $order->getExtensionAttributes();. So I created some throw away code to test, like this: $orderId = 12345; $objectManager = MagentoFrameworkAppObjectManager::getInstance(); $order = $objectManager->create('MagentoSalesModelOrderRepository')->get($orderId); var_dump($order->getExtensionAttributes()); // does NOT work var_dump($order->getIncrementId()); // does […]
I have added a custom block below the Order Grand Total at Cart and Checkout pages. That block contains some additional totals information that is calculated on run-time based on the grand total amount. The problem I am facing is, that custom block is not getting updated when the totals […]
I’m trying to override the next files: vendor/magento/module-backend/Block/Dashboard/Sales.php vendor/magento/module-reports/Model/ResourceModel/Order/Collection.php What path I need to create in a Module to override those files? I tried app/code/Vendor/Module/Block/Dashboard/Sales.php app/code/Vendor/Module/Magento_Backend/Block/Dashboard/Sales.php app/code/Vendor/Module/Model/ResourceModel/Order/Collection.php app/code/Vendor/Module/Model/Magento_Reports/ResourceModel/Order/Collection.php none work. Thanks
I’m trying to update some products using the import file. I Realized that one attribute is not updating. I noticed this attributes is backend_type = static. This is related to the problem or can be something else? Thanks!