The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
0answers
22 views

How to move all css files in footer in mageno 2.2

In Magento 2.2.5, I have to load all CSS files in footer rather than header(as Magento do by default). Please anybody can suggest me solution. Thank you.
0
votes
0answers
8 views

Help with Magento 2 & Pagespeed Insights

It has recently pointed out to me that if we run our url on Google PageSpeed Insights our results for Mobile are '0' and our results for Desktop are between 20-29. What is VERY strange however is ...
0
votes
0answers
11 views

Checkout/Shopping Cart page Let them know you have promo

Anywhere I can edit the text on the shopping cart page to let my customers know that there is an automatic sale going on without a promo code needed?
0
votes
0answers
12 views

Cart Price Rules - 20% Off 300 or more on select items

Sale is 20% off your entire order of $300.00 or more and applies to everything except a few select brand items. I separated those few brand items that are not included in the sale into their own ...
0
votes
0answers
13 views

Export or save file on download to dropbox or google drive using Magento2 programmatically

I want add new functionality on download product by adding download file to google drive or dropbox in magento2 programmatically either using extension or api.
0
votes
0answers
17 views

Magento2 PayPal Payflow Pro not redirected to success page

In my magento2 website the PayPal Payflow Pro not redirected to success page like after clicking on place order button the order successfully placed in admin and payment also processed but in checkout ...
0
votes
0answers
33 views

Magento 2.2.5 Security Patch Issue

Was there any solution to this? - Magento 2.2.2 Security Patch Issue I have the same issue with PRODSECBUG-2233 on Magento 2.2.5 - Installed via composer and using composer version of patch. When I ...
0
votes
0answers
17 views

Magento2 configurable product not showing original price on list.phtml

Magento2.2.5 On a configurable product where each child product has the same special price assigned what i want is on the category listing to show the special price and then the original price ...
1
vote
1answer
23 views

Magento2 showing default meta description over catalog category meta description

I'm using magento2.2.5, setting the default meta description from design configuration then setting each catalog category meta description individually, then clearing the cache but the default meta ...
0
votes
0answers
23 views

Magento2: Getting Random Javascript errors in console

I am getting error on live website. Everytime i encounter with new error in console.Few of them shown below: Let me know how to solve it.
0
votes
1answer
40 views

Magento2 move related products block

on Magento 2.2.5 I want to move the related products via xml . I have a div with a class of "yotpo yotpo-main-widget yotpo-small" and I want the related products in side this div at the top before any ...
0
votes
1answer
37 views

magento 2 custom cart price rule

I'm using Magento 2.2.5 and tried to implement a new cart price rule. I followed two very helpfull tutorials for that: https://magently.com/blog/magento-2-custom-sales-rule-condition/ https://www....
0
votes
0answers
15 views

Magento 2 change swatch image size to product page only

Is it possible to change the swatch image size of only the swatches in product page? So Small images in category page: And larger images at product page
2
votes
2answers
44 views

Magento2: Import custom attribute for specific product id using csv

I am working on CSV import to add custom attribute data for Products. I have created a custom attribute as "slide_link". I am unable to add only SKU and slide_link in CSV for adding data of attribute ...
0
votes
0answers
26 views

Magento2: Google Slide Integration

I am new with google slides. I want to install/make use of google slides in magento2. How to integrate google slides in magento2? I refer to https://developers.google.com/slides/how-tos/overview ...
0
votes
1answer
76 views

Integrity constraint violation: 1062 Duplicate entry '3-2-9' for key 'PRIMARY', query was: ALTER TABLE `catalog_category_product_index_tmp`

Integrity constraint violation: 1062 Duplicate entry '3-2-9' for key 'PRIMARY', query was: ALTER TABLE catalog_category_product_index_tmp ADD CONSTRAINT PRIMARY KEY (category_id,product_id,store_id), ...
1
vote
2answers
147 views

Change order of “Subtotal” and “Grand Total” amounts in the checkout

I've got issue because I can't figure out to swap order total brutto with netto. Look up and check the image. Magento2 maybe by default set Price brutto on the top but I need move price brutto to ...
1
vote
2answers
39 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
26 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
197 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
17 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
12 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
37 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
103 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
40 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
37 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
38 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
44 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
17 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
4answers
188 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
20 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
102 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
27 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
68 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
221 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
28 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
19 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
50 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
35 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
40 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
15 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 ...
4
votes
1answer
35 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
19 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
88 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
87 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
25 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
21 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
19 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
47 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/...