Questions tagged [magento2.2.2]

It should be used for questions about Magento 2.2.2

Filter by
Sorted by
Tagged with
1
vote
1answer
51 views

Set opened state to inactive for bundle items tab in product edit page magento 2

How can I set opened state to inactive for bundle items tab in product edit page Magento 2 so that the tab is loaded only on click, not on page load. For more information: https://stackoverflow.com/...
1
vote
0answers
167 views

How to create admin form using UI component in 2-column layout with tab in magento 2?

I have created a form using UI component and added tab in the form. I used the reference from /vendor/magento/module-customer/view/base/ui_component/customer_form.xml. I can see the tabs in left but ...
1
vote
0answers
26 views

Admin grid in magento2

How to set date format for ui component grid and how to set the default '--' symbol for date. Thanks.
1
vote
2answers
234 views

Magento 2.2.6 Change 'From' field of magento contact form email to the sender

Currently, when customer submit a contact form through our website, the "sent from" email address we received is our support@example.com. I would like to change the "send from" email address to be the ...
1
vote
3answers
111 views

Magento 2: Product Custom Tab with Attribute WYSWYG shows broken image

I am running Magento CE 2.2.2 and I need to create another TAB in the product information page near the details and review tabs. I created a new Attribute, named it "Tab". In the attribute, options ...
1
vote
1answer
87 views

Magento 2: How can I do an integration with magento 2 and sap business one?

i want to create a integration with magento 2 and SAP B1, I created a web application in magento 2 I gave it a name and I gave it permission to API and it was saved then create a new role, assign the ...
1
vote
1answer
231 views

Magento 2 Message Manager not working in custom module Front end Controller

