All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
2 views

Why marketplace.magento.com does not show Magento 1 extensions?

I login to marketplace.magento.com and when I try to download my old purchased (free ones or not) of extensions, all of them goes to 404. I search some extensions for Magento 1.9 and in marketplace I ...
0
votes
1answer
4 views

Magento 2 - Set the maintenance mode with the custom page

I am about to make a server switch for my site https://www.magento2.com from Apache to Nginx and during for this operation i want set up maintenance mode. The server where I want to set up this mode ...
0
votes
0answers
6 views

Magento 2 : Override Magento\Framework\App\Cache\TypeList.php

Is their anyway we can override Override Magento\Framework\App\Cache\TypeList class in module ?
0
votes
1answer
10 views

Magento 2 : Cache types (When to clear which cache)

Here i am talking about magento 2 default cache. I am looking for a clean idea, when to clear which cache. For example if change made to layout file, we can simply execute one php bin/magento c:c ...
0
votes
0answers
5 views

How to add recently products slider in magento2?

0 I am using Magento 2.4.2. I have added recently viewed products widget in the product details page. Here I want to add slider using swiper. But slider is not working for recently viewed products. JS ...
0
votes
1answer
6 views

Product Qty instead Salable Qty

How can i call Product Qty instead Salable Qty in if($product->getTypeId() == 'simple') { $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); ...
0
votes
0answers
8 views

Suddenly Sitemap model stopped working after 4month

I have used the preference to override the Sitemap model. Working fine for 4 months. I have also tried to find other module is overriding the same but didn't get anything. Can somebody help me to find ...
0
votes
0answers
9 views

First session add to cart action empties cart / clears session

I'm running an Nginx sandwiched Varnish backed magento 2.3.6 shop in development mode, set up like: Frontend nginx port 443, varnish port 80, backend nginx port 8080, plus redis for session cache. ...
0
votes
0answers
9 views

How to edit “checkout” and “view cart” in minicart

The minicart of a template I bought doesn't automatically adapt to the iPhone XR's safari browser. The buttons "checkout" and "go to cart" are hidden by the navigation bar of the ...
0
votes
2answers
17 views

404 Not Found after fresh Magento 2.4.2 installation

I have never had any issues with fresh install of magento before 2.4.1. I have a new Linux VM machine (Ubuntu server 18.04). Installed PHP 7.4 , Apache and Mysql from this link Installation of PHP, ...
0
votes
0answers
12 views

Hide link navigation customer account on specific condition

I'm would like to know if it's possible to hide a navigation link of the Customer Account dashboard depending on a condition. For example, I would like to display this block only if customer has a ...
0
votes
2answers
10 views

Custom Category Attribute not rendered in backend Categories Page

i try to add a new category attribute in Magento 2.3.6 and render an input in the category backend. Setup worked, attribute is created. But the category_form.xml seems to be ignored. Maybe someone can ...
0
votes
1answer
14 views

Magento2 configure PHPstorm & xdebug and how to use it

I was using sublime and VScode for the development. Recently I heard that PHPStorm is the best IDE for the Magento2 development and using xdebug you can easily debug the issues and write modules. I ...
1
vote
0answers
37 views

Magento 2 Unit Testing with Helper dependency

I have a Helper class and a Model class, which looks like <?php # File: app/code/MagePsycho/Catalog/Helper/Data.php namespace MagePsycho\Catalog\Helper; use Magento\Framework\App\Helper\...
0
votes
0answers
8 views

Compilation from source: LESS file is empty: order email sent without css and an warning

Getting this error while sending order emails.Compilation from source: LESS file is empty: order email sent without css and an warning
0
votes
0answers
7 views

Check if the number of items is 1 and there is only 1 item left,

Is there any way, when pressing delete product button. Check if the number of items is 1 and there is only 1 item left, the defective item cannot be retrieved and returned. If there are 2 items of the ...
0
votes
1answer
11 views

How to solve Magento 2 with composer 2 version error when sample data install

My application running AWS Bitnami platform. I am trying to upload sample data using composer after commands show warning message below Do you want to store credentials for repo.magento.com in /...
0
votes
0answers
15 views

Page changes don't show

