I want to add a button under the price box on the product add/edit admin form and call a custom controller function when click on it by AJAX request. Please Help ….!!
Magento1
We have installed Facebook Business Extension to link our Magento installation to our Facebook shop. Currently, Facebook is using the Magento ‘Description’ attribute in the shop, but I would like to change this to ‘Short_description’ as our default descriptions are website specific (“Click on this tab” etc). Is there any […]
I have created plugin for UpdateItemQty controller. UpdateItemQty.php: <?php /** * @author Ronak Chauhan */ namespace MyModuleCheckoutPluginControllerCart; use Closure; use Exception; use MagentoCheckoutControllerCartUpdateItemQty as ParentClass; use MagentoCheckoutModelCartRequestQuantityProcessor; use MagentoFrameworkAppRequestInterface; use MagentoFrameworkSerializeSerializerJson; use MyModuleCheckoutHelperData; class UpdateItemQty { /** @var Json */ protected $json; /** @var Data */ protected $helper; /** @var […]
Is it possible to call the default welcome message when user is logged in (“Welcome, customer.fullname”) in a different .phtml? I’d need this message in my Magento_Customer/templates/account/customer.phtml
I have a question for when a client is logged in. If in checkout, I don’t want my billing address to be the same as shipping, I have a select input to choose another one. But i want the design to be like the shipping one. To have some elements […]
When customers attempt to create an account they are currently seeing “Please enter 7 or more characters, using both numeric and alphabetic.” as the password validation error message. I have already changed the validation via regular expression to 8 or more characters containing at least 1 number, 1 uppercase, and […]
How can I show image thumbnail (edit form) for dynamic rows created by Magento’s Row Pattern using Data Provider / Modifier. Like this link: Magento2 How to add row pattern/dynamic rows to the custom product attribute My data saved in database as json format like below: [{“record_id”:”0″,”repairby”:”1″,”note”:”good”,”start_date”:””,”est_date”:””,”callback_date”:””,”hours_worked”:”4″,”image”:[“Screenshot from 2021-05-17 15-58-43.png”,”Screenshot […]
Module ‘Magento_Theme’: [ERROR] InvalidArgumentException: Wrong file in C:xampphtdocsmagentomagento2-2.3libinternalMagentoFrameworkImageAdapterGd2.php:64 Stack trace: #0 C:xampphtdocsmagentomagento2-2.3libinternalMagentoFrameworkImage.php(55): MagentoFrameworkImageAdapterGd2->open(‘C:/xampp/htdocs…’) #1 C:xampphtdocsmagentomagento2-2.3libinternalMagentoFrameworkImage.php(36): MagentoFrameworkImage->open() #2 C:xampphtdocsmagentomagento2-2.3libinternalMagentoFrameworkObjectManagerFactoryAbstractFactory.php(121): MagentoFrameworkImage->__construct(Object(MagentoFrameworkImageAdapterGd2), ‘C:/xampp/htdocs…’) #3 C:xampphtdocsmagentomagento2-2.3libinternalMagentoFrameworkObjectManagerFactoryDynamicDeveloper.php(66): MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject(‘MagentoFramewo…’, Array) #4 C:xampphtdocsmagentomagento2-2.3libinternalMagentoFrameworkObjectManagerObjectManager.php(56): MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create(‘MagentoFramewo…’, Array) #5 C:xampphtdocsmagentomagento2-2.3libinternalMagentoFrameworkImageFactory.php(47): MagentoFrameworkObjectManagerObjectManager->create(‘MagentoFramewo…’, Array) #6 C:xampphtdocsmagentomagento2-2.3libinternalMagentoFrameworkViewDesignThemeImage.php(127): MagentoFrameworkImageFactory->create(‘C:/xampp/htdocs…’) #7 C:xampphtdocsmagentomagento2-2.3appcodeMagentoThemeModelThemeRegistration.php(135): MagentoFrameworkViewDesignThemeImage->createPreviewImage(‘C:/xampp/htdocs…’) #8 C:xampphtdocsmagentomagento2-2.3appcodeMagentoThemeModelThemeRegistration.php(114): MagentoThemeModelThemeRegistration->_savePreviewImage(Object(MagentoThemeModelThemeData)) #9 C:xampphtdocsmagentomagento2-2.3appcodeMagentoThemeModelThemeRegistration.php(73): MagentoThemeModelThemeRegistration->_registerThemeRecursively(Object(MagentoThemeModelThemeData)) #10 C:xampphtdocsmagentomagento2-2.3appcodeMagentoThemeSetupPatchDataRegisterThemes.php(47): MagentoThemeModelThemeRegistration->register() #11 C:xampphtdocsmagentomagento2-2.3libinternalMagentoFrameworkSetupPatchPatchApplier.php(162): MagentoThemeSetupPatchDataRegisterThemes->apply() […]
I add to list.pthml: <tr> <th style="width:10%"><?php /* @escapeNotVerified */ echo __('SKU') ?></th> <th style="width:10%"><?php /* @escapeNotVerified */ echo __('Image') ?></th> <th style="width:10%"><?php /* @escapeNotVerified */ echo __('EAN') ?></th> <th style="width:10%"><?php /* @escapeNotVerified */ echo __('Brand') ?></th> <th style="width:20%"><?php /* @escapeNotVerified */ echo __('Product name') ?></th> <th style="width:5%"><?php /* @escapeNotVerified […]