I want to have the validation for my Html code, I have added the related code to it, but still does not work, please help. <div class="component-wrapper"> <div class="field"> <label class="label" for="email"><span data-bind="i18n: 'New Customer'"></span></label> <div class="control" data-mage-init='{"validation":{}}'> <input name="customername" id="customername" type="text" class="input-text" data-bind='value: customerData' data-validate="{'validate-alphanum-with-spaces':true}"> </div> </div> <div class="primary"> […]
Magento
I have 2 servers, 1 server installed with nginx+php+mysql+Magento2.4.2 Another elasticsearch7.13.4 installed on the server. I want to connect the magento2 search engine to the elastcsearch server. How to configure my elasticsearch server, Does anyone know? Please tell me how to configure it. Thank you very much
I create Admin Edit Page tab for customer use this tuturial https://www.rakeshjesadiya.com/create-tab-in-admin-customer-edit-page-in-magento-2/ How to add button ‘edit’ to populate my table from as admin i use template <div class="fieldset-wrapper customer-information"> <div class="fieldset-wrapper-title"> <span class="title"><?php /* @escapeNotVerified */ echo __('Information for Christmas Coins') ?></span> </div> <table class="admin__table-secondary"> <tbody> <?php echo $block->getChildHtml(); […]
Can Anybody Please tell me when we should use %1 or {0} in the Magento Translation? In my opinion, I think One is used for the guest and the other is used for the Login Customer.
I’m trying to move the breadcrumbs into the header, right now it displays outside of it. What I mean is as follows: the above shows the breadcrumbs being outside of the header, I want it to be a part of the header. The location of the breadcrumbs file is as […]
My admin panel is no working after I have install a custom modul. Now the admin needs to load a long time, and after it has loaded the left menu is not working. No submenu open on click. Christian
I have a grouped with some associated products. When the image on the grouped is updated, I’d like to save the same image on the associated products also. I tried with the “catalog_product_gallery_upload_image_after” observer: this observer gets trigged on image change but it doesn’t give me any info on the […]
I have a template file that resides under app/design/frontend//theme/Magento_Sales/templates/order/email_invoice_totals.phtml As I understand, the business logic should not reside in those template files. Below is, I have the code for that phtml file. <?php use MagentoFrameworkEscaper; use MagentoSalesBlockOrderTotals; /** @var Totals $block */ /** @var Escaper $escaper */ $index = 0; […]