All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
2k views

Magento 2 Plugin After Execute Controller

Existing controller that returns a JSON. public function execute() { $customer = $this->_customerModel->getById(175); $resultJson = $this->resultFactory->create(\Magento\...
0 votes
1 answer
2k views

SSL Magento 1.9 but receiving Your web server is configured incorrectly

I successfully implemented SSL on our website and went the LetsEncrypt to get my CA. All is set properly and in working order except one weird issue I am encountering post enabling. Your web server ...
0 votes
1 answer
2k views

Magento 2.3.1 UI Component Dynamic Rows, "Is Default" is not getting saved

I have created a dynamic form using Dynamic Rows in UI component form as shown in following screenshot: Following is my code samples for your reference: Namespace\ModuleName\view\adminhtml\...
0 votes
1 answer
7 views

Is there a way to have 1 coupon with 4 different values

I am looking for an solution that with which i can do the following: I want to use 1 coupon code for this. If Subtotal (Excl. Tax) exeeds € 1500,- then give 2.5% reduction over the whole cart. If ...
0 votes
1 answer
3 views

How can I change an email template variable to show the Customer Group Name instead of the ID number

I was shown how to create an observer to grab the customer groupID and create a variable that can be added to my email template like this...  _order = $order; } public function execute(...
1 vote
1 answer
3k views

Magento2 : Something went wrong while saving the rule data. Please review the error log

I have Magento2 version 2.1.8, when I tried to create new cart price rules after entering all info it doesn't get saved and shows error. "Something went wrong while saving the rule data. Please ...
0 votes
0 answers
2 views

catalog_product_index_price_temp not found when running upgrade command?

Magento 2.4.6 Suddenly I am getting the following error when running my upgrade command php bin/magento setup:upgrade (worked for weeks without problems): Base table or view not found: 1146 Table '...
0 votes
0 answers
5 views

Klarna + Magento 2.4.6

How can we send update session request to klarna when the user choose as a payment method the Klarna? Thanks in advance
1 vote
1 answer
2k views

How to get coupon code in newsletter subscription Email Template in Magento 2?

get coupon code in the newsletter email template.
2 votes
1 answer
2k views

Magento 2.2 : Search Functionality/Layered Navigation on a Custom Product Collection?

I use a custom product collection which is used on all category view pages (basically, instead of using Magento's collection, I wrote my own module with the custom collection to implement a cookie-...
2 votes
2 answers
37 views

Magento2.4: How to show custom table data using knockoutJS?

Suppose I have a custom table and some fields like entity_id, code, title, description and image_path. And I require that I want to show a drop-down (key=>value) on the custom page where some ...
0 votes
1 answer
30 views

Final price in cart page counting tax before applying coupon code

Final Price : 100, so 3 % tax on this 100 = > 103 should be final price, fine. Now apply coupon code to get 50 % discount , so tax on 50 : 1.5 {3 % } Issue : Now Final price is 53 [ 50 + 3 ], it is ...
0 votes
0 answers
14 views

M 2.4.7 - Opensearch 2.13 vs. Elasticsearch 8.5

What should be chosen for a Magento 2.4.7 store with 25,000 visual SKUs? Should we go for Opensearch 2.13 or Elasticsearch 8.5? Which one will give us the best performance? As far as we can see, There ...
0 votes
1 answer
17 views

The "componentType" configuration parameter is required for the "created_at" component Magento 2

Details : {"0":"The \"componentType\" configuration parameter is required for the \"created_at\" component.","1":"#1 Magento\\Framework\\View\\...
1 vote
4 answers
41 views

How to fetch and store external api access token in magento2

I am trying to integrate my external API in my magento 2.4.6 instance. I Used Guzzlehttp to make and fetch the data and handle the request. The problem is, The api uses token based authentication ...
1 vote
1 answer
2k views

Magento 2 : crontab is not working

I am trying to implementing cron job for my module but getting error in CLI. I am using windows operating system. here is crontab.xml <?xml version="1.0" encoding="UTF-8"?> <config xmlns:...
1 vote
2 answers
98 views

adding a letter before order id

I want to concatenate a string 'P' with the increment_id variable in .html file of email template without affect the translation , but I don't know why it didn't work
0 votes
2 answers
39 views

Magento 2 : How Can I disable woff2 format?

How can I disable woff2 format for fonts in Magento 2? I need .lib-font-face to connect only woff.
0 votes
2 answers
24 views

Magento 2 : Many 404 URL from one product

I'm not sure how this happened, but while doing an audit of our site I noticed we have over 92 404 errors and they all are from the same product. Most of the paths are strange as I never added this ...
0 votes
2 answers
84 views

Magento 2 : Class "Zend\Mvc\Controller\AbstractActionController" not found

I use Magento 2.4.6-p5 Getting this error on compilation: There is an error in htdocs/setup/src/Magento/Setup/Controller/AddDatabase.php at line: 11 Class "Zend\Mvc\Controller\...
0 votes
1 answer
29 views

Magento 2 : Update Shipping Method when add/remove products from minicart

I use magento 2.4.6. I have a custom code that allows the free shipping method only for peculiar products so, if one of these products are in the cart, the free shipping is visible, otherwise it's not....
1 vote
1 answer
3k views

Magento 2: Restrict customer to use 1 coupon code

I have multiple coupon codes in my store. The customer should not be able to use a coupon if he/she has already used a coupon before? Is that possible? Thanks.
0 votes
1 answer
25 views

where I update the magento2 to the 2.4.6-p5 the page is show empty where I click the url

The browers open a blank page when I click a url,but it work where I refresh the page! can somebody tell me what happen? My website work well on 2.4.3 the issue appear when I update it to the 2.4.6-p5
2 votes
1 answer
4k views

Magento 2 Product Export Problems "Please correct the data sent value"

Magento 2 Version 2.1.1 - I am intermittently getting the error "Please correct the data sent value." when trying to export product. Test results: Full Export no filter = Fail Filter by Country ...
0 votes
2 answers
21 views

How to add custom Block at Shipping Method Select in Magento 1

I want to add custom block below shipping methods and this custom block should be inside of shipping method form. I think following line of code is helpful for adding this. but no idea how to proceed. ...
1 vote
3 answers
2k views

How to display Notification Message in a page

I use magento 2.2.1 version. I just tried to show notification messages and I use this code. You can go to Controller/Test/Crud.php. I also injected \Magento\Framework\Message\ManagerInterface $...
0 votes
1 answer
23 views

Magento 2 : Remove Confirmation Popup when deleting products from the mini cart

I created mixin. When I comment out confirm({}) in core sidebar.js it works as expected, but my mixin doest work. It does't remove popup. requirejs-config.js: var config = { config: { ...
1 vote
3 answers
3k views

How to get all active categories and subcategories in product listing page?

My categories and subcategories hierarchy to a product listing page : Products Refrigerator back-bar fridges Product listing(here) Now, what i'm trying to get is while i'm in product listing ...
1 vote
2 answers
1k views

How to check /root/cron.php/ is working or not

I have create fedex module that complate the order status based on product delivery status and setup with /root/cron.php/. but i don't know to check cron schedules are working or not. Any manual ...
0 votes
1 answer
2k views

Magento 2 Add block to custom layout via admin panel widget

I've made a custom theme and custom homepage layout that renders a custom container and inside it a block with a custom template: custom_homepage.xml inside Magento_Theme/page_layout folder <?...
0 votes
2 answers
38 views

How to get admin controller url to js without using phtml file?

I have created new mass action for product grid, So whenever someone click on that mass action, custom admin controller url should be pass to js
0 votes
2 answers
28 views

Magento 2 How to place order PROGRAMMATICALLY using custom script

How to place an order for testing while developing order-related tasks. using the custom script we will save our time to add products from the website and checkout flow. It will be passed using a ...
1 vote
1 answer
11 views

What is the RequireJS configuration map vs paths vs shim in Magento 2?

I'm a little confused with these terminologies, what are their purpose and can someone explain these with an example?
0 votes
1 answer
16 views

Magento View Only Permission for Products

We Want to create new user for backend in which that user should have only option to view product information. So I tried below steps : system > permissions > users & roles : Issue : New ...
1 vote
2 answers
38 views

Magento 2 Checkout Not Working Due to CSP Blocking Inline Scripts, Including Payment Gateway

I am experiencing an issue with Magento 2 where the checkout page is not loading correctly. Upon investigating, it appears that the Content Security Policy (CSP) is blocking inline scripts, which ...
2 votes
4 answers
3k views

How Can I Schedule custom cron in every 5 minutes.?

cron_groups.xml <?xml version="1.0"?> <group id="custom_crongroup"> <schedule_generate_every>5</schedule_generate_every> <schedule_ahead_for>10</...
0 votes
1 answer
3k views

Request Timeout

Can anybody help me to resolve the following issue. Request Timeout This request takes too long to process, it is timed out by the server. If it should not be timed out, please contact administrator ...
0 votes
3 answers
1k views

how to add fonts path in default_head_blocks.xml file magento 2 custom theme?

Actually i am trying to add fonts path in default_head_blocks.xml file magento 2 custom theme. I added fonts files in app/design/vendor/theme/web/fonts. I am trying to get this path.
1 vote
1 answer
2k views

How to Override component in PWA Studio

I have created new project using npx @magento/pwa-buildpack create-project ./projectname \ --name @magezilla/projectname \ --template venia-concept \ --backend-url https://127.0.0.1/projectname/ How ...
0 votes
1 answer
30 views

Hide Individual payment methods Place Order buttons from magento 2 checkout page

I don't want to show place order button two times i.e. common place order button and under each payment method. So I just want to hide the place order button of individual payment methods and keep the ...
1 vote
2 answers
1k views

Magento 2 Customer update API using CURL

I am able to get create, view and delete using curl to a Magento 2.1 site. However, update seems to be not working. In this example I have already grabbed my token: curl -X POST "http://www....
0 votes
1 answer
2k views

Syntax error or access violation: 1118 Row size too large Reindexing

I am facing : SQLSTATE[42000]: Syntax error or access violation: 1118 Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. This includes storage overhead, ...
6 votes
1 answer
2k views

Loading a product collection through multiple stores

We've created an additional indexer that is started by using the backend indexer functions. We have flat tables enabled. We have multiple storeviews that correspond to different languages. The ...
0 votes
2 answers
3k views

add custom block inside minicart

I need to display a custom template inside the mini cart, after the subtotal and above the buttons (view all and proceed to checkout). I have my template in /template/mymodule/mytemplate.phtml wich ...
4 votes
1 answer
2k views

Add a new column after one column into the table using db schema

I need to add a new column after one of the particular columns in the existing table using DB schema & checked this dev doc link, they didn't mention about the before or after column. Is there any ...
3 votes
2 answers
3k views

Magento 2 - Remove video from gallery in product page

I'm trying to remove the video from the gallery in product page and I saw that the method getGalleryImages() in the Magento\Catalog\Block\Product\View\Gallery block gets all types of media (image and ...
1 vote
3 answers
4k views

Add Custom attribute from Sales_Order table into New order email template?

I have create new custom attribute on Sales_order table name "QR_Code". How to insert this field into my new order email template? Thanks kllee
1 vote
1 answer
2k views

Magento2 : Redis Sentinel Configuration

I am trying to run Magento2 with a Redis Cluster (running redis-sentinel) as cache and session backend. I am not sure about how I should do this ? Is it even possible ? As I see from Collin ...
0 votes
1 answer
1k views

Laminas\Mail\Protocol\Exception\RuntimeException "Authentication Failed"

I'm order the product and proceed to checkout then show the error. I'm use the "zoho credentials" after that i remove the "zoho credentials". and use the gmail Own smtp but still ...
2 votes
1 answer
3k views

How to get and set custom field of customer_group table Magento 2

I create new extention and add some columns in customer_group table. but i can't get/set custom field. namespace [NameSpace]\[Extension]\Block\Adminhtml\Group\Edit; use Magento\Customer\Controller\...

15 30 50 per page
1
2 3 4 5
2264