Questions tagged [magento2.2.6]

It should be used for questions about Magento 2.2.6

315 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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\...
0
votes
0answers
191 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
352 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
358 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 ...
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" ...
0
votes
1answer
108 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
77 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 ...
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. ...
0
votes
1answer
67 views

Intensity reduce of captcha image overriding in magento 2

I have changed number of lines and dots in native magento 2 captcha in /vendor/magento/zendframework1/library/Zend/Captcha/Image.php. but not impact in captcha
0
votes
0answers
17 views

Can it's possible to set JavaScript variable on <script type=“text/x-magento-init”> tag data in Magento 2

I want to make the changes of spConfig variable by javascript variable. <script type="text/x-magento-init"> { "#product_addtocart_form": { "configurable": { ...
0
votes
1answer
205 views

The form inside the popup failed to submit the data in magento 2

I have created a button in product Detail page. While clicking the button, it will show the popup, the popup contains form. After filled the details in the form , the submit button is not working ...
0
votes
1answer
23 views

I wish to add custom section in product detail page in magento 2

How to add custom button in product page,while clicking that button it needs to show custom form in a popup ?
0
votes
0answers
17 views

While editing the customer in backend throws exception in magento 2

I am trying to edit the customer in backend, while clicking edit it thows the below exception
0
votes
0answers
22 views

How can I change the default store view?

Right now my store view drop down looks like this- All Store Views Main Website --Example Store ----Default Store View It always starts at All Store Views instead of Default Store View. How can I ...
0
votes
0answers
8 views

I am applying tax but it is not working on the site

I am applying tax from store->tax rules adding new tax rules and then adding world wide 15% tax . these are my steps in the form of screenshots . step-1 : http://prntscr.com/ltn34b step-2 : http://...
0
votes
2answers
338 views

The next arrow hidden on the product images in fotorama zoom pages at magento 2.2.6

I need to show the next arrow in all the pages of the product when the product page shown in full screen. Is there any option to enable next arrow in fotoram.js file? I have used magento 2.2.6 version....
0
votes
0answers
45 views

How to prefill shipping details in cart page in Magento 2

I have created one custom button in cart page to save country, state, postal code which is entered by the customer. After entering the country, state, postal code the customer wish to save the the ...
0
votes
0answers
56 views

how to set null value to email column in sales order address table

I want to set the email field in sales order address table to null.But if i give $address->setEmail('')->save(); Its saying that the email is not in correct format.I am able to save the customer ...
0
votes
1answer
64 views

Why default cross sell layout doesn't show anything?

I'm trying to show cross sell on product page anfd I'm using default logic: <block class="Magento\Catalog\Block\Product\ProductList\Crosssell" name="catalog.product.crosssell" template="...
0
votes
2answers
95 views

How to show Cross sell products even if the main product isn't in cart?

I'm using Magento-2.2.6 I am showing cross sell product in product_detailed_info with success. The only problem is that cross sell product are shown only if the "main" product is in cart. How can I ...
0
votes
1answer
149 views

How to move attributes in magento 2.2.x?

I want to move some attributes, but I don’t see any settings for this.
0
votes
1answer
120 views

Form Field is not showing in Admin Panel

I added a custom form field here my code is <field name="bannermobileimage"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> ...
0
votes
0answers
18 views

Can not scroll image in mobile device for product page

I am trying to access my site on mobile. But when I access product page on mobile and touches the image then scroll is not working... But when I scroll by touching the area except for image it is ...
0
votes
0answers
68 views

Magento DHL - Error in parsing request XML:Invalid byte

Trying to Connect DHL with default DHL module in Magento 2.2.6 but getting error for any quote request: <Status> <ActionStatus>Error</ActionStatus> <Condition&...
0
votes
2answers
98 views

Magento 2 - Trying to get the items from the order into the success page

I am trying to pull the products from the order on the success page, but it keeps returning with "0" when I do var_dump. <?php namespace CJ\CJTracking\Block\Checkout; class Success extends \...
0
votes
0answers
18 views

How change const list_product_order to order when sorting product list magento 2

In magento 1 url when sorting is: http://demo.magentocommerce.com/men/shirts.html?dir=asc&order=price But magento 2 when sorting is http://demo.magentocommerce.com/men/shirts.html?product_list_dir=...
0
votes
0answers
65 views

Magento 2: Set table structure in order invoice pdf

I have need to set order invoice PDF in table structure. I have tried in Magento 2 below core files for same but not done. magento\vendor\magento\module-sales\Model\Order\Pdf\Invoice.php ...
0
votes
0answers
27 views

Magento 2 : On clicking swatches, thumbnail images are hiding

On product page, On clicking swatches Size and color. Thumbnail images are hiding.Why is it so happening. I used custom theme. Please help somone.
0
votes
0answers
39 views

Creating a new folder for Images uploading in Magento admin panel

Currently, we are using the version Magento 2.2.6. We would like to create a new folder for the images with the admin panel as per the below image. But the popup for creating a new folder hides ...
0
votes
0answers
68 views

An error will be output when migrating data to Magento 2

Below is the error contents outputted when migrating data from magento 1.9.3.1 to magento 2.2.6. Please tell me how to fix the error. [root@windows magento]# php bin/magento migrate:data vendor/...
0
votes
0answers
30 views

Where can i find the device_name from which the order is placed in magento 2 db?

Need to know the list of the device names appended in the Magento platform and in which table is it rendering from? for example: "device_name": "Smartphone", "device_name": "Desktop"
0
votes
0answers
97 views

Magento 2.2.6 Remove Category Filter From Sidebar Filtered Navigation

I am only looking to remove the "Filter By Category" section. I wish for the other filter options to remain. The pages impacted are the main category catalog pages. I have tried the multiple ...
0
votes
0answers
80 views

Magento 2 youtube product video error on mobile device

My YouTube product videos wont play on mobile devices (except iPad). I'm getting a "Your browser does not currently recognize any of the video formats available" error. I don't believe this is really ...
0
votes
1answer
96 views

Magento 2: Unable to get item_id while event “sales_order_save_after” is trigger

I need the product item id while sales_order_save_after event call. I try the following code. I am not able to get the item_id $order = $observer->getEvent()->getOrder(); foreach($order->...
0
votes
0answers
227 views

Magento Customer Grid Custom attribute can't export csv and export xml

Magento Customer Grid Custom attribute can't export csv and export xml, Showing error, how to add custom attributes to the customer export. PHP Fatal error: Uncaught TypeError: Argument 2 passed ...
0
votes
1answer
491 views

Order confirmation receiving twice in magento2

I am facing same issue in Magento2, After the order gets confirmation we receiving the order confirmation mail twice. We using External plugin JccPaymentGateway , by using that plugin if we do order ...
0
votes
1answer
145 views

How to get and show the best selling products in magento 2

I wish to show best selling products in homepage.Please provide me a solution to get best selling products and display in home page. Thanks
0
votes
0answers
40 views

Changing Price of Product in All Pages instead of Being Full Page Cache in Magento 2

I am used Magento 2 full page cache. So all the data come from Magento 2 Cache. So if I saved the specific page or product only then data will be updated otherwise everyone will show the same data. ...
0
votes
0answers
54 views

Get order id and product id while order placed using Observer | Magento 2

Hi i need to get the order id and product id while order is generated in magento2 <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
0
votes
0answers
36 views

How to get Class names of all the elements while writing LESS?

I want to create a new theme for my magento2 , so that i create all the boilerplate files that are required for theme creation. Now my problem how do i get all the class names for writing the LESS ...
0
votes
0answers
124 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 ...