Questions tagged [magento-2.2.5]

It should be used for questions about Magento 2.2.5

Filter by
Sorted by
Tagged with
1
vote
2answers
25 views

I am overriding a controller and want to use a custom helper in the overrided controller,how can i?

I've overridden following controller:- Magento\Customer\Controller\Account\CreatePost.php And the constructor method of this class is:- public function __construct( Context $context, ...
0
votes
1answer
21 views

Remove demo store notice from admin side in magento 2.2.5?

How to remove/disable demo store notice from admin side. We want to remove from only admin side but we want that show in front. Our site is in magento 2.2.5 Any one help me for solve this issue.
4
votes
4answers
159 views

Magento 2 frontend route only allow POST method

I'm using magento 2.2.5 and created a frontend route like this: <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:...
0
votes
0answers
13 views

Magento 2.2.5 category not updated and add

Kindly Help me with this, I got stuck. I can not update category or add a category, Re
0
votes
4answers
2k views

Product import successfully done no errors but no products imported in Magento 2

I have manually added 400 products in Magento 2.1.7 CE via the backend. There are configurable products involved, their associated simple products, and normal simple products (not associated with ...
0
votes
2answers
257 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 ...
1
vote
1answer
649 views

Cron job error SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock

Suddenly and without reason, I get error via the mail concerns a cron job that could not be executed. Here is the report : *[Magento\Framework\DB\Adapter\DeadlockException] ...
0
votes
1answer
9 views

order.getEmailCustomerNote() blank in emails

In my order confirmation email template I'm trying to output the following: {{var order.getEmailCustomerNote()}} However it does not show up. The comment taken during the order is however visible on ...
0
votes
1answer
635 views

How to add Upload Button for importing a csv file in the Custom Admin Grid Container in magento 2?

I wish to add import button in my custom admin grid using ui component, in magento 2. To add this import button which type of grid is better ? ui component grid or php grid. Note : We can fill ...
0
votes
1answer
11 views

Base table or view not found: 1146 Table 'amazon_sales_order' doesn't exist

I'm using Magento 2.2.5 Cloud commerce version and at success page I'm getting following error 2019-07-01T13:35:09+00:00 INFO (6): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'm2....
0
votes
2answers
667 views

Magento 2 Override Model using Plugin

I have to override magento 2 code model file in the custom module. I have to override below method from Magento\Quote\Model\Quote\Address to my custom module and I have to change value of $amount. ...
5
votes
1answer
88 views

Magento 2.2.5 checkout page summary discount row shows as expanded

In Magento2.2.5 using the default Magento2 2 step checkout on the payment & review step in the order summary box the discount which I believe is suppose to be a drop down shows always as expanded ...
0
votes
1answer
42 views

Estimate Shipping section is not retained after Update Basket

I upgrade my Magento store from 2.1.7 to 2.2.5 and I faced an issue on cart page. When adding a product to cart and go to /checkout/cart/, In shipping summary section update the shipping country, ...
0
votes
1answer
39 views

Magento 2 Custom module default.xml CSS not called

I've my module files as following app/code/Vendor/GeoIp/view/frontend/layout/default.xml <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
2
votes
1answer
321 views

Magento 2.2.5: How to create Grid in Tabs?

I'm looking for the way to do Grid in Tabs in Magento 2.2.5, I have searched a lot, but almost what I found is from 2016 and so on. Doesn't match with Magento 2.2.5 anymore. Ok so what I need to do ...
1
vote
1answer
33 views

Magento 2 - Cancel order incrementing 2 quantity of product

In Magento 2.2.5 EE Before placing order: Product quantity = 1 stock status = 1 After placing order: product quantity = 0 stock status = 0 After cancel order: product quantity = 2 stock status = 1 ...
2
votes
1answer
131 views

Magento 2.2.5 - 2.2.7 excesive cron logging in system.log

Magento 2.2.5 brings excesive logging to system.log which can grow up to 100 - 150 MB in 1 month. This will obviously be a problem for many shops. There is an official response to this on github (...
2
votes
1answer
30 views

Magento 2.5 show out of stock products at the end of the catalog

I want to display out of stock products at the end of the category page of Magento 2.5. I add this code: vendor/magento/module-catalog/Block/Product/ListProduct.php $collection = $layer->...
0
votes
1answer
28 views

Magento2.2.5 make root.phtml load from child theme folder

I am developing a custom "child" theme based off Luma and wondering how I might add a custom root.phtml . I have copied the entire contents of the vendor/theme-frontend-luma to my app/design/frontend/ ...
3
votes
0answers
31 views

Magento2.2.5 Luma child theme not using default_head_blocks.xml in child theme folder

I have a Magento 2.2.5 based multi-store view website. What we want to do is take the Luma theme and create a custom child theme from it. Each store view (we have 3) would use its own child theme of ...
0
votes
0answers
16 views

Magento2: Downloadable Product getting added to abandon cart grid?

I have found few details in Abandoned Cart grid in magento2 containing details of downloadable product though it cannot be added to cart. Let me know when such situation can occur
0
votes
2answers
36 views

Magento 2 system configuration state multiselect dropdown

First i have created country drop-down in back-end system configuration, using source model as <source_model>Magento\Directory\Model\Config\Source\Country</source_model> Next based on ...
0
votes
0answers
15 views

Google analitycs dissapering after page loaded and wrong data

I've got problem with google analitycs in magento2. I turned on google analitycs on my magento2 shop but when i compare results between google adwords and analitycs I've got wrong data in analitycs. I'...
5
votes
3answers
79 views

Magento 2 - Categroy, CMS and Product page changes are updating along with Page Cache

I have page cache enabled and it is working fine. In Magento 1.9 when I update anything on website then I have to flush full page cache (Amasty plugin) otherwise changes wont reflect on frontend. ...
0
votes
0answers
20 views

Magento2 problem with redirect. Page work without www but with www i've got “The page isn’t redirecting properly”

As in title when I enter to page http://example.com everything fine but when I type http://www.example.com I've got a message "The page isn’t redirecting properly". I try to change base_url and ...
4
votes
1answer
1k views

Shipping Error. Invalid value in Region ID field

Just testing my shipping for a logged-in customer on Magento 2.2.5 When I come to the checkout I get the following error. Please check the shipping address information. Invalid value of "183" ...
0
votes
1answer
37 views

Unable to unserialize value

I have a problem in my Magento 2.2.5 shop. I did the migration from magento 1.9.2.1 When I want to change the category from a product I get the next error: Unable to unserialize value. The exception....
1
vote
2answers
57 views

Magento2 : Not showing Meta title & description on category page

I'm getting issue with website meta info. If I will set the default meta info then it will display the same info tag for all the pages. But when I'm trying to set the meta info for particular page ...
1
vote
0answers
25 views

Magento 2 Product Collection add array as column for sorting

I've requirement like following. Products price is calculated on the fly and I want price sorting to be proper with it. I've extend the block Magento\Catalog\Block\Product\ListProduct Following is ...
0
votes
0answers
58 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 ...
0
votes
1answer
16 views

How to ask the customer to enter billing and shipping address while registering their account in magento 2

I wish to get the billing address and shipping address while customer registering their account in Magento 2. I just overrode the register.phtml & copied the address fields for both shipping and ...
1
vote
1answer
28 views

Magento 2 Set Order not working

I'm trying to set Custom Sort Order in Collection using afterSetCollection() Following is my code di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
1
vote
1answer
169 views

How to change the validation message in my account information section in myaccout page in Magento 2

I wish to add custom validation message in my account information section Please provide me a solution to add custom message in below template. vendor/magento/module-customer/view/frontend/...
0
votes
1answer
27 views

How can i add block to existing layout in catalog_category_view.xml?

I want change layout of catalaog_category_view.xml but i can't. I override block category.products and it's work but how can i add my own block to existing category.products block? Because i want add ...
2
votes
0answers
34 views

Thumbnails not appearing in either back or front end of store

Weird issue. I uploaded images to each of my products and until recently, the thumbnails appeared both on the back end and the front end of Products. However, lately, that has changed and now even ...
0
votes
0answers
12 views

Display discount percentage for child products of Configurable product Magento 2

I have to display percentage discount for Configurable every child products. I have done it for Simple and Grouped products but not getting any idea for configurable products. Please help me or give ...
0
votes
1answer
28 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/...
3
votes
0answers
27 views

Magento 2 - All Products Page with filters and Pagination

I need to create a page where product collection from all categories or you can say from root level category (Default Category) generally it has id 2. I need to make sure that the page is look like ...
3
votes
0answers
18 views

Custom EAV Category Attribute is Returning a Different Value

I have a custom EAV attribute called thumbnail_link_text which is a category attribute. When I try to display it either on the frontend or backend using the default accessor like this, echo $category-...
0
votes
2answers
220 views

Error when upgrading from magento 2.2.5 to magento 2.2.8

When upgrading Magento version 2.2.5 to version 2.2.8 it throws the following error Problem 1 - Can only install one of: temando/module-shipping-m2[1.3.10, 1.3.7]. - Can only install one of: temando/...
1
vote
1answer
16 views

Product attribute value visible in Catalog table but its field is empty in Edit Product form

I have a strange issue with Magento 2.2.5 where two of my product attributes have its values showing in the Catalog Table, but when you click into the product itself to edit, the field for that ...
0
votes
1answer
39 views

Sftp not able to connect in magento2.2.5?

I am not able to connect to Sftp in magento2.2.5 Here is my code: public function execute() { $connection = $this->sftp->open( array( '...
2
votes
1answer
85 views

Magento 2 - All products attributes updated after update from collection

I have got collection in $collecction from Magento\Catalog\Model\ResourceModel\Product\CollectionFactory with some certain conditions I am updating a custom attribute viewed_count in foreach loop ...
2
votes
1answer
22 views

Magento2: unable to override methods in Magento\Catalog\Model\ResourceModel\Product\Collection

I want to override the model class(Magento\Catalog\Model\ResourceModel\Product\Collection.php) Flow the below process to override the addUrlRewrite method but not working. di.xml <config xmlns:...
1
vote
0answers
12 views

City load According Country wise In magento2

I want to city load on the checkout page when customer Select Country / State then City load accordingly, So anyone has the best idea how to do this or any extension have like this, please suggest me!
1
vote
1answer
18 views

Invoice Increment ID Change

I am trying to change my Invoice increment ID through MYSQL table Current Invoice ID is 000000002, I want to start next invoice Id from 200000001 So want to add "2" at the start of invoice ID, When ...
0
votes
1answer
25 views

Magento2: Add product to parent and child categories on import

I am trying to import products in Magento2.2.5 Products have many categories : e.g Default Category/A1/A2/A3, Default Category/B1/B2/B3 When i check the product configuration, the product only has A3 ...
0
votes
2answers
33 views

Magento2 : Get Category Ids from product import csv

product import csv containing category data which is given as below Default Category/Diagrams/Business,Default Category/Diagrams/Strategy,Default Category/Diagrams/Planning,Default Category/...
1
vote
2answers
48 views

How to save stock taking by name product - update quantity by name product

I wrote update quantity product by SKU, but I also want to update quantity product by name. Only update by SKU or name. Look my form <3 My form My controller public function execute() { $...
5
votes
4answers
2k views

Magento 2 how to remove/disable title/word below every single image in product page

I need to remove the image title/name below from product view pages. Magento version 2.2.5. Anyone know how do this? The expectation is without title/name :)