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

General questions about the Magento 2.2.x versions

0
votes
0answers
10 views

Add extra fee on selecting payment method and update order total and checkout summary magento 2

I am creating a payment method which makes ajax call to external API to get "Transaction Fee" on checkout page. I want to add that "Transaction Fee" to order total and update checkout summary on the ...
0
votes
0answers
9 views

getting error when upgrading from Magento 2.1.5 to Magento 2.2.6

I want to upgrade my website with the latest version. I am using below commands: composer require magento/product-community-edition 2.2.6 --no-update composer update I am getting below error:...
0
votes
0answers
12 views

Why customer got logged out when saving customer info on Login Plugin/Interceptor?

I'm experiencing a problem when using Magento\Customer\Api\CustomerRepositoryInterface to save customer group. Here is my code in app/code/Vendor/Module/etc/di.xml: <?xml version="1.0" encoding="...
0
votes
1answer
26 views

Magento 2.2.6: i want to add form on banner

I want search form in banner so, how to add form in banner in home page in magento 2.2.6
1
vote
1answer
17 views

Magento 2 - Allow only to post product reviews by customer who purchased that particular product

I do not want the customers/guest to let post reviews who did not make a purchase of that product. for guest users I disable - "Allow guest to write reviews" for customers/logged in users - how to ...
0
votes
1answer
21 views

Block filter is output to category page

A block filter is output only for a specific category page. I do not know the cause. Is there something wrong with the following templates? app/design/frontend/vendor/theme/Magento_LayeredNavigation/...
0
votes
0answers
19 views

Category Dropdown in ui component

I want to create a parent category dropdown. And also add New Category button like product view page . How to do that..... Thanks.
0
votes
1answer
11 views

Element 'css': This element is not expected. in Magento 2.2.5 (upgraded from Magento 2.1.9)

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. I have upgraded from magento 2.1.9 ...
0
votes
1answer
17 views

How to add new field in product attribute options in Magento 2

I want to add custom field for attribute options in Magento 2 how can I do?
0
votes
0answers
10 views

Is it possible to add icon for multiselect product attribute options in Magento 2?

I have a requirement to upload icon or image for an option of multiselect options in magento 2. Or any other way to do this? For example: I have a multiselect product attribute: KeyFeature And ...
0
votes
0answers
9 views

Magento 2 InsertListing, display records based on ID parameter

I'm trying to insert listing into an edit page, however I'm willing to display only the records based on the ID parameter. Example: I have edit QA category page, I'm willing to insert listing of only ...
1
vote
0answers
14 views

How to update success/error message using PLUGIN in Magento 2?

I have already checked this link and found it working, but in this thread, the observer is used to change the success/error message. I want to know whether it is possible to change/update success/...
0
votes
0answers
6 views

Magento 2.2.5 Currency differs at shopping cart page

The currencies at the shopping cart differs (dollars for the price and subtotal, but euros for the cart summary). Fir the checkout it is the same case when looking at the shipping costs. How can it be ...
0
votes
0answers
8 views

Magento 2: Added custom data after add to cart and save to as order details

I have custom input in product view after adding to cart it will display it to cart page and save it to order when you place order.
0
votes
2answers
31 views

adding a video to home page banner

I am trying to add a video on banner of my home page but the video doesn't appear, it shows a message no video with supported format. I uploaded a mp4 format and mov format but it shows the same ...
1
vote
1answer
30 views

Magento 2: Add success message with Identifier

In Magento Message Collection /vendor/magento/framework/Message/Collection.php. There are two method to get and delete message by Identifier, getMessageByIdentifier and deleteMessageByIdentifier. ...
0
votes
0answers
26 views

How to display color and size in magento 2

I am using magento 2.2. I've both color and size attribute and I want to display on frontend I tried and colors are showing in left side:
0
votes
0answers
12 views

Magento2 Create 302 redirect for disabled products

I have a magento 2 site version 2.2.4 . When I enter URL of disabled products it throws an error and for SEO purpose I need to create a 302 redirect to category page. Currently I use ...
0
votes
1answer
18 views

Proper path to place template overrides and translations for Mageplaza Blog extension

I recently installed Magento 2 Blog extension FREE and I want to adjust templates to suite my theme and add some translation strings. I know that template overrides should be placed in: app/design/...
-1
votes
0answers
13 views

Warning: require(C:\xampp\htdocs\Magento\vendor\composer/../symfony/polyfill-mbstring/bootstrap.php) [on hold]

Warning: require(C:\xampp\htdocs\Magento\vendor\composer/../symfony/polyfill-mbstring/bootstrap.php): failed to open stream: No such file or directory in C:\xampp\htdocs\Magento\vendor\composer\...
0
votes
0answers
8 views

Is the cookie “store” needed in Magento Admin? And what does it do?

For a very special case I need to know if the "store" cookie is used in Magento Admin, and why. I noticed it is set in Magento\Store\Model\Plugin\StoreCookie::beforeDispatch(), for both frontend and ...
0
votes
1answer
22 views

Magento 2 attribute backend_type static vs varchar

Is Magento attribute value saved in database table static and varchar identical? when and why to use static backend_type instead of varchar?
0
votes
0answers
22 views

Default values are not rendering on Wishlist product edit page

Default values are not rendering on wishlist product edit page Steps to generate the issue: Navigate to any configurable product page on the frontend. Select the dropdown options and add the product ...
0
votes
2answers
36 views

After installing a module, I can't login to my back-end

I can get to the login page, but as I am trying to login, I am getting this error: Fatal error: Uncaught Error: Call to a member function getNext() on null in /home/geekcoreco/public_html/generated/...
0
votes
1answer
12 views

[Magento2.2.6]What is the purpose of tables which have tmp/replica/idx as a postfix?

