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
3k views

Warning: Use of undefined constant MCRYPT_RIJNDAEL_256 - assumed 'MCRYPT_RIJNDAEL_256'

I have setup magento 2.2.6 website on local system. PHP Version 7.2.12 installed on the local system. When I have run url on local system then getting error: [2018-12-12 06:51:27] main.CRITICAL: ...
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
1
vote
2answers
287 views

Magento2.2.6 Admin Session Timeout Not Working

Something is wrong with the admin session timeout in Magento2.2.6. I have everything set to 1 day however it's all ignored. I get logged out if I'm inactive for 15 minutes. I have vendor/magento/...
1
vote
0answers
27 views

why images showing 404 when used inspect with .jpg.tmp

Randomly some product images are showing error only when i click inspect. Error details : Failed to load resource: the server responded with a status of 404 (Not Found). See image below. i ...
3
votes
0answers
123 views

Upgrading from 2.2.6 to 2.2.7

I just don't get this damn error and it's driving me crazy. Problem 1 - The requested package magento/product-enterprise-edition 2.2.7 exists as magento/product-enterprise-edition[2.2.6] but ...
2
votes
0answers
24 views

Add external JS tracking script to tracking/popup.phtml

I want to insert an external js to popup tracking page to get shipping information provided by an API service. I need to pass the shipping number (that is yet in the popup tracking) to this js... ...
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
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 ...
3
votes
1answer
27 views

Magento2 REST API and mode

Magento2 has three different modes but official documents don't talk about how does Magento 2.2.6 REST APIs' behaves in these three different modes?
1
vote
1answer
212 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 ...
2
votes
0answers
34 views

When I upload products with images using csv on magento 2.2.6. The error is showing

Imported resource (image) could not be downloaded from external resource due to timeout or access permissions. and error_log showing Stack trace: #0 /home/mindbsoul/public_html/staging/vendor/...
0
votes
0answers
50 views

Product Price Not Showing in Admin Edit Product

Magento 2.2.6. Product Price attribute is not showing on the product edit page. The price attribute is in the attribute set. Attribute set is Migration_Default. But even if I create a new product ...
1
vote
0answers
72 views

Xdebug don't stop in the breakpoints

I try to debug my magento2 project with xdebug php 7.1 and nginx. I have differents breakpoints in app/code/Extension/Module and doesn't stop in any one. Just stop if I have the option "Break at the ...
0
votes
1answer
30 views

How to create customize the email templates in magento 2

I wish to add custom email templates for the following Welcome store email Password reset email Order confirmation email If I created, email template from backend, But how do I call ...
1
vote
1answer
2k views

How to add New payment method (credit card) in magento 2

I wish to add new payment method for credit cards. How do I add Credit card as a new payment method in magento 2. Please Provide me a solution to customize payment methods
3
votes
4answers
700 views

Magento 2.2.6 How to add TAB structure in admin UI component form

I am trying to create a TAB in admin UI component form in my custom module, TAB is showing but page is loading continuously, please see attached screen-shoot. Here is my code. Namespace/...
1
vote
1answer
234 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 ...
0
votes
3answers
318 views

Magento 2 not sending any emails

I'm having an issue with magento not sending any emails. I've already tested some solutions and it's not worked. I'm using a SMTP extension and Magento 2.2.6: https://github.com/mageplaza/magento-2-...
3
votes
1answer
22 views

Is there a standard way to make add a config on theme scope?

To solve a problem in an FOSS extension I need to introduce a configuration settings with the scope "theme". Is there a standard way do to such? I was thinking about extended in the theme.xml but ...
1
vote
2answers
44 views

Getting Error while calling a block `$_product->$_call()`

Fatal error: Uncaught Error: Method name must be a string in D:\xampp-7.1.23\htdocs\indiahicks\app\design\frontend\Mgs\ethan\Magento_Catalog\templates\product\view\form.phtml:19 <?php $...
3
votes
0answers
59 views

Multiple currency not working with custom price quote - Magento 2

I created quote with custom price from Magento admin, it works fine but it does not work multiple currency. e.g) I created quote to customer with custom price $10 (USD currency), when customer checks ...
2
votes
3answers
11k views

magento 2.2.6 to 2.3 upgrade fails with composer

I tried to upgrade my 2.2.6 Magento install with composer following the tutorial on Magento Website, but "composer update" fails with these errors : Your requirements could not be resolved to an ...
2
votes
0answers
25 views

Apply product offer when subtotal grater or equal 1000 only for specific date

I want to add new product offer when cart subtotal >= 1000 This offer valid only for every month between day 1 to 7 (1-m-yyyy to 7-m-yyyy). Therefore i used below event - <event name="...
1
vote
0answers
16 views

When we migrated to Magento 2 we found that we were unable to edit configrable products price from Admin

When we migrated to Magento 2 we found that we were unable to edit configrable products from Admin. I want to be able to change the price. Please tell me how to fix it.
1
vote
0answers
45 views

How to show product custom attribute value on sales order view page under magento admin

