Questions tagged [magento2.2.6]

It should be used for questions about Magento 2.2.6

260 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
1answer
710 views

How to move product.price.render.bundle.customization from bundle.summary to product.info.price in Magento 2

Magento 2 bundle product has a set of simple products. If you click each simple product's checkbox, its bundle product's price is re-calculated and displayed in bundle.summary block. I want to move it ...
1
vote
1answer
530 views

Mini Cart Not Working in Mobile view in magento 2

For Mobile view, I have added the items in the cart, the mini cart icon shows the product count correctly, But it will fail to trigger the minicart-wrapper class which means while clicking the cart ...
1
vote
2answers
505 views

How to hide the column entries in admin grid?

I have a column called goods. I can enter the number inside that column and save. After save I don't want to show the entry in the grid. It should be empty. I want to show only the column name as ...
1
vote
1answer
810 views

Magento 2 : Change Language Code

I'm facing issues while update language code for website. <!doctype html> <html lang="en"> I want to change it with en-GB. I've already locale setup with default configurations. Any ...
1
vote
0answers
189 views

Magento2.2 How to get userContext into ScopeConfig

It's more a core logic issue than a technical issue! I created one new table for admin_user: admin_user_config_data |config_id|user_id|path|value And, like in core_config_data, in this new table ...
1
vote
2answers
44 views

Magento2 on upgrade not generating static assets

I made a copy of a website for upgrade from 2.2.1 to 2.2.6, but I think there is some small issue, which I am not able to figure out. The static contents in the pub static folder are not getting ...
1
vote
0answers
533 views

set custom shipping amount programmatically in Magento2

I am trying to set the custom shipping amount to quote or order without shipping method. Main thing is that shipping amount have to be stored in the database. Please help me for the same .. My ...
1
vote
0answers
44 views

How to fix install blog extension last step error?

How to fix install blog extension last step error? please check this screenshot. http://prntscr.com/li3e5p i'm facing many errors on this server(platform.cloudways.com).
1
vote
0answers
24 views

Magento ver. 2.2.6 - Custom Checkout Step by customer group

I have to add a new custom checkout step which only should appear by a specific customer group.
1
vote
0answers
82 views

Extend a default JS component or Use Mixin

Which is better and recommended to use Extend a default js component as explained at https://devdocs.magento.com/guides/v2.1/javascript-dev-guide/javascript/custom_js.html#extend_js or to use Mixins ...
1
vote
0answers
94 views

How to enable a custom shipping method for API in Magento 2?

We have created a custom shipping method in magento2, It's being added to the JSON response when we fetch the order data as well. But we are not able to append it in post request JSON of order ...
1
vote
1answer
805 views

Magento 2 - Getting user role

I would like to get the Role of the user logged in. I'm trying to use the \vendor\magento\module-user\Model\User.php class, but all results give me null or empty. I'm trying to use \vendor\magento\...
1
vote
1answer
878 views

Correct way of adding images programmatically?

I have the following problem, right now my program uploads the images and does it good, however when i go to the edit product page, the following are empty or uncheked: Role Alt text Here is the ...
1
vote
1answer
868 views

magento 2.2.6 Indexer:reindex error

I get the following error when running the indexer:reindex command for Magento 2.2.6 SQLSTATE[42S02]: Base table or view not found: 1146 Table 'DB.catalog_category_product_index_store1_replica' doesn'...
1
vote
1answer
1k views

Getting error Call to a member function dispatch() on null in Block

This is the proper way of outputting something Fatal error: Uncaught Error: Call to a member function dispatch() on null in /opt/lampp/htdocs/learnm3/vendor/magento/framework/Model/ResourceModel/Db/...
1
vote
1answer
189 views

Not able to edit search engine robots from admin

I am trying to edit search engine robots from content and theme configuration but no option to edit. I am trying to enable the same section for my theme. I am using v2.2.6 Is there any backend ...
1
vote
0answers
27 views

When I add product from backend I got this

I am using Magento 2.2.6 When I add product from backend I got page like shown in below image. Is it any known issue in Magento 2.2.6 or any cache related issue?
1
vote
0answers
26 views

Replace instant purchase message with popup (2.2)

