Stack Exchange Network

Stack Exchange network consists of 174 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
Make your voice heard. Take the 2019 Developer Survey now

Questions tagged [magento-2.2.5]

It should be used for questions about Magento 2.2.5

2
votes
0answers
339 views

Magento2 - Full page cache issue with multiple stores

I have multiple storeviews for my Magento website. It's working fine until I enabled Full Page Cache from Store -> Configuration -> Advanced -> System -> Full Page Cache -> Built-in ...
3
votes
1answer
31 views

Magento 2 Ajax Add to Cart for recently viewed products

I am struggling with enabling Ajax Add to cart option for recently viewed products. Currently, the page is reloaded while adding the product to cart. In place of that, I have to use AJAX add to cart ...
1
vote
2answers
141 views

How to make invoice PDF file size compress in magento 2

I'm trying to make compress invoice PDF file size. How to make this in Magento 2.2.5. Default PDF size is 3.2MB I'm trying to make this in between 19KB. How to make this? I tried below link's ...
1
vote
0answers
112 views

Magento 2.2.5 - First Name is not visible in Shipping and Billing Address

My Magento 2.2.5 Store is not allowing a registered customer to place an order if the customer uses the saved/default billing/Shipping address instead of a different address. The store displays an ...
1
vote
0answers
32 views

In magento2 \Magento\Checkout\Controller\Onepage\SaveOrder controller is fired? [closed]

i want know the \Magento\Checkout\Controller\Onepage\SaveOrder this controller is fired.because i want override this controller.
1
vote
0answers
28 views

Magento 2.2.5 get product and product image urls store vise

I want to send all product data of my store into Elasticsearch. In that I am facing one challenge to retrieve product url and product image/video urls store vise. For example:- My default store URL :...
0
votes
2answers
47 views

Magento 2 : Issue With Override Magento\Checkout\Model\Session

i am override the checkout model seesion in this way in magento 2.2.5 "\app\code\Namespace\Modulename\etc\di.xml" <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
0
votes
0answers
48 views

Default sort order for default sort attributes

So it is already possible to select custom attributes for the default sort order in categories. But this sorts by default ascending. If we have - like in our case - a popularity rating which is a ...
0
votes
2answers
25 views

Url redirection is not working properly if we open the some product url

I have a product URL http://dev.com/abcd/xyz.html (This is the English store URL). I have a different URL for different stores. For the above product, I have different URL in Deutsch store. ...
2
votes
1answer
43 views

Export custom option via REST interface

We have created a product with a custom option (free text field). The customer enters data, now this data should be exported via curl -X GET --header "Accept: application/xml" --header "Authorization:...
1
vote
1answer
124 views

How to add a new attribute in order response json in get order api