How to show product custom attribute value on sales order view page under magento 2.2.6 admin.
1
vote
0answers
27 views

When I try to generate Fedex shipping label using magento version 2.2.6. The error is showing “Customs Clearance Detail is required.”

If I try to change file Carrier.php add 'CommercialInvoice' => ['Purpose' => "SOLD"], the error is showing like [08-Feb-2019 12:20:39 UTC] PHP Fatal error: Namespace declaration statement has to be ...
1
vote
1answer
16 views

Invalid template file within custom template

I am trying to work out why related products arent being displayed on my frontend, and when I check the logs I am presented with the below. Any help would be great. Thanks [2019-02-14 13:56:02] main....
2
votes
0answers
37 views

Mocked shared instance incomplete on second identical integration test

I'm writing an integration test on a plugin that changes the action of an existing form. The plugin calls a helper method that decides whether the url should be changed and returns the result. I ...
0
votes
1answer
73 views

How to override DatePicker of cart price rule and add time within it in, Magento 2.2.6

I want to save it in date field no another field and not a new item https://i.stack.imgur.com/0icp0.jpg Example of the outcome I am looking for
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->...
0
votes
0answers
49 views

Magento 2.2.6 - uploading PNG image displays warning

While uploading PNG image, it throws an error and the error log says "Warning: file_get_contents(): stream does not support seeking in /var/www/html/RootFolder/vendor/magento/framework/Image/...
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....
3
votes
1answer
63 views

How to add Preference for Magento/Framework files?

I am using curl and it is working fine in local..but returning Invalid response line returned from server: HTTP/2 200 in live server. I referred this link How to add preference or plugin to ...
0
votes
1answer
34 views

my 2.2.6 magento checkout page do not display firstname,postcode,and telephone input field

My current version is magento 2.2.6 and i am facing a strange issue. My checkout page do not display firstname,postcode,and telephone input field on checkout page. whenever i try to place order ...
1
vote
2answers
44 views

How to set cron job periodically in magento?

I have below cron job code. Currently, it is running for every 30 minutes. <job name="customer_details" instance="my_file_name" method="my_method"> <schedule>*/30 * * * *</schedule&...
0
votes
1answer
31 views

When hit the home page url, it shows contact us page as home page

I am facing a very unusual scenario for my web site. (https://zitomer.com) When we try to access homepage https://zitomer.com it displays contact us page as a homepage. What will be the issue? I am ...
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
2answers
175 views

Error while calling an API through ajax

I have added a code inside the script tag for an on-change function. But i am m getting error like this Server cannot understand Content-Type HTTP header media type application/x-www-form-...
0
votes
1answer
116 views

Magento v2.2.6: Proceed to Checkout displays a login popup even after logged in

A login popup window is displayed after clicking "Proceed to Checkout" button from cart instead of redirecting to checkout page.
2
votes
1answer
151 views

how to add a free product in Cart automatically when any other product added in cart in Magento 2

Add a free item in the cart. For example when anyone adds X product in the cart then Y automatic added if remove X then Y automatic remove. for doing this task I made an observer and an events.xml ...
1
vote
1answer
188 views

What is the use of Magento 2.2.6 product image cache?

I have some points regarding the Product Image Cache to discuss with you. I have created a product from the Magento admin panel. After creating the product, I have uploaded two of the product ...
0
votes
0answers
128 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 ...
0
votes
1answer
16 views

Why observer->getEvent() gives the option to bring orders ids?

I don't understand why Magento gives the option to bring orders id's instead of just the recently order id, I'm developing a module and using this on the checkout_onepage_controller_success_action ...
0
votes
0answers
65 views

Not able to translate shipping method name

Magento 2.6 Enterprise Edition I am not able to translate the Shipping method names for different languages. It is coming from admin. If I change the Shipping method name for french or german it's ...
0
votes
1answer
25 views

Magento Search System Issue

I`m having a strange issue with catalog searching. Performing this simple search returns 35 products : catalogsearch/result/index/?q=bac However, when I refine it by category, I still receive the ...
0
votes
2answers
77 views

overriding Authentication popup is notworking

I am very new to magento 2 I have already extended module_customer where authentication-popup.html is located in that module only, as I want to extend only html file so I used app\design\frontend\Sm\...
1
vote
1answer
20 views

Deploying code via GitHub

Due to the security reasons, we want to deploy the changes in code with GitHub. I can see that we can only change the code via GitHub. Is it possible to change the admin configuration as well via ...
0
votes
1answer
86 views

Solve warning “User Agent Exception override product and CMS pages rules”

I'm Trying to create a dynamic grid containing multiple fields using this code in my ui_component <fieldset name="multi_answer"> <settings> <collapsible>true</collapsible>...
0
votes
1answer
8 views

What would prevent me from being able to upload images on migrated products?

I recently did a product migration to Magento 2. If I create a new product I can upload pictures. If a product has images I can upload images. We do a nightly sync with our erp and if a product was ...
0
votes
1answer
203 views

Show Order Comments on Invoice

I'm trying to get the order comment history to show on the invoice PDF. My set up is as follows: di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...