Questions tagged [magento2.2.6]

It should be used for questions about Magento 2.2.6

Filter by
Sorted by
Tagged with
0
votes
0answers
30 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 ...
1
vote
0answers
16 views

Email Attachment not working in Magento 2.2.6

I am using Magento version 2.2.6 and trying to send custom email with attachment, but I am getting 500 error. I tried transportbuilder addattachment which is working in Magento 2.3.x and onwards. But ...
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
25 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
136 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
151 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
33 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
362 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
6 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
24 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
110 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
9 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
49 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
43 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
227 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
75 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
884 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
1answer
35 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 ...
1
vote
0answers
105 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
558 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
68 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
1answer
734 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
972 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
249 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
103 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
389 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
153 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
67 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
80 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. ...
1
vote
1answer
559 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
660 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
179 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
71 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
181 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
114 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
25 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
706 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
216 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
300 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
83 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
32 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 ...
0
votes
0answers
16 views

Products dissappeared from bundle options, 2.2.6

We discovered a bundle with 8 options showing as out of stock despite products being in stock. We saved the bundle and it dropped half of the products. The products are simple products and available ...
0
votes
1answer
89 views

How to add last logged in and last order date information to customer grid?

Using Magento ver. 2.2.6, how can I add new columns to customer grid showing the last logged-in activity and Last order date?
0
votes
0answers
46 views

How to reduce the size of logo in print order? Magento2

I have added below code in sales_order_print.xml <body> <referenceBlock name="logo" remove="true" /> <block class="Magento\Theme\Block\Html\Header\Logo" name="print_logo"> ...
1
vote
1answer
86 views

Magento Random Order Status goes back to Processing after marked as Process Printed / Shipped

I have a very strange problem with my Magento 2.2.6. I am using M2E Pro to import orders automatically from Amazon. All the orders will be listed in Orders with Pending Status. Then I would run a ...
3
votes
0answers
229 views

Validation Failed when running bin/magento app:config:import

I have added the following data to my app/etc/config.php file: 'scopes' => [ 'websites' => [ 'admin' => [ 'website_id' => '0', 'code' => 'admin', ...

1
2 3 4 5
11