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
1answer
14 views

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

I've overrided 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.
3
votes
4answers
147 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
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
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....
5
votes
1answer
87 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
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
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->...
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 ...
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 ...
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
56 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
24 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
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 ...
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 ...
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" ...
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 ...
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
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
11 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
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/...
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
0answers
7 views

Deposit-calculation (Pfand) transfer to SAP not working correctly

We are adding an extra Product to the card with the deposit-price if someone orders something with deposit, the calculation in magento (ver. 2.2.5) works absolty fine, but in the transfer to SAP the ...
0
votes
0answers
15 views

products id in export sheet does not match with magento back end ids against their products name

i want to export my products from magento back end with products ids as when we export csv of products ids should be matched in csv and back end against their products name but when i export sheet and ...
0
votes
1answer
20 views

Simple Product is not associated with configurable product in magento 2.2.5?

I have Configurable product with 146 associated products.I want to add another associated product to configurable product.I am able to select the simple product but its not showing after save the ...
2
votes
0answers
15 views

Product page count and record count issue on listing page

Unable to change the record on listing page it shows static number for all listing page as shown in the image It display 10000 for all listing page using $this->_productCollection()->getSize() ...
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 ...
2
votes
4answers
65 views

Add Bootstrap to magento 2.2.5

I have to add bootstrap 3 or 4 to my custom theme (magento 2.2.5) I tried this: How to use bootstrap in my custom theme and this Bootstrap in magento 2 theme but these ways don't work with magento 2.2....
1
vote
0answers
42 views

Magento 2.2.5 configurable product is not open in admin?

I have created configurable product which has almost 2000 products associated. I want to edit some attribute but it is not opening and showing an warning: Warning: DOMDocumentFragment::appendXML()...
1
vote
0answers
21 views

Get Conditions from Catalog price rule

I need to get Conditions of Product from Catalog Price Rule in my custom form. I went through core files to get it, but I was able to get Cart Price Rule Conditions by using <container name="...
-2
votes
1answer
65 views

Magento 2 : Issue on setup:di:compile

When I run the command php bin/magento setup:di:compile I am getting an error as below PHP Fatal error: Uncaught Error: Cannot instantiate interface Symfony\Component\Console\Output\...
2
votes
0answers
50 views

Magento2.2 product import using Magmi

Is Magmi import is compatible with Magento2.2? Is it compatible with grouped and simple products import? Where I can find the Latest version of Magmi?
0
votes
0answers
20 views

Product position in category magento 2.2.5

I've got problem when i want to set position in Catalog << Categories << Products in Category. For example i set the position item from 0 to 20 and save changes. After the changes are ...
0
votes
0answers
18 views

magento 2.2.5 alphabetical Layered navigation

In our magento 2.2.5 based website we want to display the layered navigation in alphabetical order. I found code online to do this but with no explanation on what to name the files or where to put the ...
0
votes
0answers
35 views

Element 'css': This element is not expected in magento2.2.5

1 exception(s): Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'css': This element is not expected. Line: 542 facing this issue in 2.2.5. My store is working fine but ...
3
votes
2answers
394 views

Magento2 : Cron run not working

Below given is crontab.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Cron:etc/crontab.xsd"> <group id="...
2
votes
0answers
83 views

Magento2 : Admin Url 404 Error Found

When I am trying to access admin URL it gives 404 error page in magento2. Also, I tried to clean cache rm -rf var/cache/* but not working
0
votes
0answers
48 views

Error 500 on product detail page in Magento2

When I am trying to open product detail page I am getting error Http Error 500. Also, no log is generated to fetch any error. Everything else works fine except the product detail page. I did cache:...