I have a fresh Magento 2 install from DigitalOcean which includes Magento 2.4.2 with sample files and the Luma theme. Now when I edit a page (for example "About us") and change a header for ...
0
votes
1answer
19 views

override javascript from module

I want to override file from module. vendor/mageworx/module-storelocator/view/frontend/web/js/locations-modal.js I create file app/design/frontend/Mgs/claue_child/MageWorx_StoreLocator/web/js/...
0
votes
1answer
12 views

Display customer_note in order confirmation email

I am using this code to display customer_note in order confirmation email: {{var order.getCustomerNote()|escape|nl2br}} But it does not show up in the email. I also checked the value of customer_note ...
0
votes
0answers
13 views

How to fix “Failed to execute 'getRangeAt' on 'Selection': 0 is not a valid index” error of Viewer PDF in magento 2

I want to add in magento a pdf viewer link but when i edit it in viewer.js file line 4023 pdfjsLib = require("../build/pdf.js"); let pdfjsLib; if (typeof window !== "undefined" &...
0
votes
0answers
5 views

On save CMS page or CMS block gives 404 on admin side if content has image src

Facing strange issue while saving CMS page or CMS block on admin side. If Content of the page or block having image tag then on save it gives 404 error: Page not found. <img src="{{media url=&...
0
votes
0answers
16 views

How to display the content on product pages without using tabs?

What's the more elegant way to remove the tabs on the Magento (2.4.2) product page? I'd like to simply show the content without using the tabs.
0
votes
0answers
11 views

Magento 2.4 issue with pricing and custom options

I have a site with custom options with added cost on some products. If you add an item with a custom option to the cart, it shows the right markup. If you add another of the same product to the cart, ...
0
votes
0answers
9 views

Can I rollback backup files from different Magento 2 versions?

I have a store running on Magento version 2.3, and I want to perform a clean installation of the OS. Therefore, I made a backup of Magento's code, media, and database. Can I rollback my store backup ...
0
votes
0answers
5 views

Luma-Icons.woff2 => Ensure text remains visible during webfont load

I'm trying to get rid of this lighthouse warning: Ensure text remains visible during webfont load Leverage the font-display CSS feature to ensure text is user-visible while webfonts are loading. Learn ...
0
votes
1answer
10 views

What does ~ and ^ mean before version number after module name in composer.json?

Sorry for this newbie question: What does ~ and ^ mean before version number after module name in composer.json ? "mageplaza/module-core": "^1.4.1" "sebastian/phpcpd": &...
0
votes
1answer
29 views

How to deal with a category which has over 100K products?

Our site (CE version 2.3.4) is extremely slow on the backend and frontend for a particular category which has over 100K items. What is the best way to split this up so that we can see performance ...
0
votes
0answers
12 views

Store Filter on Category Collection Not Working

Have just noticed that a function is pulling categories from any store. I used the below setStore() method thinking this would limit the scope of categories returned to just the current store however ...
-1
votes
0answers
15 views

Magento2: Can we add range slider on product attribute

In current magento2 provide range slider on product attribute "price". I have requirement range slider on Case Diameter.
0
votes
0answers
16 views

Trying to install Magento 2.3.6 - error Class Magento\GoogleShoppingAds\Model\Cache\Type does not exist

I am trying to run a magento install script (using deployer). The exact same script on exact same git branch works on another machine. This is the error: ✔ Executing task deploy:prepare ✔ Executing ...
2
votes
0answers
19 views

Moving fonts to preload issue in Magento 2

I am using the lighthouse from chrome and I am getting the following: I have 3 fonts from the core of Magento and I would like them to move it in my default_head_blocks.xml with: <head> <...
0
votes
1answer
29 views

Magento 2.4 getting this error. is anyone guide me please

[Report Only] Refused to load the image 'https://www.facebook.com/tr/?id=350606009147220&ev=SubscribedButtonClick&dl=http%3A%2F%2F127.0.0.1%2FCE%2Fsuprememed%2Fsleeve-lymphedema-full-arm-26-75&...
1
vote
0answers
26 views

How can you calculate the prices with 2 decimals, not with 4 decimals?

How can you set in Magento2 that all the calculations you make on orders, invoices, price rules,…, to be done with 2 decimals not with 4 decimals? Attention, I mean the calculation of prices and not ...
0
votes
1answer
30 views

Very Slow Magento 2 in windows subsystem for Linux(WSL )

I have installed Magento 2 inside WSL ubuntu 20 for local development, but the speed is very slow. Cache is enabled and store mode is default. Anyone experiences the same issue. My system ...
0
votes
1answer
17 views

Magento 2 : how to include custom image in email template?

I have made some email templates, i am not much sure where i can add image files & use it in email templates ? Is their is possible way to get it ? Please let me know your thoughts on this. ...
1
vote
0answers
13 views

custom attribute in customer address grid

I am trying to add a column in the customer address grid in admin with a custom attribute. <column name="addresstypes" class="xxx\AddressAttribute\Ui\Component\Listing\Address\...
0
votes
1answer
25 views

Magento 2: Change the “URL Key” and save the category “The value specified in the URL Key field would generate a URL that already exists.”

When change the "URL Key" and save the category then throw the below error. This store Migrate Magento 1.9 to Magento 2.3.5-p1 and used multi store view. Error: The value specified in the ...
0
votes
1answer
22 views

500 internal server error after terminal commands

I have an issue with Magento 2 commands. Every time I do : bin/magento setup:upgrade bin/magento setup:di:compile bin/magento cache:flush bin/magento cache:clean rm pub/static, etc... ... I get 500 ...
0
votes
0answers
13 views

Infinite scroll is loading once all products are loaded

I want to make infinite scroll to load even if not all products are loaded templates for infinite scroll here is the code : <?php if($block->isEnabled()): ?> <div class="...
0
votes
1answer
18 views

Magento 2 How we can logout customer from frontend if customer is disabled from admin?

Login as a customer in front end side. Then disabled customer from admin panel. Go the front end side and refresh the page,it should be logout automatically. Please update me if anyone have solution ...
0
votes
0answers
8 views

Validate the T&C before the paypal popup in magento2

Braintree Paypal Issue - There should be also a validation on the T&Cs for paypal before you go off to paypal not after
0
votes
1answer
14 views

upgrade cloud enterprise edition with specific steps

I want to upgrade cloud enterprise edition from 2.3.2-p2 to 2.4.2 but not getting proper steps so anyone can guide me for same.
0
votes
0answers
12 views

How to use SSA256 hashing algorithm by default instead of Argon2ID13 in Magento 2.3.x?

From the official docs Magento supports multiple algorithms like MD5, SHA256, or Argon 2ID13. If the Sodium extension is installed (installed by default in PHP 7.3), then Argon 2ID13 will be chosen ...
1
vote
1answer
22 views

Magento 2 : How to get category data by category id?

I have product object & i get category ids using $category_id = $product->getCategoryIds(); I need the collection for the category ids which i get in $category_id What will be the best & ...
0
votes
1answer
17 views

Magento2 - I want to show custom quote item field to checkout page

I want to show custom quote item field to Checkout Page. I don't know how would I do that. I've added one custom drop down to Cart page and selected value I saved in quote_item table now I want that ...
1
vote
2answers
25 views

Magento 2.4 installation on local returning elasticsearch error

I have installed elasticsearch on local (xampp) and on http://localhost:9200/ is showing it is running. But when I trying to install magento 2.4 getting elasticsearch error. Magento installation ...
0
votes
2answers
33 views

How can I prevent a product to be added to cart without show any messages?

I'm trying to prevent a product to be added to cart without showing any messages. In order to do that I'm using a beforeAddProduct plugin and it works well but it shows an exception message in order ...
0
votes
0answers
8 views

checkboxset ui element not loading values

I have a custom module in admin with it's own admin page controller and ui-form with a variety of fields. One of these fields I want to be a 'checkboxset'. When I set the formElement value to that it ...
0
votes
0answers
9 views

Add attributes to bundle-product options

How can I display custom product attributes for bundled products options? Products that are used as bundle-option are not fully loaded, so i cant access all/custom attributes. (Right?) E.g. I'd like ...

15 30 50 per page
1
2 3 4 5
2122