Questions tagged [magento2.2.4]

Denotes the question related to magento version 2.2.4

Filter by
Sorted by
Tagged with
3
votes
1answer
1k views

Magento2: Show subcategory as a grid with images

I need to display all the sub categories under every category as a grid in relevant pages with linked images. Is there a way to do it ? I am using magento 2.2.4
0
votes
1answer
404 views

Magento 2 : Mass Product add review and ratings using script

In my magento, there are appox. 10K product available. I want to add reviews and ratings in all products. If I do this from admin, It will take lots of time. I want to add this via script or ...
2
votes
0answers
126 views

How to add login/register form as first step in checkout page of Magento 2?

How to add login/register form as first step in checkout page of Magento 2 ?
0
votes
1answer
67 views

Magento 2 Index Contoller on Custom Module

I have added the custom order form on product page. When cutomer enters the details and submit the form then the Order will be created in backend and also confirmation email will send to customer ...
0
votes
1answer
525 views

How to include a non-Magento 2 PHP file in an Observer?

How do we include_once an external (outside of Magento 2 code but on the same web server) PHP file? I added the events.xml and adminuserlogin.php files below, into an already activated and ...
0
votes
1answer
93 views

Wishlist.js calling after span append Magento2

<!-- ko if: wishlist().counter --> <span data-bind="text: wishlist().counter" class="counter qty"></span> <!-- /ko --> The issue I am facing is that in the ...
0
votes
2answers
223 views

How to remove confirm password in magento2?

How to remove confirm password field in Change password Section in magento2.2.5 I have remove confirm password field in edit.phtml
1
vote
0answers
162 views

Magento 2 Index Controller - Display customer, product details on Custom Module

I have created the Custom module and also its Index controller file named Index.php in app/code/Companyname/Modulename/Controller/Index directory. In that Index.php file, I have already added my ...
3
votes
0answers
202 views

Magento 2.2.4 into Change Price Calculation from round to ceil (means if price 0.0001 then it will become 1.00)

I changed price rounding calculation from round to Ceil (PHP function). Its Means if price 0.0001 then it will become 1.00 Now the problem in price calculation. Example:- Product Price = 8249.25 5%...
0
votes
0answers
56 views

Magento 2 - Product displaying takes so much of time

Product displaying takes so much of time in Magento 2. I click on the product it takes so much time to display the product.
0
votes
1answer
367 views

Add to cart takes too much of time in magento2.2.4?

Actually, I tried to add the product to cart but it takes so much of time. I have disabled the cache while i am in the developing this website. How to rectify this time delaying issue?
3
votes
2answers
1k views

How to use Mage::getModel() on Magento 2?

I need to convert my following Mage::getModel() from Magento1 to Magento2 $cart_api = Mage::getModel('checkout/cart_api'); $quoteId = $cart_api->create($storeObject->getStoreId()); $quote = ...
0
votes
1answer
2k views

How to reload shopping cart summary via ajax in Magento 2.2?

I am adding quantity increment/decrement buttons on shopping cart page. How can I reload cart summery (subtotal/shipping rate/grand total/discount/tax section) via ajax ? I have added below code in ...
0
votes
1answer
427 views

Magento 2 Remove SampleData failed

I have installed Magento 2.2.4 with sample data. Now I need to remove all sample data, and I found a solution from Magento DevDoc I used command as suggested, php bin/magento sampledata:remove But ...
1
vote
0answers
74 views

Change the size of the column in product detail page

I am using Magento 2.2.4. I need to change the size of the column for product description under the id="maincontent". I need to make it 70% of the width and align center. I am writing a custom theme ...
1
vote
0answers
58 views

Custom Placeholderimage resize issue in magento 2

I have added custom placeholder image in backend. But it is not resized as thumbnail image while editing the product. expected result In the place of default placeholder, my custom image should be ...
2
votes
0answers
58 views

How to change the search box in Magento 2.2.4?

I tried to move the search box to right and all categories to left. But where can i find the code in Magento 2.2.4 . Please check the above image
1
vote
1answer
297 views

