i need problem with extension interface in magento2. Mi extension_attributes.xml: <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Api/etc/extension_attributes.xsd"> <extension_attributes for="MagentoSalesRuleApiDataCouponGenerationSpecInterface"> <attribute code="specific" type="string" /> </extension_attributes> </config> Mi di.xml <preference for="MagentoSalesRuleBlockAdminhtmlPromoQuoteEditTabCouponsForm" type="CustomSalesRuleBlockAdminhtmlPromoQuoteEditTabCouponsForm" /> <preference for="MagentoSalesRuleHelperCoupon" type="CustomSalesRuleHelperCoupon"/> <preference for="MagentoSalesRuleModelServiceCouponManagementService" type="CustomSalesRuleModelServiceCouponManagementService"/> <preference for="MagentoSalesRuleModelCouponMassgenerator" type="CustomSalesRuleModelCouponMassgenerator"/> <preference for="MagentoSalesRuleModelDataCouponGenerationSpec" type="CustomSalesRuleModelDataCouponGenerationSpec"/> Mi model/data: <?php namespace CustomSalesRuleModelData; class CouponGenerationSpec extends MagentoSalesRuleModelDataCouponGenerationSpec { const […]
Daily Archives: April 20, 2024
Currently as it looks, when creating a Configurable product, it needs its own SKU, and then the SKUs of its children all different; Configurable SKU: XX-SHIRT Child 1: XX-SHIRT-BLACK Child 2: XX-SHIRT-RED The issue I run into with this, is I would like the Configurable SKU to default to Black, […]
I updated my php version is 8.3 and magento version is 2.4.6 currently facing issue with round functionality. Exception message: Deprecated Functionality: round(): Passing null to parameter #1 ($num) of type int|float is deprecated Fee.php $amount = $invoice->getHandlingCharges(); $amount += round($invoice->getHandlingChargesTax(), 3, PHP_ROUND_HALF_UP); $baseAmount = $invoice->getBaseHandlingCharges(); $baseAmount += round($invoice->getBaseHandlingChargesTax(), 3, […]
How i can get Hyva for development and learning purpose without buying subscription as a Magento developer just for exploring. I know they have subscription fee but is their any way i can get it for learning development purpose.
i imported files from an existing website to another server on plesk. Problem is, after deploying, upgrading and compiling correctly, on checkout i get a message that says “invalid shipping information, check input value”. When i open console with f12 i get this
The first problem I have is that I have a timestamp in one cell which includes the date and time and I would like to know if there is any automated way to separate them into 2 different columns (Date and time). The other problem is a bit complicated and […]
I have a weird issue on Ubuntu 22.4.4 LTS. Using the ufw firewall, I allowed SSH/Port 22, HTTP and HTTPS. I can successfully login via SSH into my server. However, when I am logged in on the server, and want to SSH from their to another server, it gets somehow […]
I have a Windows 11 laptop, and I’m trying to communicate with an embedded system (non-Windows) that communicates via Ethernet. The laptop and the embedded system are connected through an inexpensive four-port network switch. The laptop and the embedded system are both configured to use static IPv4 addresses on the […]
I have a major dilemma i am trying to get to work. Hopefully the hivemind can help me out! Example sheet In the example i have my reference key which is test 1 – 5 in columns I – K , in Column I i have a drop down menu […]