Magento version: EE 2.2.5 I have added a new column "old_order_id" in sales_order table using upgradeSchema. Now, I need to set that "old_order_id" through API. So, how to add that attribute(...
3
votes
2answers
40 views

How to add more than one frontname for same Module in Magento 2

We need a module to function differently and show different UI if its comes with different frontname i.e If Externalvendor/Module1 has routes like <router id="standard"> <...
6
votes
3answers
78 views

Magento 2.2.5 extensions conflict (Solved)

I've a problem with two extensions. One is for add custom registration fields, another is for customer approval. When new customer try to create new account and click on create account, account will ...
1
vote
0answers
22 views

Magento 2 Full Page cache configuration in admin greyed out

The Full Page Cache from - Stores -> Configuration -> Advanced -> system -> full page cache It's greyed out, like in screenshot. I have chosen Default config from Store View, I was able to ...
2
votes
0answers
69 views

Magento2 get url of all CMS pages using their identifiers

I am preparing one common array which returns the complete details of all CMS pages. In this array, I need to pass the URL of all cms pages. I do have an identifier of all pages. How can I get the URL ...
5
votes
1answer
74 views

Amazon Pay ignores javascript mixins from other modules

When using Amazon Pay during the checkout process, seemingly any module that uses Javascript mixins to capture additional fields from the checkout page and pass them to the POST request for processing ...
1
vote
1answer
69 views

Removing link from root category on topmenu

I am trying to make the topmenu root category not clickable using this method https://community.magento.com/t5/Magento-2-x-Programming/Remove-links-to-top-categories-in-menu/td-p/77072 but it ...
0
votes
1answer
156 views

Source documents are not mapped: Issue

When I'm using:- php bin/magento migrate:settings vendor/magento/data-migration-tool/etc/opensource-to-opensource/1.9.3.8/config.xml Then getting following error:- [2018-09-20 13:33:44][ERROR]: ...
1
vote
1answer
21 views

Is it possible to display an XML Block based on an IF?

I use the below code in a module within catalog_product_view.xml to display a new Tab on the Product Page. <body> <referenceBlock name="product.info.details"> <block class="...
0
votes
2answers
25 views

I am getting an error as invalid template file when i tried to add a custom payment method in custom module file

Invalid template file: 'RW_CustomPaymentMethod::info/custompaymentmethod.phtml' in module: 'RW_CustomPaymentMethod' block's name: 'info\custompaymentmethod_0' Should we declare this template ...
2
votes
3answers
50 views

How to display text if Product Type is Equal to?

I'm trying to display some text IF Product Type = General. This edit is being made within a phtml file. How'd I'd normally do it for a Product Attribute called Example <?php $_product = $block-&...
1
vote
1answer
27 views

How to show tax and shipping costs in custom popup of jquery in Magento 2?

I want to display tax amount, shipping amount , and total in custom jquery popup dialog and that should be visible in checkout page. I have added a button in checkout page on click of it a popup shows ...
4
votes
0answers
261 views

Undefined index: websites in ..module-config/App/Config/Type/System.php

After trying to update from 2.2.5 to 2.2.6 I ran into an error message that it could not write to one of my files and thus needing to do a rollback on some of my backups. For some reason, I cannot ...
4
votes
0answers
58 views

Getting error in extension manager, Check Component Dependency & 2 php errors

Trying to find solution from many days on google but nothing found helpful.
1
vote
1answer
49 views

Magento 2 extend config.xml

I am trying to disable Magento 2.2.5 core module output, such as Magento_Backup. I have followed the official documentation, and that works, but it requires modifying core files under the vendor ...
2
votes
2answers
272 views

Magento 2.2.5 - what are the mysql tables where shipping and billing address is stored?

I want to know the name of the tables where the Shipping and Billing addresses are stored in Magento 2.2.5 for the registered customers
4
votes
0answers
33 views

Magento 2.2.5: Adding cart-attribute for cart-rules / conditions tab

I use a product attribute called "carton" which describes in how many carton a product is packed. I want to add a cart-rule which counts the amount of all cartons in the cart (accordingly the amount ...
2
votes
0answers
48 views

Magento 2 : Data binding in Payment Method Selection

I want to display a custom field in "cash on delivery" payment method. I have created a custom module for this. But the field displays in all payment methods. Here is my code html <div class="...
4
votes
0answers
46 views

Salesforce Magento integration

I'm implementing salesforce magento integration through REST API callout. I have successfully got the response from magento and saved it in salesforce database. But facing issue while using ...
1
vote
0answers
30 views

Admin Payment Method after an Upgrade 2.2.5

Admin > Configuration > sales > Payment Method after an upgrade to 2.2.5, the page display this form with no active control, How to resolve this? (Please see picture below) Thank you in advance.
0
votes
1answer
105 views

Any ideas on how to remove a knockout template from M2 (at the checkout)?

The template in question is vendor/magento/module-sales-rule/view/frontend/web/template/payment/discount.html and it shows at the checkout The rule that places the template in vendor/magento/...
2
votes
1answer
50 views

Magento 2 How to hide products from entire shop based on custom attribute value

Is there any way by custom code or plugin, products can be hide from entire frontend shop based on custom attribute type yes or no ?
1
vote
1answer
43 views

How to make a product not visible in storefront

Current Magento Version: Magento EE 2.2.5 I have created a product in admin panel I need that product not to display in storefront but I should be able to place an order for that product through API....
0
votes
1answer
93 views

How to show the download link in grid in backend (without ui component ) in magento 2

I have custom grid and front end form in my module. The form is submitted via frontend and saved in DB. I am showing all the records in backend grid. One of its field is file uploder field. While ...
3
votes
2answers
44 views

I have a css file in vendor/module/view/frontend/web/css/style.css in my own module but it is not working

I have a css file in web/css/style.css in my own module . but it is not working . i have called it in my vendor/module/view/frontend/layout/xmlfile . Note : I don't want to add it in theme css i want ...
2
votes
2answers
398 views

Magento 2 remove Gift Cards Cart Summary

Working to remove the Gift Card feature on Magento 2 Cart summary section. Having issue getting this working. Have created the following file: .../app/design/frontend/***/***/Magento_Checkout/layout/...
0
votes
0answers
3 views

magento 2 Page Query strings are visible in URL bar

Selecting Page limit is showing query string in URL bar, also the content is being duplicated. URL BAR: this is only in 2.2.5 Version
1
vote
0answers
45 views

Set special “shipping” price for afterpay payment [closed]

can i configure in Magento a special shipping price for a payment solution like afterpay? Customer gonna to make the payment Customer can choose which payment he wanna pay with: A (paypal) No fee B (...
1
vote
1answer
17 views

Creating admin menu Resource ID issue

while creating admin menu i am getting this error . attribute 'resource': [facet 'pattern'] The value 'M_Again::menucontroller' is not accepted by the pattern. etc/acl.xml <?xml version="1.0"?&...
0
votes
1answer
143 views

How to save pdf files in magento2

I have frontend form which consists two fields, One is pdf file uploader field Second one is zip file uploader field. Now how do i save these two fields in DB, In which directory i need to save the ...
2
votes
0answers
25 views

Magento 2: How to remove Theme block in admin?

How to remove this block in back-end Categories > Design > Theme block New product > Schedule Design Update > New Theme block thank you!
3
votes
3answers
95 views

Magento 2 REST API returns Error

I have made REST API callout to get products based filter criteria. Following is the endpoint. http://xxxxxxxx/magentodemo/rest/V1/products?searchCriteria[filter_g‌​roups][0][filters][0‌​][field]=...
0
votes
0answers
26 views

Magento 2: How to get Block function inside js file

I need to update price with includingTAX value. I've getPrice Including TAX function on my Block: public function getPriceInclAndExclTax(int $productId): array { $product = $this->productRepo-&...
6
votes
2answers
281 views

magento2 ordered product report showing blank while export CSV

Is there any solution please share why order product Report is showing blank.
4
votes
0answers
42 views

Magento 2: Override Price-options.js [duplicate]

I've overridden price-options.js's function _onOptionChanged(), but I got the error on changes variable to get defaultGetOptionValue() function. requirejs-config var config = { config: { ...
1
vote
0answers
25 views

Magento 2.2.5 - Backups User Roles Permission

I'm using Magento 2.2.5. Steps to reproduce: System -> Permission -> User Roles Backups Sorry, you need permissions to view this content How to fix it?
2
votes
1answer
143 views

Magento 2: How to get Customer collection filter by Full name like admin grid?

How to get Customer collection filter by Full name or by keyword like admin grid of magento 2?
2
votes
1answer
80 views

Magento 2: Custom price-options

I want to change price-options on custom options price to per character. example: Custom Options price set to $20 and max character is 10. If total character is 5, Custom Options price will be ...
0
votes
4answers
64 views

Magento 2.2.5 Error on WHM EasyApache4

I installed my Magento 2 to an Apache environment. I know I may have some misconfiguration errors. Any Ideas how to fix this one?
2
votes
1answer
150 views

How to prevent cart empty after checkout payment failure in magento 2.2.5?

In Magento 2.2.5, after payment failure cart is going empty. I want to keep this, that if payment failed cart will not be empty, that will show last cart items. I'm using the PayUMoney Payment Method....