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

Questions tagged [magento-2.2.5]

It should be used for questions about Magento 2.2.5

0
votes
0answers
8 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
3 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
6 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
29 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
7 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
11 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
25 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
10 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
28 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
25 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
19 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
29 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
12 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
31 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
35 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
0answers
9 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
28 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
46 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
17 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
19 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
18 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
30 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
13 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
47 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
9 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
31 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
32 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
17 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
20 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
33 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
65 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
0answers
35 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 ...
0
votes
0answers
29 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
15 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
0answers
26 views

Magento v2.2.5, how to add attribute options that contain special characters such as accented e's

Magento Version 2.2.5 Using '\Magento\Catalog\Api\ProductAttributeRepositoryInterface'. SOLVED: encode first with utf8_encode("label")
0
votes
0answers
18 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)...
0
votes
0answers
38 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
13 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
11 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
101 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
14 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\...
0
votes
0answers
12 views

Backup run through Admin panel but I can't download it

I have run backups through the admin panel and they all seem to have run OK. In the download column on the backups it has a link on tgz but when I click it I just get a blank web page not a download. ...
0
votes
0answers
37 views

Magento 2.2.5 URL Rewrites - Duplicate entry 'myurl' for key 'URL_REWRITE_REQUEST_PATH_STORE_ID'

I am seeing this error when trying to perform a search/replace on the url_rewrites table: UPDATE url_rewrite SET request_path = REPLACE(request_path, '.html/', '/'); SQL Error (1062): Duplicate ...
1
vote
0answers
121 views

”Undefined offset: 4” when reindexing “Search indexer”

After module update I've got such error for indexing via SSH Catalog Search indexer process unknown error: Notice: Undefined offset: 4 in /home/sellastu/public_html/vendor/magento/module-catalog-...
0
votes
0answers
9 views

Magento 2 Display a message in checkout for reorder items?

How Can i write the code for display the message in checkout for reorder items? My Process is: In our Dashboard->My orders-> Click on reorder ,In this process i need display a message in checkout ...
0
votes
0answers
36 views

Uncaught error: Call to undefined method after trying to install a Magento2 module

I recently tried installing a payment gateway module on our Magento 2 site that has the Bicomart theme installed. The steps I followed are as follows: sudo php bin/magento module:enable ...
2
votes
0answers
37 views

Magento2: How can I set to a model in “specificcountry” on config.xml file?

I want to set default values with a model from declared class in system.xml. The result of the model is extracted from the database, from a custom table and the result looks like this: AF,AL,DE,BE,FR ...