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

0
votes
0answers
26 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 ...
3
votes
0answers
30 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 ...
2
votes
1answer
34 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
21 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 ...
0
votes
0answers
31 views

Magento 2.2.5 Error in Exception Log Every Night

I'm getting an error in exception.log every night. Error is main.CRITICAL: Directory "/tmp/analytics/tmp" cannot be created {"exception":"[object] (Magento\Framework\Exception\FileSystemException(...
0
votes
0answers
14 views

Add Geolocate with Map in Magento 2 Admin

I have to get latitude and longitude value in the field by clicking on button and display location on map. I have to add this in admin edit form tab. How can I achieve this ? Please give me some hints....
0
votes
3answers
37 views

Magento 2.2.5: When deploying not coping css to pub/static

I have a Magento 2.2.5 based website and when I do a below command: php bin/magento setup:di:compile and then php bin/magento setup:static-content:deploy And then I look in the pub/static/frontend/...
0
votes
0answers
21 views

Magento 2 how to write in data-mage-init

Magento uses below way to show Requistition list using "x-magento-init". <div class="block block-requisition-list social-button" data-bind="scope: 'requisition_ - 111'"> <!-- ko template: ...
0
votes
0answers
4 views

Integrating Magicsearch(autosearch) plugin into Magento 2 but getting Magicsearch JS error in console

I'm integrating "jQuery Magicsearch" plugin into Magento 2,you can get Magicsearch plugin from here:- https://www.jqueryscript.net/form/Dynamic-Autocomplete-Multi-select-Plugin-With-jQuery-...
0
votes
0answers
9 views

Custom admin form saving in database, But not showing in admin grid in Magento2.2.5?