Magento 2 Plugin for Contact Form Post Controller

I have added google recaptcha in my contact form. Also, I have added a contact form on CMS page. I have to validate the captcha when post contact form. I have to create a plugin for this, but not ...
0
votes
1answer
41 views

How to get the product image with custom size?

How to get product image with custom size for api in magento2.2.4 use Magento\Catalog\Helper\ImageFactory; $imageCode = 'upsell_products_list'; $imageHelper = $this->_imageFactory->...
3
votes
1answer
290 views

Unable to Upload Logo in Magento-2.2.4

I am trying to upload Logo through admin panel. When i am trying to save configuration, it is showing an error.
0
votes
1answer
28 views

How to add another description block outside the tabs in product detail page

I am using Magento 2.2.4. I need to add a block for product detail outside from the main 'Details', 'Review' tabs. I need this block to be separated after the main description of the product. I have ...
1
vote
0answers
60 views

Magento 2 shopping Cart section call in cms page

I want to add the cart section on cms page using Admin -> CMS -> Pages -> Select any page on which you want to display block -> Click on design tab from left navigation ->Under Page Layout section ...
0
votes
1answer
44 views

Pass extra class for stock in Swatch Magento2

I want to pass an extra class to swatch class which is formed via swatch renderer js based on the stock. The reason is the swatches are not being hidden if they are out of stock. This is what I am ...
0
votes
1answer
263 views

Contact Post Controller overridden in Custom Module not working

I have override contact form post controller in custom module. It is calling from my module but i am getting error as Fatal error: Uncaught Error: Call to a member function send() private function ...
1
vote
1answer
413 views

How can remove“?___from_store=example” from my URL?

I want to remove this string "?___from_store=example" from my URL and i dont know how. I have two stories with different language and when I press a diferent Store my url converts to https://website....
3
votes
1answer
1k views

Add Captcha to magento 2 contact form on cms page

I have to add captcha on the contact form. It's working on the default contact URL but not working with the contact form on CMS page. <p>{{block class="Magento\Contact\Block\ContactForm" name="...
0
votes
0answers
252 views

Magento2.2.4: The top menu not showing to the product detail page

I'm getting issue with the Top Menu on PDP page: I have upgraded my magento website 2.1.7 to 2.2.4. I got two issues: Breadcrumbs issue ( Breadcrumbs not display on PDP page ) Top menu issue ( Top ...
3
votes
2answers
4k views

How can I remove “As low as” in Magento 2.2.4

Since the upgrade from 2.2.3 to 2.2.4, I got new function next to the price of each product. Which is: As low as. How can I remove it? I can't find and option in Admin panel to switch it off. Any ...
0
votes
1answer
611 views

Magento 2.2.4 Web Setup Wizard blank page

I need your help please... After upgrade from 2.2.3 to 2.2.4 I got blank page when I click on Web Setup Wizard in System>Tools> Web Setup Wizard. It was working before upgrade.
4
votes
2answers
110 views

Magento 2 Plugin Not Extending Model - Finally Solved It

I'm trying to use a plugin from the answer on this question Add additional select attributes to grouped product's child collection I would go back and ask the person who answered but I don't ...
1
vote
1answer
57 views

Memory exhausted error coming while creating catalogrule with category

I have around 50 categories. When I save the catalogrule without selecting the categories it gets saved correctly. But when I save along with selecting the category it display memory exhausted error. ...
1
vote
0answers
54 views

Re-generate watermarked product images

For one of our clients, I want to change the watermark of the images to a better resolution image in Design > Configuration > Product Image Watermarks. My question, because I see no 're-...
0
votes
1answer
211 views

DI Compile fails with “Area code not set” error

I'm trying to use the \Magento\Sales\Model\InvoiceOrder class to invoice some orders. If I include the class in my constructor, however, then I get the "Area code not set: Area code must be set before ...
1
vote
1answer
182 views

Customize price with currency switcher magento 2

