The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [magento2.2.6]

It should be used for questions about Magento 2.2.6

Filter by
Sorted by
Tagged with
0
votes
1answer
68 views

How to confirm that the reindex is working or not?

We have added a new product in one of the categories on our site using the Magento admin panel. But the added product is not visible in the frontend. We have set the reindex mode to Update on save ...
2
votes
2answers
352 views

Swatches disappearing

In the table eav_attribute_option_swatch (the one that holds the swatch options for the attributes) I have about 6k records. Some are color codes, others are paths to images and most of them are null (...
0
votes
1answer
35 views

Set Link On Admin Menu Grid values in Magento 2

I want to add link in Custom Menu Grid values, so for achieving this I add a class in my layout file and in the class file i do this following <?php namespace Feedback\Addon\Ui\Component\Listing\...
0
votes
1answer
405 views

How Magento generates Product Images Cache?

We have uploaded the product images via Magento 2 admin-panel for our client site. For checking purpose, we have downloaded the image (which we have uploaded) from the front-end of the site. Upon ...
0
votes
1answer
35 views

Memory issues when upgrading from 2.2.6 to 2.3

I am trying to upgrade from 2.2.6 to 2.3, but the updater doens't even start. I get this message in the log: PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 20480 ...
0
votes
0answers
99 views

Details Tab Missing

We are using Magento 2.2.6 and Porto theme 3.1.6. The issue is we can't see the product details tab which comes native from Magento. We have searched throughout the configuration of Magento and the ...
0
votes
1answer
43 views

Magento 2 Error

can anyone tell me what am I doing wrong with this code <?php namespace Feedback\Addon\Controller\Index; use Magento\Framework\App\Action\Context; use Feedback\Addon\Model\InsertFactory; class ...
0
votes
0answers
10 views

Send custom Email to Customer after submitting Form in Magento 2

I want to send a custom email to the customer just after submitting a Feedback Form. For Submitting the form I created a Controller Action here is my action file use Magento\Framework\App\Action\...
2
votes
3answers
644 views

Add module Enable/disable functionality in Magento 2

I want to add Enable/disable functionality in my custom module by which the module can be enabled or disable directly form admin-panel for just selecting. I want to add something like this in my ...
0
votes
0answers
5 views

Programatically change all product names to the short description

I would like to modify the way Magento loads the product names and change it to load the short_description instead. We use the API to synchronize between an ERP and the Magento itself, so once the ...
0
votes
0answers
33 views

How do I add a custom attribute in amount/default.phtml?

I need to add in a couple of statements using some custom attributes for the Pricing. I am trying to figure out how to allow this to work. Right now I have this: <?php $helper = $this->...
1
vote
0answers
79 views

Magento 2.2.6: Programatically updating product custom options

I am working on custom script to update product custom options. $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $_product = $objectManager->create('Magento\Catalog\Api\...
0
votes
1answer
70 views

override wysiwyg_images.files

I try to override Magento_Cms::browser/content/files.phtml but when i test , the block is dont display , and i dont know why i have the next extructure <Vendor>_<Module> ├── <Stuff&...
1
vote
0answers
70 views

How to Save Front-end Feedback Form Data in database table Magento 2

I want to save form data in a table, I searched a lot of stuff but unable to do it here i created a form in form.phtml file <form > <label for="fname">First Name</label> &...
1
vote
0answers
419 views

Getting “DDL statements are not allowed in transactions ” error when re-index programmatically in magento 2.2.X

I am working on Magento 2.2.6. As per requirement I need to do re-index on sales_order_save_after event. It is working well in Magento 2.1.X but I am getting following error on Magento 2.2.X. ...
0
votes
1answer
26 views

Magento 2.2.6 Installation

I'm trying to install magento 2.2.6 on my local server but i'm facing permission issues. How to set read write permissions to generated folder in windows7 with command line. Thank you.
0
votes
0answers
17 views

CSS & navbar edits for a Magento noob - ver. 2.2.6

I need to make a few simple changes to an existing Magento site, and although I have some wordpress experience, my Magento is currently 0. It's using a theme called Smartwave Porto, and the changes ...
4
votes
0answers
32 views

How to hold an order right after the payment was received

We have orders that have to be approved by another party after ordering and receiving the payment. So I want to set it onHold after payment and unHold it via an API call I have to implement as well. ...
1
vote
0answers
395 views

Send Tracking information email to customer when tracking number saved to Magento

Is there a way for Magento2 to send tracking information email to the customer when tracking information is saved? Currently, we are using 3rd party tool ecomdash to process the order and shipment, ...
0
votes
0answers
15 views

Product image size reduces in Front end

When I have checked the product image size in the frontend, I have noticed that the size of the image has been reduced. For example, I have uploaded an image with the size 200 KB but when I download ...
2
votes
2answers
138 views

Can't upload product images on Magento 2 Xampp

I cannot upload product images on Magento 2 in Xampp. When I try to upload the product image, it gives me an error. Please see the following image: I have also tried it again but the same error ...
3
votes
1answer
352 views

Unable to unserialize value? On customer edit?

While Editing The Customer, I'm Getting This Message. How Can I Solve This.? I found there was an issue with this method in vendor/magento/framework/Serialize/Serializer/Json.php public function ...
0
votes
1answer
205 views

Error when upgrading from 2.2.6 to 2.2.7

I'm trying to upgrade 2.2.6 When I run the web setup wizard I get this response. Check Component Dependency We found conflicting component dependencies. Command "update" failed: Loading composer ...
0
votes
0answers
59 views

How tax calculation works in magento 2

I wish to know, How magento calculates the tax step by step, which files are responsible to calculate tax based on product price. Please help to get clear understanding about tax. I have referred the ...
0
votes
1answer
289 views

How to Fix the error on saving category in magento 2

I need to show products of the sub categories in parent category page. To achieve this, i tried setting anchor option in display settings tab of category edit page at backend to Yes. But i get the ...
0
votes
1answer
56 views

How to add text field in contact form by admin extension in Magento 2.2.6

I need to add field in contact form using admin extension when admin add his custom field it automatically add in contact form at frontend contact-us form if anybody know the logic behind how to add ...
0
votes
1answer
114 views

in magento 2 (2.2.6) email template css not working

How to integrate css in email template? I tried and got this error: CSS inlining error: DOMXPath::query(): Invalid expression in selector 100% in E:\xampp\htdocs\newmetal\vendor\pelago\emogrifier\...
3
votes
2answers
172 views

Change Discount Label in PDF Invoice in magento 2

In Magento-2 I generate PDF invoice and successfully edit the layout of PDF. There is one More thing to change the label of Discount Current Label is Discount(Coupon Code) want change in Discount(...
0
votes
0answers
194 views

Magento 2 goes down with 100 concurrent users

Magento 2 goes down with 100 concurrent users and i am using 2 server(load balancing) with 32 GB RAM, 16 core CPU and 6 GB php memory. what should i do for 1000 concurrent user. Please suggest me ...
0
votes
2answers
360 views

How to create customer custom attribute for radio buttons, checkbox in magento 2

I wish to create customer custom attributes with following types: 1.radio buttons 2.checkbox 3.dropdowns Please provide me a solution to create customer custom attribute.
0
votes
1answer
28 views

System role “Magento_Braintree::get_client_token” not found - Magento 2.2.6

Below URL throws the permission issue https://host/admin/braintree/payment/getClientToken/key/c21228d08eaede792c0256b56e18c861d90c4598adae24e63f6fcc8ea8325e0d/?isAjax=true Sorry, you need ...
0
votes
0answers
37 views

Magento 2 csv import for product, category multi-store multi-site url_rewrite issue

Suppose We have more than one store and are uploading new products belonging to new categories through following import file. https://imgur.com/a/Psfga3H Categories and Products are created without ...
0
votes
0answers
30 views

Improving server response times for magento 2.2.6

Is there a list of which apache 2.2.4 modules are necessary for the smooth running of magento 2.2.6? I am trying to improve server response times and would like to disable unnecesary apache modules ...
0
votes
0answers
169 views

Amasty Product Labels on Magento 2 issue with claue theme

I have added Amasty product labels on Claue theme with Magento 2.2.6 store. The labels are working fine but they aren't showing on homepage products. Claue uses a custom module to display products on ...
0
votes
0answers
31 views

After moving product description overview above price , review tab gets removed

After moving product description overview above price, review tab gets removed on product detail page in magento 2.2 . I am moving the description overview with <move element="product.info....
0
votes
0answers
93 views

Can we believe the Google Pagespeed insight results?

I have checked the speed of our Magento site on Google pagespeed insight and see that its showing inconsistent pagespeed scores. For better understanding, please see the below images I have read ...
0
votes
0answers
13 views

Tax is failed to calculate

I have added tax rules to my site,but the tax is not calculated , even it is not showing in the cart page while entering shipping details. I have created tax rules at backend . But since it is not ...
0
votes
0answers
360 views

Magento2 : Why I'm redirect to Empty Cart After Checkout?

I am running Magento 2.2.6. I noticed my analytics data seemed off so I went in and checked and I am only receiving about 50% of my transactions. I can see the transaction id so I have compared the ...
6
votes
1answer
243 views

Magento 2 : How to reload minicart from Plugin?

I've written plugin for Magento\Checkout\Controller\Cart::Delete Plugin works great and removed my desirable product from cart. As much as I know Minicart is render with local storage. So that we ...
0
votes
0answers
38 views

Error while adding conditional widget

I am using Magento 2.2.6 while I try to add a widget with conditions like this. I have only one condition is special price > 1 {{widget type="Magento\CatalogWidget\Block\Product\ProductsList" ...
2
votes
1answer
146 views

Overriding Block class causes constructor err in magento 2

I want override a block class, for this I have made entry in di.xml using preference and created a respective file on my custom module block/Rewrite/Product/ListProduct. My file is calling but now ...
0
votes
1answer
109 views

Add custom shipping carrier validations not working. Any body faced the same?

We just followed the same steps at https://devdocs.magento.com/guides/v2.2/howdoi/checkout/checkout_carrier.html Still the validation not works properly. Magento CE 2.2.6 having any core issue ...
0
votes
2answers
495 views

How to display order summary sidebar in shipping step of checkout page in magento 2?

I have referred the link Magento2 : Show summery total on checkout page and made changes in abstract-total.js and shipping.js. Now order summary is displayed and shipping amount updates correctly ...
1
vote
2answers
610 views

How to improve Google Pagespeed score for Mobile

We have built a site using Magento 2.2.x version. While we check the Pagespeed of our site in Google Pagespeed insight, we have noticed that the page-speed in mobile showing low score but the page-...
0
votes
2answers
78 views

How to customize checkout page in magento 2?

Is it possible to sort the order of email field at the top of the page after lastname field in shipping form? Is there any way to bring remove login part in checkout page and bring email field after ...
0
votes
1answer
76 views

CSS Merging (or) Minify is not working properly

We have installed some of the third party plugins on our Magento site. We have enabled minify CSS, JS for better performance. But while looking source code, we have seen that the minification has ...
1
vote
2answers
152 views

Magento Twitter Bootstrap 4 composer conflict

When I try and install Magento via composer I'm running into some kind of conflict with twitter bootstrap. If I remove the bootstrap dependency("twbs/bootstrap": "4.1.0") everything install correctly. ...
0
votes
1answer
28 views

Product page not displayed correctly

We are new in Magento, version 2.2.6. Today we noticed our product listing page have errors, there are some css code, also the entire layout is wrong, I have well attached a picture to this. Please ...
0
votes
0answers
21 views

How can I call JS-file on any page? Magento 2.2.6

I have a custom JS file. But when I try to call it - it doesn't work. I use that code on content -> pages -> my_page: <script src="My_site/file.js"></script> It's just an image-slider. ...
1
vote
0answers
318 views

Magento 2 Custom payment methods not display in backend new order create?

I created a custom payment method and it is displaying in checkout page (frontend).But this payment method is not displayed in admin side also when i create a new order. Anyone can help on this ? My ...