Questions tagged [magento-2.1]

Denotes questions related to Magento CE and EE 2.1.x

Filter by
Sorted by
Tagged with
0 votes
0 answers
21 views

Magento 2 - how to remove navigation menu linkage for tabs

In my default magento theme for desktop on hovering on the menu, sub-menu is opening. But in tabs when clicking on menu, menu is opening but its also redirecting to main navigation link. expected ...
Mani's user avatar
  • 173
0 votes
1 answer
47 views

Magento 2 : Missing field "image" in google search console

After successful crawled, am seeing Missing field "Image" issue for all PDP pages in the Google search console. I do have all images for Products in my site. How can i fix this issue. do we ...
Mani's user avatar
  • 173
0 votes
0 answers
25 views

I Want to validate condition rule on category page products in magento 2

Here is my Code public function checkCondition() { $categoryId = $this->getRequest()->getParam('id'); $ruleColl = $this->customConditionModel->create()->getCollection(); ...
user113223's user avatar
0 votes
1 answer
20 views

Magento site can be redirected to pages like google.com when adding it to the end of my URL

I have website that can access eg. google.com, youtube.com and other sites by adding it after a backslash like so http://www.exact-construct.ch/http://www.google.com But if it is https://www.exact-...
Rusty Ma's user avatar
0 votes
0 answers
18 views

Magento 2 - Cart Price Rule

I want to create a cart price rule in such a manner that i have 2 products SKU-1, SKU-2 when customer contains above two products in cart and applied that coupon the discount will be £1. and also i ...
Mani's user avatar
  • 173
0 votes
1 answer
22 views

How to show customer dropdown attribute as radio button in registration page - Magento 2

I have created a customer drop-down attribute from admin, in the registration page i need to show it as a radio button, how can achieve this. is it possible to show its as radio button, if not is ...
Mani's user avatar
  • 173
0 votes
2 answers
41 views

Magento2: How to show Price summary on Order success Page?

I want to show the price summary of the order in the order success page like this image below : Any idea? Thanks.
IZANOVA's user avatar
  • 355
0 votes
1 answer
28 views

Magento 2 PWA setup with Adobe guidance but product images not shown

Refer this https://developer.adobe.com/commerce/pwa-studio/tutorials/ Run Below command php bin/magento catalog:images:resize only shown accessories category images and home page images. if any has an ...
Rahul Prajapati's user avatar
0 votes
1 answer
42 views

how to know what is the module used in specific section in admin panel

when i want to override a frontend module , it is so easy, if there is a module that i dont know where it comes from , i can simply enable template hint , but my problem is when i want to change or ...
moemen saadeh's user avatar
0 votes
0 answers
19 views

how to show viewed recently products in default.xml

i tried many things to display recently viewed products in header section but it's not appearing :( default.xml <?xml version="1.0"?> <!-- /** * Copyright © Magento, Inc. All ...
moemen saadeh's user avatar
0 votes
2 answers
57 views

how to check if the the user logged in?

i try to check if the user logged in , and i logged in but it returns the message says that i'm not logged in why ?? i tried 2 methods <?php namespace Main\Store\Block; use Magento\Customer\Model\...
moemen saadeh's user avatar
0 votes
0 answers
20 views

toolbar is not returning the selected products numbers per page

i have a problem with the functionality of the toolbar , i don't know if it must work by default or i should implement its functionality. when i click on a number here, the page is refreshing and this ...
moemen saadeh's user avatar
1 vote
1 answer
43 views

How to include toolbar in my page in Magento 2

in app/design/frontend/Main/Store/Magento_Theme/page_layout/ i created a shop.xml file that contains this code <?xml version="1.0"?> <layout xmlns:xsi="http://www.w3.org/2001/...
moemen saadeh's user avatar
1 vote
1 answer
38 views

adding js file in magento2

I have two questions. First, where should I put a JavaScript file to make it global across all pages? Second, let's say there is a module called "module-layered-navigation," and I want to ...
moemen saadeh's user avatar
0 votes
1 answer
32 views

Create new Attribute Type

I want to create a new Attribute Type (Complex Attribute) Having input type consist of dynamic rows.
Abdul Rafay's user avatar
0 votes
0 answers
37 views

how to use specific functions in Magento 2

there are many functions in magento2 , but i dont know where should i use it , where it works and where it won't , as example in module-catalog/model/layer/filter/Price.php , there are many functions ...
moemen saadeh's user avatar
0 votes
1 answer
45 views

How to solve accesiBee csp error in magento 2

In my magento 2 store we are facing an issue with accessiBe where accessiBe contents are not loading, when i check the console seeing the below error. when we reach accessiBe team they have given ...
Mani's user avatar
  • 173
1 vote
1 answer
49 views

Difference between async/ and bulk/async in Magento 2

I need to override my REST API endpoints to async and faced the issue that I don't understand the difference between asynchronous endpoints in https://developer.adobe.com/commerce/webapi/rest/use-...
Duddy Woody's user avatar
1 vote
2 answers
72 views

How to add a reorder link in the order confirmation email Magento 2 using a custom controller [duplicate]

How to add a reorder link in the order confirmation custom email template Magento 2 using a custom controller?
Rahul Prajapati's user avatar
0 votes
0 answers
34 views

How to add collapsible icon for tab which is showing grid in the admin panel using ui component?

<argument name="data" xsi:type="array"> <item name="js_config" xsi:type="array"> <item name="provider" xsi:type=&...
sharath's user avatar
0 votes
2 answers
58 views

displaying visual swtach images

I created a visual swatch attribute from admin panel to adding 'brands' for products,In my Main/Store module i created brands.phtml file , and there is a Brands.php file inside Block folder, now ...
Moemen saadeh's user avatar
0 votes
1 answer
24 views

How to merge the non-logged in cart items with logged in customer cart items which is added from favorite's in Magento 2

I am facing an issue with cart merging this is the scenario. I logged in to my account, i added one product to favorites then from favorites page i added that product to cart Next i logged out, added ...
Mani's user avatar
  • 173
0 votes
0 answers
33 views

When a simple product is removed from grouped product in admin panel in Mage 2.4.5. Here comes issue

In Magento 2.4.5 vanilla when creating a new grouped product, let's suppose this grouped product already has 20 simple products. Step # 1: Add the 21th product in grouped product table in product edit ...
HamzaKhalid273's user avatar
0 votes
1 answer
35 views

Magento Error Warning: Undefined property: stdClass::items in ORN.php

Response validation: Before accessing the items[0] property of the response object, it is important to check if the items array is empty to avoid errors. /** * @throws \Exception */ ...
César Robledo's user avatar
0 votes
2 answers
39 views

Magento 2.2.3 while running flush command i am getting the below error?

i have tried to run magento upgrade and deploy and flush command i am getting the below error. https://i.imgur.com/gcMP1m1.png Fatal error: Uncaught TypeError: Argument 1 passed to Zend\ServiceManager\...
pankaj parmar's user avatar
0 votes
1 answer
26 views

Magento243: How to show order number in Gift Card Account Grid?

How i can show order increment id on Gift Card Account Grid
IZANOVA's user avatar
  • 355
0 votes
1 answer
67 views

Magento2.4.5: Order total showing of a same product with diffrent size options in order detail page?

Related Issue https://github.com/magento/magento2/issues/30342 you can check that issue on GitHub as a reference for understanding. you can see from the image that the customer placed an order for ...
IZANOVA's user avatar
  • 355
0 votes
2 answers
159 views

Convert SQL Select Query to Magento Collection

I have a complex sql select query which actually returns sales report against specified categories. I want to load data as a collection to display but I'm not able to convert the query into Magento's ...
jack's user avatar
  • 1
0 votes
1 answer
30 views

preference :override class Pdfcreditmemos and class PrintAction not working

I override the classes 'Pdfcreditmemos.php' and 'PrintAction.php' to change the name of pdf Credit memos , but this is not working, it still works with origin classes, thanks for you help. Magento\...
helmi saadaoui's user avatar
0 votes
0 answers
27 views

Magento2 validation for custom fields on checkout new step

In order to add new step on checkout page, I have followed many tutorials like https://webkul.com/blog/custom-checkout-step-in-magento2/ I am not able to understand how can I add validation like ...
Arjun's user avatar
  • 3,526
1 vote
1 answer
58 views

Is It Possible To Build A Food-Ordering System Like GrubHub Using Magento 2?

I want to build a food ordering system like GrubHub, with all specifications mentioned in this article, is Magento 2 good enough to start with ?
El3aber's user avatar
  • 11
0 votes
1 answer
80 views

How to add bcc for forgot password emails in Magento 2

I want add bcc for forgot password email in magento 2. When i checked the code - \vendor\magento\module-customer\Controller\Account\ForgotPasswordPost.php in execute method we have this try { $...
Mani's user avatar
  • 173
0 votes
1 answer
34 views

What are the security risks associated with a Magento 2

What are the security risks associated with a Magento 2 website, and how can you mitigate them?
Noor Mohamed's user avatar
2 votes
1 answer
125 views

Magento 2 community edition

What are the key differences between Magento 2 Community Edition and Magento 2 Enterprise Edition, and which one is the best fit for your business needs?
user avatar
3 votes
1 answer
505 views

base table view not found

: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'database_name.users' doesn't exist in C:\xampp\htdocs\training\DB\loginn.php:19 Stack trace: #0 C:\xampp\htdocs\...
Noor Mohamed's user avatar
2 votes
1 answer
136 views

PAYMENT GATEWAY ERRORS

I am trying to integrate a payment gateway into my Magento 2 store, but I keep getting an error during the checkout process. What steps can I take to troubleshoot and fix this issue?
Noor Mohamed's user avatar
1 vote
1 answer
31 views

DATABASE RELATED ERROR" SUCH AS SQLSTATE[HY000][2002]

Why do some Magento 2 installations encounter database-related errors, such as "SQLSTATE[HY000] [2002] Connection refused" or "Table 'magento.x' doesn't exist"?strong text
Noor Mohamed's user avatar
0 votes
1 answer
124 views

Magento 2: How to add custom text attribute on product page after price, Only if special price?

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: ...
Tom's user avatar
  • 67
0 votes
1 answer
466 views

Magento2: How to fix this Sales order grid created_at filter ambiguous error?

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 ...
IZANOVA's user avatar
  • 355
0 votes
1 answer
83 views

Magento2.4: How to display coupon code in Sales order Grid and Sales order detail page?

I want to display coupon codes in the sales order grid and the order detail page. Any idea how to do this?
IZANOVA's user avatar
  • 355
0 votes
0 answers
16 views

Magento 2: I don't no where is my Ajax url to check email exist or not

When i fill email in the input i get error 404 Not Found and I dont no where is my url to check email exist or not I'm new to Magento 2, Please help me..
tanh's user avatar
  • 15
0 votes
2 answers
258 views

Magento 2 : If the not logged user click to checkout, then popup will show for login or sign-up

Checkout button: (Minicart) (Shopping cart) Popup will show: I'm new in Magento 2, please help me
tanh's user avatar
  • 15
0 votes
0 answers
36 views

Magento 2 : Create a widget to validate if email exists or not on Magento 2(if yes => console.log(true), if no => console.log(fail));

Create a widget to validate if email exists or not on Magento 2(if yes => console.log(true), if no => console.log(fail)); Please use popup widget located in Magento_Ui I'm new to Magento 2, ...
tanh's user avatar
  • 15
0 votes
0 answers
48 views

Magento2: How to Create 4 custom shipping method?

I want to create multiple shipping methods in Magento with different rates.
IZANOVA's user avatar
  • 355
1 vote
1 answer
69 views

How can i check Magento site request comes from other unknown website in Magento 2?

for my Magento site marketing I use backlink,so some backlinks are right and some others are not not ok I need to block my site access from unknow sites backlink. i used htacces code but that not ...
Joy Poly's user avatar
  • 501
0 votes
1 answer
33 views

Block that doesn't explicitly declare template?

I recently followed a tutorial to add a custom fee to the checkout summary of my Magento store and after getting everything working, I realized that the block I created didn't need to have an ...
A. Andersen's user avatar
0 votes
3 answers
701 views

Magento2.4.5: How to add custom text fields on checkout page?

I want to add custom text fields on the checkout page and those fields' values should be saved in sales_order and sales_order_item table
IZANOVA's user avatar
  • 355
-1 votes
2 answers
377 views

Magento 2.4 Order Place Error

Errors: Something went wrong with your request. Please try again later. No such entity with cartId = 5
Akshay's user avatar
  • 3
0 votes
1 answer
53 views

How to override magento\framework\view\page\config.php file in magento 2 for removing htmlentites in page source code

I want to override the magento\framework\view\page\config.php file setMetadata($name, $content) method to remove the htmlentites in meta description when we are viewing the page source code. For that ...
Mani's user avatar
  • 173
0 votes
0 answers
134 views

How to override vendor/Magento/Framework/View/Page/Config.php file in magento 2

I want override the setMetadata() method from config.php file. what is the best way to overide setMetadata() method from config.php file in magento 2 Thanks.
Mani's user avatar
  • 173

1
2 3 4 5
114