Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [magento-2.2.5]

It should be used for questions about Magento 2.2.5

0
votes
1answer
34 views

Magento 2.2.5 Show customer header links in Category navigation menu

In Magento 2.2.5, Is there any way to display the top customer header links in Category navigation menu. Like this
0
votes
0answers
15 views

how to add bootstrap template to magento 2 pages and blocks without affecting my main theme (product page checkout page…etc)?

how to add bootstrap template to magento 2 pages and blocks without affecting my main theme product page checkout page....etc? help what I have to do
0
votes
0answers
65 views

HTTP 500 error after switching from developer mode to production mode

After switching to production mode, website is giving http 500 error. Admin side is opening but no pictures. What should i do?
0
votes
0answers
19 views

Magento 2.x Theme Configuring page is loading infinity

I need help to solve the issue from maganto 2.x theme configuring. I was trying to Add my contents into my Theme Like, Header, Footer etc. but the theme page is loading infinity. Please check my ...
0
votes
1answer
71 views

Magento 2 - Enabling Flat Catalog causes SQL error. Reading from “report” tables

When I enable the flat catalog in my Magento 2.2.5 installation, I get an error. SQLSTATE[42S22]: Column not found: 1054 Unknown column 'e.name' in 'field list', query was: SELECT COUNT(...
0
votes
1answer
113 views

Magento 2 - Create admin grid with two tables of different structures using UI Component

Need to create an admin grid on Magento 2 with data of two custom tables of different structures. FYI, unable to proceed with joins and union. Can you please anyone provide the best solution to ...
0
votes
0answers
23 views

How to combine two database tables and show in custom admin grid without using joint in Magento2.2.5?

How to combine two database tables and show in custom Admin grid without using joint in Magento2.2.5 ?
0
votes
0answers
14 views

Magento 2.2.5, get customer account dropdown links

In Magento 2.2.5, I want get and display the customer account navigation links in the custom phtml. How to achieve this.
0
votes
0answers
316 views

Magento 2.2.5 coupon codes not working

I have added several cart price rules to magento but every time i enter the code to a shopping cart i get the error that the couponcode is not valid. How can this be solved?
0
votes
0answers
163 views

Magento2 - category update attribute and add attribute not working together?

I need to change existing category attribute code from "thumbnail" to "thumbnail_migration" and just after that create a new category attribute with name "thumbnail". In upgrade data I have ...
1
vote
1answer
110 views

Grabbing invoice pdf file through API

Hoping someone can point me in the right direction on how to generate an invoice pdf for an already invoiced order through the rest api. It looks like in the admin, Magento is creating it on the fly ...
0
votes
1answer
18 views

Magento sees wrong allocated memory

I am trying to update Magento 2.2.5 to 2.3 using the System Upgrade tool. The readiness check gives an error saying that php memory limit is set to 128M. In reality we have 2G set on server. Check ....
0
votes
1answer
24 views

Custom section is ignored on Magento 2

I am trying to create a custom section with private content to not cached. I follow this article: https://webkul.com/blog/sections-magento-2/ I did the first two steps: di.xml <?xml version="1....
0
votes
0answers
34 views

Catalog Search Results page - sort by price not working

Steps to reproduce: Search for a term and the results are displayed by default sorted by Relevance. Change the sort by parameter to Price and change the sort to ascending order. Results are not ...
1
vote
2answers
331 views

How to create custom API for company and customer creation in Magento 2

I want to create a company/company admin-user in Magento 2 (as what it does from the front-end/back-end panel) via a single API call. Right now am doing with two API calls First is creating a ...
0
votes
0answers
22 views

Bundled Items not going out of stock when a component is out of stock

What needs to be set for a bundle product to go out of stock if one of it's components goes out of stock? Right now I have a bundle product with manage stock set to yes. Ship together. Input type ...
0
votes
0answers
179 views

Magento2 - Category Thumbnail image not uploading

I am using an extension of Amasty for layered navigation which also provides facility of category thumbnail image upload. Unfortunately the upload of Thumbnail is not working for me, I am not getting ...
0
votes
1answer
20 views

In Magento 2.2.5, Login link is displaying even customer loggedIn

In Magento 2.2.5, I am checking the customer is logged in or not in order to display the login link in case if he is not logged in. If he is logged In means I need to display the My Account link. ...
0
votes
2answers
322 views

magento 2 add custom fields to checkout form below shipping address form

i have added custom fields (GST Refund ) to my checkout form but they are showing above "shipping new address form" Screenshot below I want to show it below address fields something like below code ...
0
votes
0answers
56 views

How to Save Front-end Feedback Form Data in database table Magento 2

I want to save form data in a table, I searched a lot of stuff but unable to do it here i created a form in form.phtml file <form > <label for="fname">First Name</label> &...
0
votes
0answers
14 views

How to call a template after minicart is loaded in magento 2

How to call a template after minicart is loaded in magento 2 I wish to call the template for all the pages after the quote is created. So please provide me a solution to cal a template after the quote ...
0
votes
0answers
15 views

Magento 2 Clear cart is not working

In Magento 2.2.5, I dont want to maintain the cart items. I need only at the time of login to place order. It should be cleared once I logout or session expires. I used this persistent cart link. But ...
0
votes
1answer
92 views

Magento2 multi website / store - Admin created customers are redirected to wrong store after password create & login

This is a Magento CE 2.2.5 project We've found bug, reported here https://github.com/magento/magento2/issues/20148 Steps to reproduce Create new customer in admin with associated website / store ...
0
votes
0answers
21 views

Unable to get custom customer Address attribute value to customer grid

I've created custom customer address attribute through admin panel. Attribute value is inserting in customer_address_entity_int table. I'm able to see custom attribute in grid options but attribute ...
0
votes
0answers
9 views

Not able to fetch data while creating multiple forms in Admin Magento 2.2.5?

I am not able to fetch data while creating multiple forms in Admin Magento 2.2.5 (Controller is not called)? Any help would be appreciated.
0
votes
0answers
24 views

In Magento 2.2.5, Update the cart items with custom options

In Magento 2.2.5, I want to update the cart products with custom options. While adding to cart, It is added correctly and updated in quote_item_option table. While updating only qty is updated, ...
0
votes
1answer
38 views

Magento Enterprise Edition Custom Customer Address Attribute

I've added custom customer address attribute through the admin panel. The attribute value is inserting in customer_address_entity_int table but attribute value is not displaying in Customer Grid. Any ...
0
votes
0answers
89 views

How to Download Print packing slips Magento 2?

In Magento 2,we are select the sales/order and click an action like "Print Packing Slips" its open packing slip in the same window.I need this open in new window or when we are click on "Print Packing ...
0
votes
0answers
121 views

In Magento 2, how to set custom grandtotal amount in order, invoice and credit memos

In Magento 2.2.5, I am using custom price in order total. It is displaying in the cart and checkout pages. But I need to set and display this custom price in everywhere like order, invoice and credit ...
0
votes
1answer
28 views

How to add new field in Add new Customers in Admin Magento 2.2.5?

I want to add new field in Add new customers in Magento admin. Customers-> All customers-> Add new customers, Refer my screenshot. Any help would be appreciated.
0
votes
1answer
20 views

add a section/tab on the right section of all categories in front end magento2

Hi there I want to add my custom section/tab on the right section of all the categories for getting a clear idea I am attaching this image This is the men section I want to add the same custom tab ...
0
votes
2answers
42 views

Get all products with their custom options in Magento 2

I am trying to show all the products with their custom options in a magento grid in admin panel. I can not figure out how to do this. I have to show products in grid and their custom options , if a ...
0
votes
1answer
225 views

Element 'block', attribute 'remove': The attribute 'remove' is not allowed. Line: 745

I'm getting this error when I hit the front end. Couldn't able to find any solution regarding this. 1 exception(s): Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'block'...
0
votes
2answers
84 views

New Order Emails Sendig Two Times

I am facing issue with new order emails. Magento send new order emails two times for every order. I am not getting what is issue there.
1
vote
0answers
84 views

Magento 2 Bad Response: Client error: `POST https://api.playground.klarna.com/payments/v1/sessions` resulted in a `400 Bad Request`

In Magento 2.2.5, I have configured "Klarna" Payment method using my valid credentials. But, In frontend when I go to the checkout page it is not showing the Klarna Payment Options. I got this log: ...
0
votes
0answers
50 views

Attribute Filter Not Working in Magento 2

I have two attributes option_id. 141, 633. I need to get the attribute_id for those attribute option id value and get attribute_code. when I loop the one option id at a time the below code is working ...
0
votes
0answers
61 views

magento 2 do not send Order mail for failed payment

i have added some payment gateway modules, where my payment was failed still "Order mail" goes to user, is there way to stop this when payment gets failed. I can not see any option in admin for it . ...
0
votes
1answer
24 views

Magento2 change label of phone number field

I want to change all instances where the "phone number" field is listed to instead be labeled "Mobile Phone number" . I edited the file app/design/frontend/Smartwave/porto/Magento_Customer/templates/...
0
votes
2answers
189 views

Magento 2: get latest Bestseller collection

I am fetching Bestsellers like this: protected $_collectionFactory; \Magento\Sales\Model\ResourceModel\Report\Bestsellers\CollectionFactory $collectionFactory, $this->_collectionFactory = $...
0
votes
1answer
25 views

Unable to get custom customer data in a standard manner? [duplicate]

I have added few custom attributes and one of them is is_mobile_verified while registering I dont set any value for this however, while creating the attribute I set default value as 0. now after ...
0
votes
0answers
28 views

Magento throws a report error when customer session expires and shopping cart persistent is active

So recently I experienced a different issue in Magento 2.2.5, related to the shopping cart persistent. Basically what happens is when a customer is logged in with a product in the cart, and this ...
0
votes
0answers
52 views

IN magento 2.2.5, Filter Array column value by Id

In Magento 2.2.5, I am using my custom collection. It has the field with array of values(Customer Ids). I want to filter it using single value(LoggedIN Customer Id). Its almost same like this. But it ...
2
votes
2answers
311 views

Magento swatch is not disabled when configurable product is not on stock

I have a little problem at my Magento 2.2.5 store. When a combination of a configurable product is not on stock, the swatch should be disabled with a red strike. But at my store no swatch is disabled, ...
0
votes
0answers
29 views

Empty Cart before adding to cart

In Magento 2.2.5, I want to clear/empty cart before the current product addtocart. Check the below scenario: Added the new product to cart, Up to cart page user not logged In. I have disabled guest ...
0
votes
0answers
114 views

How to show simple product size swatches in my wishlist page which can be selected and added to cart?

I have created size attribute as Text Swatch. When you add a config product from product/category page to Wishlist, config product is added and shown in My Wishlist page. In My Wishlist, available ...
1
vote
0answers
33 views

Canceling credit memo gives error

I am canceling credit memo using below code: foreach ($collection as $creditmemo) { if($creditmemo->getState() != 3){ $order = $creditmemo->getOrder(); $creditmemo-&...
0
votes
2answers
231 views

CSS inlining error: DOMXPath::query(): Invalid expression in selector in Magento 2.2.5

In magento 2.2.5, I am using the custom theme and I have used the blank theme's files. In mail I am getting this error : CSS inlining error: DOMXPath::query(): Invalid expression in selector ...
4
votes
0answers
116 views

Magento 2 Enterprise : Get Coupon code Expiration Date

I am using Magento 2.2.5 Enterprise Edition.I created cart price rule from admin.Now I want to display coupon expiration date in front end but in enterprise edition start/end date is saving by ...
3
votes
1answer
192 views

Register password strength meter not working in Magento 2.2.5 CE

I have a fresh installation of Magento 2.2.5 CE & tried to create new user on frontend when we type password like Password1 strangely strength meter not showing like weak, strong, very strong its ...
1
vote
0answers
53 views

configurable price issue in quickview and list page magento2

I'm having an issue with pricebox.js/configurable.js and configurable products. They are used in quickview and on individual product pages. same Issue I can see in this platform in this link ...