3
votes
base table view not found
Here is the solution:
Possible causes for this error include:
The table was never created in the database, either because the SQL script to create it was not executed, or there was an error in the ...
3
votes
Accepted
Magento2.3.5: How to optimize product export scripts?
I recommend to use standard performance improvement loop:
Testing (profiling)
Find bottleneck
Fix it
and repeat
https://github.com/NoiseByNorthwest/php-spx is good for quick start
For example
app:/...
2
votes
DATABASE RELATED ERROR" SUCH AS SQLSTATE[HY000][2002]
You probably have wrong credential in your env.php for the database. Try to connect first to your database without magento.
2
votes
Magento2: How to fix this Sales order grid created_at filter ambiguous error?
What ever table you are joining if there is same field in both table.You can use your custom logic in this example as per your requriment.
<?php
namespace Vendor\Module\Model;
/**
* Class ...
2
votes
Accepted
How can i check Magento site request comes from other unknown website in Magento 2?
In Magento 2, you can use the HTTP_REFERER to check the source of a request. This header will contain the URL of the website that the request is coming from.
You can check the value of this header in ...
2
votes
Magento 2 Get selected simple product id in configurable product
Here I update the answer for Magento 2.4.4 change from this mageSwatchRenderer to mage-SwatchRenderer
also update whole code check below
var product_id_index = jQuery('[data-role=swatch-options]')....
2
votes
Magento 2 Add Column To Sales Order Grid Issue
please add etc/di.xml file in app/code/Custom/Module/etc/di.xml and add below code.
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&...
2
votes
Magento 2 Get selected simple product id in configurable product
With the help of @Siddharth Nandava, I found that using $('[data-role=swatch-options]').data('mage-SwatchRenderer').getProduct(); , we can get ID of selected Swatch variation, we can also check it in ...
2
votes
Difference between async/ and bulk/async in Magento 2
The right way depends on what you want to override, but to answer your difference query, asynchronous web endpoints takes a single object as a request payload, e.g.
{
"product": {
&...
2
votes
Accepted
How to add a reorder link in the order confirmation email Magento 2 using a custom controller
To Add the Reorder link to the order email need to create a new email template from the backend side or we already have the order email template then place the provided code in the email template.
<...
2
votes
Accepted
Magento 2 community edition
strong text
Magento 2 Community Edition (CE) and Magento 2 Enterprise Edition (EE) are two different editions of the Magento 2 platform, and they have different features, functionalities, and ...
1
vote
Accepted
PAYMENT GATEWAY ERRORS
strong text
The solution is
When integrating a payment gateway into a Magento 2 store, there are several steps you can take to troubleshoot and fix issues that arise during the checkout process:
Check ...
1
vote
Magento2.3.5: How to remove index.php and theme id from url?
Go to Admin -> System -> Configuration -> Web -> Search Engine Optimisation -> Web Server Rewrites : YES.
You should make sure that your Secure and Unsecure base urls end with "/&...
1
vote
Magento2.4.3: While importing products, getting this error (The value specified in the URL Key field would generate a URL that already exists)?
it can be problem with url_rewrite table. When you want to solve problem, pls check few points:
Whether url_key in existing products is unique
Whether url_key in product which you want to import is ...
1
vote
Class "Zend_Http_Response" not found error in magento 2.4.6
As Magento stated in the Backward Incompatibilite Changes :
The following major backward-incompatible changes were introduced in the 2.4.6 Adobe Commerce and Magento Open Source releases:
[...]
...
1
vote
Magnto2.4.3: How to fix if Some pages have Duplicate content and some Pages have duplicate title?
Contact and Contact/ are the same url these arent an issue.
So your client need to fix his file first.
That being said it depends on what the pages are.
If they are product or category you can update ...
1
vote
Magento 2 : Missing field "image" in google search console
Ensure that each product page contains proper schema markup, specifically the itemprop="image" attribute. This attribute should be applied to the main product image on the page. Review your ...
1
vote
Magento2: How to show Price summary on Order success Page?
You'll need to modify the template file responsible for rendering the order success page. The specific file you need to edit depends on your theme, but it's often located at
app/design/frontend/[...
1
vote
Magento2: How to show Price summary on Order success Page?
Create or Override the Template File:
Create or copy the success.phtml file in your custom theme's directory: app/design/frontend/Vendor/Theme/Magento_Checkout/templates/success.phtml.
<?php
/** @...
1
vote
Accepted
adding js file in magento2
For Overriding the Magento Js:
If you want to override Magento_Customer JS file, Just create the directory with the Magento_Customer name and place the JS file as place in the vendor similar like ...
1
vote
How to solve accesiBee csp error in magento 2
Not tested, but I think this should work:
<?xml version="1.0"?>
<csp_whitelist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="...
1
vote
Magento2.4.5: Order total showing of a same product with diffrent size options in order detail page?
I became curious too about this and tried to replicate it.
I had no chance to end up with the same issue, all the time the checkout being exactly on products ordered as expected.
Are you sure you are ...
1
vote
Accepted
How to add bcc for forgot password emails in Magento 2
Please check this function sendEmailTemplate on vendor/magento/module-customer/Model/EmailNotification.php ,and try to override and add BCC email in $bccEmail like below.
$transport = $this->...
1
vote
Magento 2 Get selected simple product id in configurable product
Here I update the answer for Magento 2.4.5 change from this mageSwatchRenderer to mage-SwatchRenderer and for the attribute id
from
var attribute_id = jQuery(v).attr('attribute-id');
var ...
1
vote
Accepted
Block that doesn't explicitly declare template?
The reason why the block you created doesn't need to have an associated template when being added to various layout files is because it is extending the Magento\Framework\View\Element\Template class, ...
1
vote
Magento2.4.5: How to add custom text fields on checkout page?
In Magento 2.4.5, you can add custom text fields on the checkout page by creating a custom module and using layout updates and template files. Here are the general steps you can follow:
Create a new ...
1
vote
Magento2.4.5: How to add custom text fields on checkout page?
You can Refer to this blog and create a module:-
https://blog.magezon.com/how-to-add-field-in-magento-2-checkout-page-mgt/
1
vote
Magento2.4.5: How to add custom text fields on checkout page?
Check this link , need to create a module
https://bsscommerce.com/blog/add-magento-custom-checkout-fields/
1
vote
Accepted
Magento2.4.5: How to add multiple custom dynamic shipping method on checkout page?
There is a free and open-source extension that supports display multiple custom shipping methods: "MatrixRate Table Rate Shipping".
It is compatible with Magento version >= 2.3 and ...
1
vote
Magento2.4.5: How to add multiple custom dynamic shipping method on checkout page?
To add multiple custom dynamic shipping methods to the checkout page in Magento 2.4.5, you will need to follow these steps:
Create a new module for your shipping method. This will allow you to ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
magento-2.1 × 5655magento2 × 2483
magento2.3 × 210
product × 194
checkout × 188
magento2.2 × 180
php × 173
layout × 157
module × 156
uicomponent × 135
rest-api × 134
database × 122
admin × 121
category × 113
javascript × 111
cart × 107
configurable-product × 94
product-attribute × 93
customer × 91
theme × 88
error × 83
blocks × 83
orders × 80
adminhtml × 77
product-images × 76