I have created Custom admin which is being saved in database, But not showing in admin grid in Magento2.2.5? Its showing following error (DateTime::__construct(): Failed to parse time string (1) at ...
0
votes
2answers
50 views

Magento2.2.5 change create account link in top right header

I want to change the URL of the "create An account" link that is on the top right of the site. I want the link to instead of being customer/account/create/ I want it to be customer/account/login I ...
0
votes
0answers
10 views

Separate Favicon for Frontend and Backend

So, I've located the file responsible for assigning the Favicon: vendor/magento/magento2-base/setup/view/layout/layout.phtml Does anyone have a thought/suggestion on how to separate the Frontend and ...
0
votes
0answers
12 views

How to add upload button for admin cms page in magento2.2.5?

I want to show upload button for Image and Image (For mobile) in admin cms page in magento2.2.5? Refer my screenshot
0
votes
1answer
48 views

Change associated Product Sku on change of configurable product attributes dropdown in detail page in Magento2

I need dynamic Associated product sku change in product detail page on change of product super attributes dropdown or swatches. Plugins available are not free it seems. can anyone help?
0
votes
0answers
22 views

Custom form field not showing validation message

I have created one custom form and implemented magento validation. Magento validation works for all fields but message of one field is not displaying. I have added datepicker in this field. Below is ...
0
votes
1answer
34 views

Get Customer ID in template file

I'm building a module where it needs the Customer ID to filter some data in a table. I currently have my Block class set up like this: namespace TreyBake\Garage\Block; use Magento\Framework\View\...
0
votes
0answers
34 views

Issue when Full page cache enable in magento2

I have found issue related to full page cache enable. I am not able to remove the label on document ready in magento2 <script type="text/javascript"> require(['jquery'], function ($) {...
2
votes
1answer
54 views

How to translate shipping method titles

I need to change the text for a shipping method title. Currently we have Federal Express Express Saver I would like this to say Express Saver (3 Day Delivery) instead of Express Saver on the ...
0
votes
0answers
11 views

Magento2 admin - Incomplete data rendered in product edit Text Area attribute

I have migrated data from Magento 1 to Magento 2. But in admin panel of Magento2 incomplete data is displayed in text area. After checking in database complete data is available. For e.g in database ...
0
votes
0answers
35 views

Magento2: custom javascript not called when using with text/x-magento-init

In list.phtml (product listing) I am showing requistition lsit for every product using type="text/x-magento-init" in loop as: <script type="text/x-magento-init"> { "*": { "...
0
votes
0answers
16 views

How to print a product collection in a pdp page in magento2.2.5?

I want list of product collection in an array form in frontend in product detail page. Just want to see what custom attribute values are assigned to a particular product in magento2.2.5?
0
votes
1answer
37 views

How to show product custom attribute next to product in product detail page in magento2.2.5?

I want to show product custom attribute next to product in product detail page in magento2.2.5? Any help would be appreciated.
0
votes
1answer
40 views

Observer to be called after shipment is saved

I need to call observer which must be called when a shipment is created and after it is saved. I tried using the event sales_order_shipment_save_after but it is called before shipment is saved ...
0
votes
1answer
19 views

Remove currency symbol of price type product attribute from admin product form

I've added price type product attribute for the product sorting, here is the screenshot:- http://nimb.ws/Wqat3J How can I remove currency symbol? Waiting for the reply!
1
vote
2answers
33 views

Magento 2 - Date input with time picker

I am using Magento 2.2.5 to create a custom EAV model. I managed to create the form in the admin panel using UI components, based on the catalog product implementation. However, I have seen that the ...
0
votes
2answers
160 views

Customer Session not working on full page cache in magento2

This is my code below $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $customerSession = $objectManager->create('Magento\Customer\Model\Session'); if ($...
0
votes
1answer
32 views

Magento 2.2.5 Not Sending New Order Email To Guest

I've got a live 2.2.5 single store site and whenever a Guest customer places an order, the New Order Email fails to send. It works for registered users perfectly. Instead of sending the New Order ...
0
votes
1answer
22 views

Magento 2 products page title showing wrong on product page

Magento 2 products page title showing wrong on product page. http://prntscr.com/lpbrrv Any idea why ?
1
vote
2answers
23 views

How to include custom JS to admin create new product in magento 2

I want to include custom JavaScript to create new product form. I already try with below way Using XML way. app/code/Namespace/Modulename/view/adminhtml/layout/index_index_add.xml <head> ...
0
votes
0answers
15 views

Magento 2.2.5: Order products prioritising in stock items first

We are trying to get out In stock products to show before our out of stock products on our site. There appears to be no options for this in the magento settings so I thought of looking in the code ...
0
votes
2answers
34 views

Magento 2 Not get the quote item

In magento 2.2.5, I tried to get the quote item using below codes. But it is not working. link 1 link 2
0
votes
1answer
15 views

product_alert_stock out of date entries

Magento 2 log has been generating a lot of product doesn't exist entries. I was able to narrow it down to old out of date entries in product_alert_stock referencing products that are no longer on the ...
4
votes
1answer
66 views

Magento 2 How to remove default website checkbox checked while add new product?

Magento 2.2.5. I have set up a multi website and it is working fine. My problem is when admin create any new product Product in website field default website selection checkbox is checked by default....
0
votes
0answers
14 views

Magento 2.2.5 Show and process with custom price instead default product price

In Magento 2.2.5, I want to achieve the below functionality: I have a Virtual Product, When I add it to cart, It should have the default product's base price. In the cart page, Right side summary ...
0
votes
1answer
38 views

Overriding a template file from a 3rd party module

What I know Overriding a template from vendor/magento/<magento_module> is straight-forward enough. So, to override a magento_catalog file I'd do: app/design/frontend/<Vendor>/<Child&...
0
votes
1answer
62 views

Magento 2.2.5 Wysiwyg editor Error : Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded

In my custom module, I integrate Wysiwyg editor to admin form and it is working fine. but when I insert the external image path to the editor then it will show below error. error: error in [unknown ...
0
votes
1answer
20 views

make custom attribute set as default selected

I have created new Attribute set say "My attribute set" . now when i add new product "default" one is selected by default , i want my custom attribute set to be selected as default one . i can not see ...
1
vote
1answer
30 views

magento 2 change admin label

i want to change magento admin sidebar labels for eg "catalog" to "My products" is there way to do it without changing core files i tried using translation by adding files in "app/design/adminhtml/...
0
votes
0answers
65 views

Remove ?___store &___from_store=default from the code url of magento 2 in multistore

'Add Shop Code to URLs' to Yes in System -> Configuration -> Web -> URL options. But show ?___store &___from_store=default. I used magento 2.25. Thanks for help.
1
vote
0answers
18 views

Magento 2: Product Attributes Option unable to use &

I am unable to use "&" in option of product attributes. Below is attached screenshot. If we add & to Default Store View or Admin it get auto removed on save, is there any fix it ?
0
votes
0answers
138 views

Magento 2.2.5 How to add google captcha to newsletter form without use any third party extension

There is so many extension available for Google Captcha implement to Magento 2 newsletter form or any other form. But i want to add Google Captcha from scratch, without using any third party ...
0
votes
1answer
38 views

Sales rep don't receive order copy email

So after migrating to a new server, I stopped receiving the Order copy emails to the sales representative or any other specified. Default is info@shopdomain.co.uk, I also tried @gmail.com, none of ...
-1
votes
0answers
37 views

How to update Customer Group Ids for existing Cart Price Rule programmatically?

I have many Cart Price Rules in my magento store,I want to update Customer Group Ids for existing cart price rule but I dont want to do it manually. I am just looking for code script so that I can ...
0
votes
0answers
25 views

Replacing Canonical URL in Categories

I'd like to Replace the auto-generated Canonical URL in a Category. Is there a Layout Update XML I can use to remove the original Canonical Link? Adding a Canonical URL I can use the below Layout ...
0
votes
1answer
37 views

bulk product images uploading fails

I am trying to bulk upload images for products I am getting the following error: imported resource (image) could not be downloaded from external resource due to timeout or access permissions in row(s)...
-1
votes
0answers
67 views

Manufacturer attribute not showing up when creating configurable product

When we try to create a new configurable product the manufacturer attribute is not displayed. No matter what attribute set we try it's the same. If I create a simple product then the attribute is ...
0
votes
1answer
17 views

Translating “Fax” in the backend

I want to rename "Fax" to "Mobile" on the backend (Create New Order page). I assumed this could be achieved by updating my en_GB.csv file in my child theme. Assembling the preceding pt_BR.csv files ...
0
votes
1answer
21 views

In magento 2 mousehover on swatch disable non configurable option?

In Magento2 default swatch function is we are select the color swatch disable the nonconfigurable option like size is not there.Like below image http://prntscr.com/lh9jvl how can i write the same ...
-1
votes
2answers
225 views

Magento 2: Requested store is not found in product

I get this message "Requested store is not found" when I want to create a new product or edit it. Magento 2.2.5 php -f bin/magento setup:upgrade php bin/magento setup:static-content:deploy -f This ...
0
votes
1answer
26 views

Multiple Add to Cart buttons on Custom PHTML file

So right now I'm creating an add to cart button on a custom PHTML file to create a special landing page using the following code: <?php $cartHelper = $this->helper('Magento\Checkout\Helper\...