Hi I need some customization with price module in magento 2.2.x version. I have setup 2 product currency USD and EUR, default currency is USD if an product have $100 USD and if I will change the price ...
1
vote
3answers
944 views

Add Wysiwyg attribute to category in Magento 2.2.4

I followed this reference Inchoo to add new Wysiwyg attribute to category in Magento 2.2.4. It's working fine. My custom attribute successfully added in the category but it's showing only textarea ...
3
votes
1answer
131 views

How to display swatch on cart page for added products in cart

How to display swatch on cart page for added products in cart. Right now it shows as Text, like Color Blue, but it should show like swatch icon.
1
vote
1answer
83 views

Add more columns and add to basket to the grid in grouped products Magento 2

I'm trying to add more columns, with custom attributes into the frontend product grid in Magento 2.2.4 I've overridden vendor/magento/module-grouped-product/Block/Product/View/Type/grouped.phtml ...
3
votes
1answer
101 views

Magento 2.2.4 unable to get customer session data

Here I am unable to get customer session data ($customerSession) it's working in Magento version 2.2.3 but not working 2.2.4 it return false when cacheable is false. namespace Namespace\...
0
votes
1answer
52 views

Model Factory not calling from Controller

I am creating simple ajax newsletter module, but default controller of magento not going in Model. <?php /** * * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt ...
0
votes
0answers
254 views

Home Page url in sitemap

How to find out the home page url in sitemap generated url.... I have created site map in magento2.2.4. I want to customize homepage url.But that url does not display in sitemap generated url. How ...
1
vote
1answer
245 views

Magento 2.2.4 - Couldn't override block class

I am trying to override the Magento\ConfigurableProduct\Block\Product\View\Type\Configurable class. I have added a preference in app/code/vendor/module/etc/di.xml file. <config xmlns:xsi="http://...
1
vote
1answer
414 views

Amazon pay magento 2.2.4

I have configured amazon pay in my site and it is working fine with both login and payment. The query I have is , Why amazon payment is separated with other payment methods in checkout page? it is ...
1
vote
1answer
550 views

Magento 2.2.4 & 2.2.5 Bug - Cannot update theme bug fix: Not able to override the abstract class AbstractTemplate

I am having trouble to update the theme in Magento 2.2.5 due to the known issue in setForcedAre function of the file Magento\Email\Model\AbstractTemplate.php As per the fixes by Daniel Ruf, updating ...
2
votes
2answers
390 views

Magento2 : Customize the product detail page both in Storefront & Admin panel

I need to edit the existing product detail page by adding more images and description under them. But I need to automate this function from the backend also. Something like adding 1st image and the ...
1
vote
1answer
644 views

Want to show text message for specific shipping method on checkout in magento2

I have a custom shipping method. If I select that custom shipping method, I need to render the custom message below shipping method list. How can I do this?
2
votes
1answer
81 views

Magento2.2.4 : Uninstall a theme throw exceptions?

I have created a theme and then uninstalled it. The storefront or admin view is not using that theme further. But when I restart the server it gives exceptions as follows. How can be fixed this? 1 ...
1
vote
3answers
304 views

Error after add to whistlist Magento 2.2.4

I have installed the Magento 2.2.4 and market place theme pioneer. I have tried to add to wishlist the product but I am getting below error. Fatal error: Uncaught TypeError: Argument 1 passed to ...
0
votes
1answer
487 views

Error importing product csv

I exported product csv, then added prices and tried to re-import them. This is giving me an error. Per someone's suggestion I deleted the products in admin and now I can't add them back. Here is ...
0
votes
1answer
63 views

How to install magento 2.2.4 in server?

I am trying to install Magento 2.2.4 in GoDaddy hosting. Actually, I have a website on Magento-1.9. So, I have created Beta folder and copied all Magento-2.2.4 files into Beta. When i tried to ...
0
votes
1answer
2k views

Magento 2: Uncaught Error: Script error for: smartmenus

I am trying to implement the navigation menu with Bootstrap Smartmenus but the theme does not pick up the javaScript. Can somebody help me out? Vendor/Name/requirejs-config.js var config = { map: {...