I'm using a custom theme I wrote that derives from magento-blank and was wondering how I might go about replacing the instant purchase message at the top with a popup. Currently, on a mobile device, ...
1
vote
1answer
339 views

Magento 2 Backend - Click on the admin user and an error will be output

If you click on the administrator user, an error will be output. Please tell me the solution. Below is the error code. 1 exception(s): Exception #0 (Exception): Warning: Illegal offset type in /var/...
1
vote
1answer
262 views

How to add a video as background for all pages in Magento 2?

I am trying to add a video as the background for the Magento frontend. Is it possible to do it? Or would gif be a better idea, despite bigger size?
1
vote
0answers
299 views

Special characters in attribute options

When I am trying to add a special character "&" in a custom product attribute option. The characters after it are cut off, & included. It does not work if you enter it as an HTML entity "&"...
1
vote
0answers
145 views

how to remove setup page magento 2

I'm using 2.2.6, How to remove setup page magento 2 when installed after like http://xxxx.com/setup/index.php/session/unlogin thank you!
1
vote
0answers
218 views

Validate shipping address on place order button click in one page checkout

Actually I want to validate shipping address form fields when I click on place order button, currently, it validates only email field. I used this free one-page checkout extension Does anyone have ...
1
vote
0answers
450 views

How do I set simple product name instead of configurable into cart,checkout Order summary , mini-cart and also order and email in Magento2?

I already used this answer but this answer is just half answer to my question- How do I get simple product name of configurable into checkout Order summary? I need to get the simple product name of ...
1
vote
2answers
98 views

customize a theme in magento 2.2.6

I am trying to customize a theme in Magento but it does not work. I added my own stylesheet instead of the old one print.css and changed the default-head-blocks.xml and deployed setup Magento and ...
1
vote
0answers
263 views

Magento 2.2.6, Configurable Products: Blank Image-Area after deselecting "visual swatch" on product-page

Preconditions 1. Update from Magento 2.2.4 to 2.2.6 Steps to reproduce 1. Add Product in the Backend 2. Create Configurations 4. Use Attributes with the input type "Visual Swatch" 3. Save Product 4....
1
vote
0answers
18 views

i have figured out some weird js minification issue

i have turned on the developer mode and did merge and minify javascript . then setup:di:compile and cache:flush the page is not looking ok but js is minifed and merged as well , when i run setup:...
1
vote
0answers
223 views

Home Page - displaying the wrong one

I've gone around and around with this issue and moved no further. Just setting up a new store and if I go to https://wisevape.co.uk I get on page (not one that I can seem to edit) but if I go to https:...
1
vote
0answers
78 views

category links are giving 404 error

My category links comming from mega-menu extension is not working (giving 404 error) . I have tried almost everything suggested on magento stack exchange or any other site used for question answers , ...
1
vote
1answer
2k views

How to get product parent category id and category id separatly in magento 2.2.6 using product ID?

Problem definition: I have product under below category: Beauty --> Sun --> my-some-product-name. where 'Beauty' is root category and 'Sun' is the subcategory of 'Beauty'. Currently, I am ...
1
vote
0answers
68 views

Create Custom Shipping Method with Live Rates Magento 2

I have to integrate one shipping method with Magento 2 site. For this I am following below link to create custom shipping method, but it's for static rate. https://magenticians.com/create-magento-2-...
1
vote
1answer
26 views

Remove is not allowed error as described in var logs

Following error in var/log/system file or it is appearing in main site . I have seen these files even in vendor also but issue is still there . I have removed var/cache , var/generated , var/...
1
vote
0answers
597 views

PayPal - Enable In-Context Checkout Experience - What are these?

I had never enabled the PayPal Checkout Experience before, but thought I would give it a try. Looking at the network, I saw some strange things happening. It looks like PayPal is logging everything. ...
1
vote
0answers
432 views

Magento 2 Collect Total In Payment Step

I am facing an issue and not able to figure it out if its a magento bug. I have added an additional fee created a module for it and its working fine every where. The only issue occurs If I come in ...
1
vote
0answers
388 views

Disable search Input field hide/show functionality of Magento 2