I'm trying to insert queries in order to add products to our Magento website. I have no idea about these tables i mentioned at title like catalog_category_product_index_replica, ...
1
vote
1answer
20 views

Magento 2: How do you move Catalog/CMS changes to production?

The magento 2.2 documentation, in its Pipeline Deployment Overview , states the following (brackets & emphasis mine): [the production system is] Your live store. You should make minimal ...
0
votes
0answers
25 views

Magento 2 order REST Api append Custom Attribute

I want to get Custom Attribute value which is already saved in database table, i just want to append it to my Sales order REST APi, i have tried adding extension attribute , i am able to get set and ...
0
votes
1answer
26 views

No such entity with customerId

I get this error when trying to register an account : No such entity with customerId = 13818 I think it might be some old custom attribute that is the root of the problem. How can I clean the ...
0
votes
1answer
20 views

Magento2 : Protected function override with di:compile issue

I want to override block protected function _prepareLayout() function from \Magento\Sales\Block\Adminhtml\Order\View\History I have created di.xml file for same <preference for="Magento\Sales\...
0
votes
1answer
25 views

Install Magento 2 in Linux Mint

I installed WordPress in my Linux Mint successfully. I used sudo chmod 777 -R /var/www/html/wordpress/corewordpress I am trying to install Magento2 same way but I can't. Why it is happening ?
0
votes
1answer
9 views

How to link to a filter result page?

Is this possible to link a image to magento 2.2 filter result page, the page is such as you filter price amount (100$ - 500$), I just want to link a image to this filter result page, is this possible?
1
vote
0answers
12 views

Magento 2 import adds info but the import process doesn't end

it's basically what the title says, and I'm only facing this issue when adding prices to products via csv import. I've already checked memory_limit, post_max_size values and they are good, because I ...
0
votes
1answer
39 views

Operation not permitted

I am trying to install a Magento 2 in Linux Mint 19. I am facing issue in file permission.
1
vote
1answer
32 views

get translated string Magento 2

In Magento1 we can get translated string by _getTranslatedString() from app/code/core/Mage/Core/Model/Translate.php but in Magento2 there is not such methods. Is there any alternative method ...
0
votes
1answer
20 views

Dropdown in admin form

I have created some category using admin ui-component form and displayed in ui-component grid. Also i want created a drop down field(Field name: Parent category) in this form which contains already ...
0
votes
0answers
24 views

Magento 2: How to Hide Out of Stock Product from a specific category?

Is there any way to Hide Out of Stock Product from a specific category in Magento 2.2 Programatically by overriding the classes of Magento Category? Can anybody help me on this issue?
1
vote
0answers
23 views

Use CMS blocks inside product attributes

I want to use CMS blocks inside product attributes, eg in description and short description. inside product description I've added {{block id="test1"}}. i have two observer ...
2
votes
0answers
24 views

How to create a parent category dropdown in admin form in magento2.2

I want to create a drop-down field in admin UI-component form in magento2.(for getting parent category/post) How to do that How to do that Thanks
0
votes
0answers
15 views

Magento 2 how to have product Advanced Inventory as store level

How to set product Advanced Inventory as store level. I need this store level for each product I have two stored one is retail and wholesale, How can I set quantity increment only with wholesale So ...
1
vote
1answer
24 views

Why are the admin labels showing curly braces?

I have my development environment that is showing the labels in a very strange way after I've runned composer update. I see many of the labels with the curly braces around... Something like this: {{{...
1
vote
0answers
17 views

how to edit existing terms and conditions

After adding term & condition in magento 2.2.6, I can't find the edit or delete option. Tried to clear cahe, reindex, deploy static but noting working.
0
votes
0answers
6 views

I want create myprice option same as advance price options and myprice option will also content same tier price options in admin panel magento2

I want create custom price myprices option same as advance price options and myprice option will also content same tier price options is there any way to add custom myprice options same as advance ...
0
votes
0answers
14 views

State/Province conditions not working on any of my rules

Any time I include a state/province condition on any cart rule the condition is totally ignored. Every other conditions is taken into account and working accept the state/province conditions. Can ...
0
votes
0answers
22 views

How to override Add to cart functionality in Magento 2.2

How to override Add to cart functionality in Magento 2.2 using custom extension?
0
votes
0answers
20 views

Magento 2.2 - Layer navigation with custom product collection not working

I want custom product collection with layer navigation in custom page. I have checked many links already and followed with below link, Layered navigation for custom collection on custom page - ...
0
votes
1answer
22 views

magento2: how to set link to specific tab in product?

My product page has 3 tabs (Details, More information, Reviews). When you go to the product page the Details tab is initially open. I'd like to be able to link directly to second tab (More ...
0
votes
0answers
14 views

Magento 2: How can I change the product name and details in a configurable product with dropdown selectors?

Basically, I would like to get the functionality of: Magento 2 - How to change Product Name dynamically in configurable product view page - accepted answer, which provides dynamically changing details ...
1
vote
2answers
17 views

Magento2 : Facing proble with call custom jquery function in Backend

I have to call custom jquery function into Magento backend (sales > Order > View) I have created custom js in adminhtml/web/js/order_status_validation.js require(['jquery'], function(jQuery){ jQuery(...
1
vote
0answers
20 views

Injecting and calling custom knockout component in another component

I am using 2 components for multi-select and select input fields. Multiselect component - define([ 'underscore', 'uiRegistry', 'Magento_Ui/js/form/element/multiselect', 'Magento_Ui/...
0
votes
1answer
43 views

About the Magento 2 Multivendor Extension

I want to get the profile of the vendor who created the product on the product detail page. I think it would be nice if I could get all my profiles. Please let me know how I can get a profile.