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
58 views

Custom Customer attribute grid not filter by asc or dec

I have tried to create custom customer attribute and it is working fine, but i have tried to filter this from grid like asc or dec. it is showing error.I have attached screen shot with it. [2018-11-...
1
vote
1answer
208 views

Magento 2 : Change Language Code

I'm facing issues while update language code for website. <!doctype html> <html lang="en"> I want to change it with en-GB. I've already locale setup with default configurations. Any ...
0
votes
0answers
40 views

Magento 2 main menu didn't display after transfer from server to localhost

My main menu doesn't display on storefront after taking live backup. when i logged in on admin panel my all products and categories shown in products and category pages, but they didn't display on the ...
0
votes
1answer
153 views

How to increase/decrease space in thumbnail images on Product Page (catalog-product-view) Magento

I am trying to increase/decrease spacing of thumbnail images on (Product Detail Page) but didn't get any proper solution. Please let me know if there is any option available in magento 2.
2
votes
2answers
603 views

Exception #0 (Magento\Framework\Exception\LocalizedException): Invalid XML in file /var/www/html/magento/app/code/Bz/Bcs/etc/frontend/routes.xml:

While i create a router in magento 2.2.6 module i face the following error 1 exception(s): Exception #0 (Magento\Framework\Exception\LocalizedException): Invalid XML in file /var/www/html/magento/app/...
1
vote
1answer
329 views

How to display custom customer attributes in Magento admin customer view

I have created customer custom attributes using install data, and I want to display this attributes in the Magento admin customer view/personnel information section, next to customer group, In this ...
0
votes
1answer
44 views

Custom module extension

I am trying to create a custom module in Magento2 2.2.6 but I am facing the following error. Element 'add', attribute 'resource': [facet 'pattern'] The value 'bcode_Bapp::helloworld' is not accepted ...
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
0
votes
3answers
245 views

How to fix error in magento2.2.6?

When we click on stores setting configuration then coming this error? Notice: Undefined index: id in /home/213836.cloudwaysapps.com/ehanwfcbkq/public_html/app/code/Magento/Config/Model/Config/...
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 ...
0
votes
0answers
126 views

Save same address twice in customer address table magento 2

From customer registration page i'm getting address entered by customer. I want to save this address twice in customer address table one for default shipping and one default billing. I'm extending ...
1
vote
1answer
550 views

Magento 2: When use Flat Catalog Product it gives SQL error

When I am changed setting for Flat Catalog Product to Yes, it gives SQL error in magento 2. Stores >> Configuration >> Catalog >> Catalog Is this known bug in magento 2.2.6? I have done re-...
0
votes
1answer
261 views

Magento 2.2.6 not open after unzip and include all the extensions

I am new to the magento development. I am trying to install magento 2.2.6 . My configurations Apache/2.4.18 (Ubuntu) PHP Version 7.0.32 Ubuntu 16.04 mysql 5.7.24 I have downloaded magento 2.2.6 (...
1
vote
0answers
73 views

Magento2.2 How to get userContext into ScopeConfig

It's more a core logic issue than a technical issue! I created one new table for admin_user: admin_user_config_data |config_id|user_id|path|value And, like in core_config_data, in this new table ...
1
vote
2answers
24 views

Magento2 on upgrade not generating static assets

I made a copy of a website for upgrade from 2.2.1 to 2.2.6, but I think there is some small issue, which I am not able to figure out. The static contents in the pub static folder are not getting ...
0
votes
0answers
52 views

Why does an order though Authorize.Net Direct post Method not update sales_order_grid or send e-mail?

I am using the Direct Post Method that is built into Magento 2, and when people order products, the order is properly made and entered into the database, and the products actually get shipped, but the ...
0
votes
1answer
82 views

Magento 2: Trouble shooting setup:di:compile

I am in the process to upgrade in existing 2.2.1 installation to 2.2.6. When I am running setup:di:compile it stops abruptly without throwing any error. Do it log the error somewhere or what is ...
2
votes
2answers
455 views

Magento 2: System Configuration Error

I cannot open my System Configuration in Magento 2.2.6, I have forced it back to Developer mode, error below & all installed modules. I'm starting to pull my hair out. It worked on one system, I ...
0
votes
1answer
379 views

Order Repository save not working

I am trying to associate orders and customer using the following code. $order = $this->orderRepo->get($oid); $order->setCustomerId($newCustomer->getId()); $order->setCustomerIsGuest(0);...
1
vote
0answers
490 views

set custom shipping amount programmatically in Magento2

I am trying to set the custom shipping amount to quote or order without shipping method. Main thing is that shipping amount have to be stored in the database. Please help me for the same .. My ...
0
votes
2answers
62 views

Magento 2: Deploy Production mode with fresh install

I am working with MAGE2.2.6. It is a fresh install. Before I opened magento for the first time. I changed from default to Production mode, in the etc.php file. I also cleared my var/cash and var/...
1
vote
1answer
758 views

How to add recaptcha v2 for multiple forms on single page?

I am trying to configure re captcha for contact us form and newsletter form. Both these form are on one page. Now I have to configure common recaptcha for these two form and when on submit captcha ...
2
votes
1answer
291 views

Why are browsers failing to load some static content?

Using Magento 2.2.6. I just installed a brand new install of 2.2.6 using Apache on OS X High Sierra, and with both Chrome and Firefox, after logging into the admin, the subnavigation does not work, ...
1
vote
2answers
359 views

M2 - Check if product has custom options

On the category page (in list.phtml) I need to check if a product has custom options. What is the best way to do that without abusing the objectmanager?
1
vote
1answer
1k views

Magento 2 Add Custom Sale Order Grid Column and Export in CSV

i added custom columns in Sales Order Grid successfully, but when i export data in CSV file the custom column blanked <?php namespace Vender\Module\Ui\Component\Listing\Column; use \Magento\...
2
votes
1answer
246 views

What are the rest api's for the Magento2 modules

We are working on Magento2.2.6 website. We are planning to build the mobile application. For this, we need the Rest api's for the following : Sort by options api Layer navigation Login with otp api'...
0
votes
1answer
45 views

magento 2 affects of attributes and attribute sets on speed

I am working on new magento 2.2.6 site from stracth and need to design attribute sets and its attribute. I am quite confused about how can we design attributes that won't affect speed of size or ...
0
votes
3answers
40 views

Magento modules

We have installed some of the third party plugins on our Magento site. But, when I check the module status using the below command, It showing many of the modules which start from Magento_xxx that we ...
1
vote
1answer
294 views

Magento 2: Login user programmatically showing wrong default header message “Default welcome msg!” instead of showing “Welcome, user!”

When you login to Magento 2.2.6 programmatically with code below, header show default message "Default welcome msg!" instead of "Welcome, user!" // Load customer session $customerSession = $...
0
votes
1answer
241 views

X-Magento-Cache-Control Header Extra Variables

Has anyone else had the issue with 2.2.6 and Varnish 5, where extra variables are included in the header? My header retruns; X-Magento-Cache-Control: max-age=86400, public, s-maxage=86400, max-...
0
votes
0answers
11 views

Cached Search Terms Showing Up

In the top menu search input, the query a user searches shows up for the next user. This could obviously result in some awkward situations. Has anyone else encountered an issue like this? What are the ...
8
votes
2answers
476 views

Magento 2 Show timepicker using UiComponent

I want to show Timepicker in Ui Component Form. I could able to add the time field by using below code but not able to save value. Can anybody help on it. <field name="start_time"> &...
0
votes
2answers
522 views

Get language switcher in header.phtml file in MAgento 2

I am trying to get language switcher in header.phtml file. I tried this code in header.phtml. it doesnt work in magento 2.2version. Kindly help me to resolve the issue <?php echo $this->...
1
vote
0answers
42 views

How to fix install blog extension last step error?

How to fix install blog extension last step error? please check this screenshot. http://prntscr.com/li3e5p i'm facing many errors on this server(platform.cloudways.com).
0
votes
1answer
282 views

Add („House Number”) field for the orders address datas in Magento 2.2.6

I hope someone can help me :) I would like to add a („House Number”) field for shipping and billing informations in Magento 2. I have successfully created the field, but when I submit a test order, ...
1
vote
0answers
23 views

Magento ver. 2.2.6 - Custom Checkout Step by customer group

I have to add a new custom checkout step which only should appear by a specific customer group.
0
votes
1answer
115 views

How to enable extension in magento 2.2.6?

How to enable extension in magento2.2.6? Please check this screenshot. http://prntscr.com/lho9r8
1
vote
0answers
58 views

Extend a default JS component or Use Mixin

Which is better and recommended to use Extend a default js component as explained at https://devdocs.magento.com/guides/v2.1/javascript-dev-guide/javascript/custom_js.html#extend_js or to use Mixins ...
0
votes
1answer
679 views

Integrity constraint violation:1062 Duplicate entry after product import

I have imported some products into Magento 2.2.6. Everything looks correct in the backend but when I reindex I get this error- SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-...
0
votes
1answer
40 views

Magento 2: Two Prices for the same product

I was wondering does anyone know if Magento 2.2.6 is capable of handling more than one price for each product. The reason I ask is that I buy in most of the items we sell after they have been ordered....
0
votes
2answers
127 views

Magento 2 Redirect shopping cart link on message notification in iframe

I can not redirect to the shopping cart link outside the iframe. It still redirect but it stays in the iframe. magento 2.2.6 when i click shopping cart result : I want it redirect to shopping cart ...
1
vote
0answers
57 views

How to enable a custom shipping method for API in Magento 2?

We have created a custom shipping method in magento2, It's being added to the JSON response when we fetch the order data as well. But we are not able to append it in post request JSON of order ...
0
votes
2answers
640 views

How to remove white background from product images in Magento 2.2.6?

How to remove white background from product images in Magento 2.2.6? Please check this screenshort
0
votes
1answer
47 views

Magento 2: Product name scope

I've successfully migrated a complete magento 1.9 database with 900 products to a 2.2.6 using the data migration tool. Now I wonder how to change the product name scope from global to store view. We ...
0
votes
1answer
62 views

How to get the order status information on Magento2?

Currently we are working on Magento-2.2.6 website and on Porto theme. I want to create one form to get the order details by entering the user email is and order id. For this, we want to create one ...
1
vote
2answers
814 views

Unable to synch with Marketplace after upgrade to 2.2.6

After upgrading to Magento Community 2.2.6 the setup wizard required me to enter my access keys again. Every time I try to add my public and private keys from my Magento Marketplace account the server ...
2
votes
1answer
160 views

Override empty.xml in a custom theme

I'm creating a new theme for a Magento 2.2.6 community edition and I need to wrap all the content inside a CSS class. To do so I had to change <main id="maincontent" class="page-main"> to &...
0
votes
1answer
170 views

How can I change language in param of REST API?

I want to change language in REST API. ex. integration/customer/token for Japanese is "error message = Japanese translation" integration/customer/token for English is "error message = English ...
0
votes
1answer
33 views

How to override or how to edit core files in magento 2.2[basically i need to one more column in My Account->My orders)

Please suggest me how to edit core files in magento 2.2 I need add a one more column in My Account->My orders section [Customers order details].
0
votes
1answer
35 views

“As low as” label still displayed after swatch selected

I have a problem in the category products view. I have configurable products as well, for those the swatches and a "As low as [price]" is displayed initially. Which is exactly what i want. When i ...