Upon running yarn build on building Venia store for Magento 2, I get this error: ERROR in ./node_modules/photoswipe/dist/photoswipe-lightbox.esm.js 381:24 Module parse failed: Unexpected token (381:24) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders | } | […]
Magento
I am wanting to add Google Pay Option to my site. I cannot seem to get the information I need to get this setup and installed. Is there any extensions for this? Also do I need to go to Google to setup the payments?
How to add custom text attribute on the product page after price Only if special price. If special price custom text is visible if normal price custom text is not visible. Magento 2.3.6 For example: Product 1 with special price, text “custom text aaa” visible. If product with regular price […]
I am trying to install mailchimp I have 2..4.4 magento running on php 8.1 when running this command in SSH composer require mailchimp/mc-magento2/v103.4.50 I get the following Class "MagentoSetupMvcBootstrapInitParamListener" not found#0 /home/831195.cloudwaysapps.com/yjxddjbsxh/public_html/vendor/magento/framewo rk/Console/Cli.php(78): require() #1 /home/831195.cloudwaysapps.com/yjxddjbsxh/public_html/bin/magento(22): MagentoFrameworkConsoleCli->__construct() #2 {main} I have successfully installed it on my cloned staging app which […]
I know there are solutions for getting one column as an array. $collection->getColumnValues(‘column_name’); And adding limit without setPageSize() and setCurPage() $collection->getSelect()->limit(3) But I want both. My temp solution is I’ll run foreach loop over the collection from limit statement and just fetch the column in the array as per the […]
i needed custom column in sales Order grid so i applied joined on sales order with sales order grid but when I filter grid with purchase date It shows this error in logs and filter stop working. Next Zend_Db_Statement_Exception: SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'created_at' in where clause is […]
I have applied Discount for first order. But here is a drawback. until first order gets completed, Coupon code will be applied to all next orders. If the order status for first order is Pending, Processing or complete, next order should not be allowed for first-order discount. Thanks in advance!
I am working magento 2.3.p5 disable all captcha module Magento_Captcha,Magento_PaypalCaptcha, MSP_ReCaptcha and Magento_PaypalReCaptcha. Set these modules value in config.php file 0 and clear the cache. The website is working fine but when i am trying to load checkout or cart page giving error “Exception #0 (ReflectionException): Class MagentoCaptchaModelZend does not […]
I am creating a suborder view page in BackOffice that retrieves data from the customized table. However, I received an error on above topic when I click the view button in my customized grid. Did I write the wrong code? app/code/MyVendor/SubOrder/Controller/Adminhtml/Order/View.php <?php namespace MyVendorSubOrderControllerAdminhtmlOrder; use MagentoFrameworkAppActionContext; use MagentoFrameworkViewResultPageFactory; use MyVendorSubOrderModelResourceModelSubOrderCollectionFactory; […]