I have to remove default search input hide/show functionality of magento 2. currently in responsive view when we click on search Icon search input field is displaying. when we click on label of focus ...
0
votes
0answers
16 views

Magento 2 : Getting Error while upgrade magento from 2.2.6 to latest version 2.4.3

I am try to upgrade magento version from 2.2.6 to 2.4.3 using composer method. When try to that, I face following error which attached in screenshot: https://i.imgur.com/wGoTAFn.png, please help..
0
votes
0answers
5 views

Magento 2.2.6 Linux OEL 7.9 compatibility

We are presently running a Magento store in Linux x86-64 OS(Version 7.1). We are planning to upgrade the Linux OS version to 7.9, we need to confirm whether Magento 2.2.6 will support the latest ...
0
votes
0answers
83 views

SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails when i upgrade mage

How can I resolve Foreign Key constraint 'SQLSTATE[23000]: Integrity constraint violation: When I have tried to upgrade the Magento version from 2.2.6 to 2.3.4 and run php bin/magento setup:upgrade ...
0
votes
0answers
31 views

How to change the validation message in one page checkout - Magento 2.2

I Added some validation using a plugin to checkout shipping section telephone number field. Validation works fine like the below image. How can I change the message "Please enter less or equal ...
0
votes
0answers
38 views

How to disable COD payment method based on product attribute?

I want to hide COD payment method based on the Product attribute. I tried payment_method_is_active event method to disable using observer like below. My observer file is here public function execute( ...
0
votes
1answer
561 views

Upgrading from 2.2.5 to 2.2.6: Fatal error: Interface 'Laminas\ServiceManager\AbstractFactoryInterface' not found

Im trying to upgrade a Magento 2 site from 2.2.2 to the latest 2.3. I've got up to 2.2.5 so far without issues. When moving from 2.2.5 to 2.2.6 I am getting a fatal error when running php bin/magento ...
0
votes
0answers
39 views

Magento 2.2.6 CMS homepage content goes here

I am getting CMS homepage content goes here. content on the front page as well as on the admin panel with no images and any other content, how to resolve this issue. Run below commands also sudo find ...
0
votes
1answer
687 views

I am getting "You are not authorized to view this page" error while checking out to Cybersource payment gateway in Magento 2

I am using Magento 2.2.6 Enterprise edition. In that when a user checkout to order an item, the system is throwing the error (403 Forbidden) "You are not authorized to view this page. The ...
0
votes
0answers
7 views

Magento search not retuning search result when the word - "the" and "in" is included in search string

I just noticed an issue with Magento2.2.6 that when I try to search with strings like girl in beach or beyond the world I am getting - Your search returned no results. even when the product with the ...
0
votes
1answer
26 views

Payments Standard success error in magento 2.2.6

Payments Standard payment success error in magento 2.2.6 1 exception(s): Exception #0 (Magento\Framework\Exception\InputException): Id required Exception #0 (Magento\Framework\Exception\...
0
votes
1answer
141 views

temando module-shipping-m2 error

Disable the temando module-shipping-m2 then i got error magento 2.2.6 -bash-4.2$ /opt/plesk/php/7.1/bin/php bin/magento setup:di:compile Compilation was started. Proxies code generation... 0/7 ...
0
votes
1answer
59 views

magento 2 product align alphabetical order in pdf invoice

how we can arrange product alphabetically order in PDF invoice if any extension please suggest me or code please share it
0
votes
0answers
80 views

Magento 2 JS issue

on my Magento 2 I use Porto latest theme version. Sometimes language and currency drops dont work. I must always restart page to fix. I got following JS error Uncaught SyntaxError: Unexpected end ...
0
votes
1answer
36 views

Magento2 emojone script included in magento

In my Magento2 - I noticed that it is downloading a script emojione.min.js from https://cdn.jsdelivr.net/emojione/2.2.7/lib/js/emojione.min.js. is it a default magento script? I also tried to find ...
0
votes
0answers
574 views

Magento 2.2.6 : How to solve this error " Validate class not found from basename 'Magento\Framework\Validator\EmailAddress' "

How to solve this error ? "Validate class not found from basename 'Magento\Framework\Validator\EmailAddress'"