My controller without try catch: class View extends Action { protected $resultPageFactory; protected $productRepository; protected $_messageManager; public function __construct( ...
1
vote
0answers
39 views

How to display shipping and billing forms at same time on checkout page? [duplicate]

So I need for my shipping and billing form on checkout to display both at the same time. Right now only the shipping address is being shown and the billing address has a checkmark where it says "my ...
1
vote
0answers
134 views

Magento 2 Error - Failed to load resource: the server responded with a status of 403 (Forbidden)

I am overriding magento configurable.js to my theme and adding some function.i am getting an error of 403 forbidden url.any one can you please help me to short it out. _specifictionContent:function (...
1
vote
2answers
128 views

How to use some function in configurable.js in custom phtml in magento 2

I want to use the _getSimpleProductId function of configurable.js in my custom phtml file. What i want to achieve is get the product id according to the customer select the configurable options. I ...
1
vote
1answer
28 views

Minify js in magento2

I have added script in phtml file for faq (cms page). <script> require([ 'jquery', ], function ($) { $(".faqs-question").click(function () {console....
1
vote
0answers
29 views

Upgrade from 2.2.2 to 2.2.5

how can I upgrade my Magento 2.2.2, when composer is not available? Upgrade in backand also not possible. PHP Limit. It is a hosting provider and I have no composer or backend update. Only SSH, FTP ...
1
vote
0answers
117 views

Edit Data is not coming selected with Ui component grid

We have created one grid with UI component for our custom module. Add New, Delete and Mass delete functionality is working fine. I have also added Edit data functionality. I can get the data while ...
1
vote
1answer
139 views

How to override Email Header and Footer through module in Magento 2

I want to override magento email template file. app/design/frontend/Vendor/themename/Magento_Email/email/header.html app/design/frontend/Vendor/themename/Magento_Email/email/footer.html
1
vote
0answers
237 views

Special characters are not working to get option id of an attribute in Magento 2

I am using Magento 2 for my eCommerce website.I am trying to get option id from option text(i.e. D & G).Somehow I am getting option id for normal option text (i.e. Sample) but when it comes to ...
1
vote
0answers
82 views

Reviews Grid Listing, Reviews Edit Form and Reviews New Form are not showing in admin Magento2.2.2

After logged in admin I can't see reviews listing. Also in product edit page in admin review listing not showing. Any one know what is the solution? Log File Showing Error Below [2018-07-24 ...
1
vote
2answers
506 views

Customizable options not showing in cart or order

Magento 2.2.2, when an item is added to the cart, any customizable options selected when adding a product to the cart are not displayed in the cart or order. In testing, I have found that the Sku ...
1
vote
0answers
66 views

Undefined index: sequence-2 - Magento 2.2.2 EE

I can't place the order, some of the specific bundle products, it throws the below error. [2018-07-19 11:52:58] report.CRITICAL: Report ID: webapi-5b507b9a64391; Message: Notice: Undefined index: ...
1
vote
0answers
117 views

Magento2.2 - Send event to Google Analytics in a .phtml file

I have tried to send an event in .phtml file using <script>ga('send', 'event', { eventCategory: '...', eventAction: '...', eventLabel: '...' });</script> But Browser Console ...
1
vote
0answers
176 views

Magento 2 Some products don't show price on frontend due to the product is not Salable?

Some of my products don't show prices on frontend. And when I diagnose the issue, I found this file, vendor/magento/module-catalog/Pricing/Render/FinalPriceBox.php And if I commented out the line 68,...
1
vote
0answers
122 views

Placeholder image not resized in Backend in magento 2

I have uploaded place holder images in backend, while I am trying to edit the configurable product in backend. Under configuration section It displays the place holder image at larger size for each ...
1
vote
1answer
155 views

Magento 2.2.5 How to display item prices out of stock

Even if Magento 2.2.5 Configrable Product is out of stock, I want to display the item price. How can I see the price?
1
vote
0answers
21 views

Magento 2: How to set minimum amount option by default in product detail page for configurable options?

I want to auto select the lowest price options in product details page for configurable product in magento 2. Tried to set the value using Jquery in product detail page.its not worked out. Willing ...
1
vote
1answer
622 views

Magento 2 get catalog rule product details in final_price.phtml

I will try keep simple and short. e.g I have set a rule in catalogrule table and I am interested in 2 fields value: simple_action: by_percent discount_amount: 40.0000 and in catalogrule_product ...
1
vote
0answers
26 views

How to custom fields add while fetch V1/invoices API in magento2?

I have tried to add custom fields but I am not able to add it. I have already extended "magento-sales" default module also routes set but not able to add some fields like "billing_address". Thanks, ...
1
vote
1answer
107 views

Magento 2.2.2 - Web setup wizard stuck on Rollback

My website is stuck on rollback, how do I disable this? Does anyone have any solution?
1
vote
0answers
240 views

Magento 2 Pre populate checkout Shipping Address guest form

I've created a component to pre populate checkout Shipping Address form after document is loaded. I've enter the city,postcode and country on the front end and first name and last name within quote....
1
vote
0answers
77 views

Wishlist for guest in cart page not working shows “The requested cart item doesn\'t exist.'” in magento 2

I have added wishlist icon on cart page, If customer clicks the icon , it works fine and moved the product to the wishlist. If the guest tries to click wishlist icon, I have triggered login popup, ...
1
vote
0answers
201 views

Magento 2: Facing Error -> Uncaught TypeError: data.some is not a function

I am using magento version 2.2.2. From yesterday I suddenly started getting error when I try to add a new product. Spinner continue to move on this page but having this error on console. Uncaught ...
1
vote
0answers
19 views

Magento 2.2.2 Differet Store Category page was give 404 error

Magento 2.2.2 website Category Page Give 404 Error into Different Store , Into Default Store it is worked Fine . I have Reindex Many time and also i have cleared Cache Many Times But No any kind of ...
1
vote
0answers
26 views

Colour swatch switching back to default randomly [Mage2]

For the past 2 days I've been monitoring my configurable products to see if there is an issue and not to my surprise, I see there is. Basically, I set up a test product with a colour, and checked ...
1
vote
0answers
341 views

Magento 2 how to refresh/reload shipping-method-item.html

I would like to reload the shipping methods information on a click of button for example. When the country change it does an ajax to http://magento2/rest/default/V1/guest-carts/...
1
vote
2answers
895 views

Magento 2 : Multiple shipping address for every items of an order

Currently, I am using Magento 2.2 version I need customize the checkout page for add multiple shipping addresses like I want to separate shipping address for every item of an order. Exp. I have added ...
1
vote
0answers
879 views

Magento 2 reindex gives error Duplicate entry

I am experiencing an issue which not sure why when I try to reindex it gives the error: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '4458-142-1-1293-4458' for key 'PRIMARY',...
1
vote
1answer
347 views

Fetch website specific category URL based on store id in custom module

I am working on fetching category URL for stores which are part of two different websites on a multiwebsite setup i.e abc.com and abc.co.uk, Issue happens when I fetch URL for abc.co.uk it returns me ...
1
vote
0answers
253 views

How to save configurable product with its attributes in magento 2

I wish to save product with its attributes. I have tried below code,It works fine while saving simple products. but if i gave configurable product sku in my csv file, then it shows an error as ...
1
vote
0answers
493 views

Magento2: Product page is very slow (compared to other page types on the website) [closed]

I'm working on speed optimization for a Magento 2 website. So far we did a lot of things, including: Enabling all the related built-in stuff (merged/bundled js/csc/html, cache, flat tables, etc...). ...
1
vote
0answers
58 views

Magento 2 - passing variable output to another variable in email template

I'm working on order confirmation email and I want to pass variable output: {{var order.getMyCustomItem().getSomething('key')}} To another variable. In my case it's an order model: {{var order....
1
vote
0answers
57 views

How do I edit KO template in magento 2

I wish to edit /var/www/html/xxx/vendor/magento/module-checkout/view/frontend/web/template/payment-methods/list.html Exactly in below line, Because which is the responsible file to render the ...
1
vote
1answer
77 views

which mode is to be set on live the website after development in magento?

which mode is to be set on live the website after development in magento..? I'm a newbie to magento, I had read about modes on magento docs website. but i'm not still clear with it. Anyone tell about ...
1
vote
1answer
21 views

I am getting this error when i try to access menu

I have Install Magento 2.2 on my local server. but when I try to access URL it gives me this error
1
vote
0answers
270 views

How to turn off browser auto-fill Magento2

I'm looking to turn off browser autofill feature on checkout, the solution is added autocomplete="false" in the form tag. e.g) <form autocomplete="false"> In Magento 2 using UI components, I ...
1
vote
0answers
228 views

Magento 2 SOAP API Question

I am using Postman to test send data to different websites e.g I have 2 websites each has its own domain e.g onoe website one store and one store view per domain. e.g 1- http://test.com have: ...
1
vote
0answers
179 views

Magento 2 - creating a Custom Attribute of type Boolean and assigning its default value to all the existing products in the DB

I have created a custom Attribute for the Product which if type Boolean and set the default value as Yes. When I try to fetch the newly created attribute through Rest API I am not able to get the ...
1
vote
0answers
28 views

How to add new div section in ko template(Checkoutpage payment section) in magento 2

I wish to add one div section on the checkout page(payment section) to add a custom message. How do I add it in below KO template Magento/SalesRule/view/frontend/web/template/payment/discount.html. ...
1
vote
0answers
207 views

Magento 2.2.2 - The configuration parameter “componentType” is a required for “” component

I have found one error when I try to add product from admin side. I have found some articles which have similar error but they have component name in my error it's not showing component name. The ...
1
vote
1answer
561 views

Magento2.2.2: UI Component Grid Filter Issue

In my custom module, my Grid Records are deleting perfect without applying filter. When i apply filter on grid records and try to delete only filtered records, it not only delete filtered records but ...
1
vote
1answer
759 views

Magento 2.2.2 Store and Admin not loading

OS Windows Server 2008 Magento 2.2.2 XAMPP 3.2.2 PHP 7.1.13 I was working on a local install of Magento 2.2.2 (I installed it when it was 2.2 and then when the 2.2.2 version came it auto-updated ...
1
vote
2answers
900 views

Add template file in admin edit form

I want to add phtml file in Grid\Edit which is contain image or other html part Following Form.php file <?php namespace Vandor\Namespace\Block\Adminhtml\Grid\Edit; use Magento\Backend\Block\...
1
vote
2answers
292 views

Exclude breadcrumbs from cache on product page

I need to exclude a breadcrumbs block from cache on product page. But I can't use cacheable="false" construction because the whole page will be excluded from cache. Also I can't use ...