Questions tagged [magento2.2.6]
It should be used for questions about Magento 2.2.6
513
questions
0
votes
0answers
19 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
22 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
39 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
1answer
87 views
Upgrading Magento 2.2.6 and want to upgrade to Magento 2.4
I am using Magento 2.2.6 Enterprise version and the site is live now.
I want to upgrade my store to the latest version of Magento which is 2.4.1. My store has many customizations in code and theme ...
1
vote
0answers
33 views
Error : upgrade magento 2.2.6 to magento 2.3.0
Error : upgrade magento 2.2.6 to magento 2.3.0
To upgrade the website, I used the following blog
https://www.webcreta.com/how-to-upgrade-magento-2-2-x-to-2-3-0/
But when I run the composer update ...
0
votes
0answers
32 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
195 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
5 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
23 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
85 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
0answers
7 views
LOF Market Place Dashboard error
I use Magento 2 Land of Cooder Market Place. I got a dashboard error https://prnt.sc/u6b8cr
Fatal error: Uncaught Error: Cannot instantiate abstract class Magento\Framework\Model\ResourceModel\...
0
votes
1answer
33 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
30 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 ...
1
vote
2answers
155 views
checkout session reset after creating order $this->_quoteManagement->submit($quote)
I am trying to create order pragmatically using
$quote = $this->_checkoutSession->getQuote();
$this->_checkoutSession->setLastQuoteId($quote->getId())
->...
0
votes
0answers
52 views
Mailchimp abandonded cart not working in Magento 2.2
I have connected the mailchimp account with magneto 2.2 and synced. but abandoned cart emails are not working properly. other automatons are working properly without abandoned cart. please guide.
0
votes
3answers
670 views
Magento 2.2.6 disk space utilization - /var/lib/mysql/ folder is taking 43 gb
Due to some reason my magento 2 website (Magento ver. 2.2.6) taking too much space from the server . Yesterday there is 1.2 gb available now only 240mb available . Please help on this .
Please see ...
0
votes
0answers
13 views
Cannot install PRODSECBUG-2198 for magento2.2.6
I am trying to install PRODSECBUG-2198 to a magento 2.2.6 site. But I am not able to successfully install it.
I have tried this.- PRODSECBUG-2198 - Installation Steps
But "3.Move the patch file to ...
0
votes
0answers
13 views
CSS not loading in M2 Admin panel random pages
I'm using Magento 2.2.6 in one of my projects which is in live. The site is working fine but sometimes the random pages of the admin panel are not loading the CSS file and it looks broken. We didn't ...
0
votes
0answers
8 views
How to update security patch and how to check ther version of the patch applied for magento 2.2.6?
I am using 2.2.6 Enterprise edition. I want to check the current version of security patch that has been already applied. And need to check whether latest patch is available.
0
votes
0answers
15 views
Notice: Undefined property $cookieManager
I'm getting this error in var/report:
Notice: Undefined property: Magento\\Framework\\App\\Http\\Context::$cookieManager in \/home\/mywebsite\/public_html\/vendor\/magento\/framework\/App\/Http\/...
0
votes
1answer
28 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
28 views
Magento2 is there any setting for user-agent rule for cms page
for example I am using theme A for entire site, but using theme B for Homepage cms, now I want to apply theme c for homepage cms alone not site wide.
I know I can use user-agent rule which will be ...
0
votes
0answers
36 views
Magento2 - customer address book in admin section
Autofill Region name in existing address when we are adding new
address in customer address book section
I am using Magento2.2.6, in that Magento, If any Customer have many existing address in ...
0
votes
0answers
50 views
How to exclude all JS in a custom theme?
I want to include my own js or include only a few js in require.js, but need to exclude all js files / css files being loaded default by Magneto or any module.
It is explained here:
https://devdocs....
1
vote
0answers
96 views
Remove Magento default js in custom theme
In custom theme which I want to apply to some page, I don't want to include magento default Js.
Based on this docs - https://devdocs.magento.com/guides/v2.3/frontend-dev-guide/layouts/xml-manage.html#...
0
votes
1answer
1k views
composer update shows lots of packages as abandoned and you should use another package
Package container-interop/container-interop is abandoned, you should avoid using it. Use psr/container instead.
Package oyejorge/less.php is abandoned, you should avoid using it. No replacement was ...
0
votes
0answers
444 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'"
1
vote
1answer
52 views
Fetching Quote Items of Inactive Cart (Abandoned cart)
I am trying to fetch all the items of a Quote.
First i am load the quote using \Magento\Quote\Api\CartRepositoryInterface
with get() method i am getting Magento\Quote\Api\Data\CartInterface
using ...
0
votes
0answers
610 views
Notice: Undefined index: PK_CMS_PAGE in \vendor\magento\framework\EntityManager\EntityMetadata.php on line 96
I shifted my site from server to local. But it shows an error like this:
Notice: Undefined index: PK_CMS_PAGE in
\vendor\magento\framework\EntityManager\EntityMetadata.php on line 96
can ...
1
vote
1answer
790 views
How to overrite cart subtotal price in order summary block magento2
can any one know that i want to update the price of the checkout page order summary Cart subtotal line.
how can i do that ?
knowckout file is render is
subtotal.html :
<tr class="totals">
...
0
votes
1answer
203 views
Magento 2 How to update a record in quote item option table
I have add a custom column in a quote_item_option table, Now I want to update a record based on a quote item id and I use bellow code :
public function __construct(
\Magento\Checkout\Model\...
0
votes
2answers
91 views
Magento 2 cant override the minicart.html file using html
I am going to override the minicart.html file using knockout for my custom code as below at the default file location is :
/var/www/html/magento226/pub/static/frontend/Magento/luma/en_US/...
0
votes
2answers
270 views
magento2-how to use javascript inside knockout in magento2
i want to use the
<script type="text/javascript">
require([
'jquery'
], function(jQuery) {
jQuery('input[name="telephone"]').keydown(function(event) {
...
0
votes
2answers
136 views
magento2 input type number accept “E”
Hello I'm facing the issue, when I change the input type text to number then it will allow the small and capital E latter rest of all letter will not able to type from keyboard but how can we prevent ...
0
votes
1answer
36 views
Magento 2.2.6 - Custom modue setup version for module is not specified
I try with this but my local system is working fine but the same module when I upgrade in live site then is not working it gives the exception please let me know what I have to do?
Please see below ...
1
vote
0answers
61 views
Send custom pdf in attachment in email in magento2.2.6
How to add PDF as attachment in magento 2.2.6 ?
I have created code using an event "checkout_onepage_controller_success_action" to sends an email after place an order button click.
1) When ...
1
vote
0answers
58 views
How to add custom pagination in default toolbar magento 2?
I have custom pagination for my custom product collection. I am using Magento's default toolbar on my custom product list page. I want to add my custom pagination in Magento's default product toolbar. ...
0
votes
1answer
444 views
Error while updating ece-tools version - Magento 2.2.6
I am using magento2.2.6 cloud version and while updating ece-tools version and push changes to cloud environment it is displaying below error.
W: Package container-interop/container-interop is ...
2
votes
0answers
539 views
Magento2 : Custom Sales Rule condition and validation
I am using this article to create custom condition in cart rule where I want to add the stock qty including other product attributes in rule condition.
For example
if product_attribute1 = Adidas and ...
0
votes
0answers
164 views
Magento2 : How to validate cart rule using plugin?
I was trying to validate the cart rule using plugin, but not able to do this, here I am explaining my approach in form of code files, please let me know how to do this.
app\code\Vendor\Module\Plugin\...
0
votes
1answer
61 views
Can we use virtualType in programmatically in layererd navigation filter?
Just wanted to know, how can we use virtualType programmatically in magento 2 custom script file ?
Actually I am building api for layered navigation and I am getting following error.
Fatal error: ...
2
votes
2answers
140 views
Magento 2: how to hide ''price' of custom option in products
how to hide ''price' of custom option in products
Magento version is : 2.2.6
1
vote
2answers
109 views
Unable to run commans in magento 2
I have tried to disable Magento_CatalogSearch in config.php.
After edited config.php, While trying to run commands throws the following error.
"Source class
"\Magento\CatalogSearch\Model\...
0
votes
0answers
24 views
Magento2 : Configurable products are not updating in cart
I have configurable product in my store and I am using magento2.2.6.
When I edit the product from cart page and Mini Cart, it not update the product, it added the new product in the cart, Some time ...
1
vote
1answer
551 views
Magento2 : How to remove delete item button from cart page?
I want to remove delete item button from cart page.
I am using below xml code to remove this but not working:-
Path:
app/design/frontend/vendor/theme/Magento_Checkout/layout/...
0
votes
1answer
192 views
Magento2.2.6 How to redirect url after pass parameter?
I have using Magento2.2.6 I have tried to add URL rewrites into Magento 2 using the Marketing -> Url Rewrite tool.
The old URLs for the store look like this:
group.asp?group=320
http://XXXXXXX/...
0
votes
1answer
273 views
Error 400 and error 503 by /customer/section/load/? and ?sections=messages
I have upgraded my stage site from Magento 2.2.9 to 2.3.3, but now it's getting long loading time by the
/customer/section/load/?sections=gtm&force_new_section_timestamp=false&_=...
and
...
1
vote
0answers
81 views
How to set the value of checkbox in gift_message to the database
I have added a custom checkbox to my magneto cart page for gift message. I want to add value 1 to the gift_message table's "remove_tag" column (which i added) if the checkbox is checked.
How can i ...
0
votes
1answer
31 views
upgrade magento community edition to latest version
Today we receive an email from Magento company pointing that customers with magento commerce 2.2.x must upgrade their product version from 2.2.x to 2.3 because there will not be supported no longer. ...
1
vote
0answers
1k views
Magento 2 product import not working showing error
Maximum error count has been reached or system error is occurred!
Following Error(s) has been occurred during importing process:
Only the first 100 errors are shown.
General system exception ...