Skip to main content

All Questions

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

How to translate Magento validate.js error

I have a website with 2 stores (English and Spanish). Now I need to translate validation messages in Spanish. Like for example: Please enter a valid email address. Please suggest how I can ...
1 vote
1 answer
1k views

Element 'argument': The type definition is abstract

I flow How to add a tab in product details page using Magento 2 admin panel step to add a custom tab and I got this error my file struct catalog_product_view.xml <?xml version="1.0"?> <...
2 votes
1 answer
45 views

load style-m only in sub domain but and in main domain load style-l

I was looking forward to load mobile style like style-m.less only to sub domain Ex in m.domain.com Magento 2 will only load style-m.css or style-m.less, and in domain.com Magento will load only style-...
3 votes
2 answers
2k views

CSS not showing for "NEW" or "SALE" label

So I followed this tutorial to add "NEW" or "SALE" label for this site: http://www.ubertheme.com/docs/add-product-labels/. The label does show up on the product icon but for some reason the CSS isn't ...
3 votes
2 answers
2k views

Magento 2 : How to override translation file module wise?

I need to update translation file only for checkout page , so how can I do that . I don't want to use translation file which is use in theme folder.
0 votes
1 answer
2k views

mage/translation not working magento 2 (translation issue)

I am working on pdp page (mobile view), in drop down i need to show out of stock if qty is out of stock and low stock if qty is low stock, it is working as expected but it is not getting translated to ...
0 votes
3 answers
1k views

how to add fonts path in default_head_blocks.xml file magento 2 custom theme?

Actually i am trying to add fonts path in default_head_blocks.xml file magento 2 custom theme. I added fonts files in app/design/vendor/theme/web/fonts. I am trying to get this path.
3 votes
1 answer
2k views

Translations not working, Magento_Checkout

I'm facing the problems with Finnish translations (Magento ver. 2.1.7). The main pages are translated but all the Magento_Checkout translations are in English. It seems that this is bug in the ...
1 vote
1 answer
2k views

how to change default theme color in magento 1.9?

How can the default theme color be changed in Magento 1.9 i want to change #Theme Color 1 And #Theme color 2 but i can't find how? My admin configuration is :
2 votes
2 answers
4k views

Magento 2 and Client Side Less Compilation

I have stock Magento 2 installed and running with a custom theme that uses the 'blank' theme as its parent. My custom theme is active on my store and it works, I can create my own styles and template ...
0 votes
2 answers
2k views

How to change image background color in Magento 2 via XML?

I want to change the white background color to any other color in Magento 2. How could I do it?
0 votes
2 answers
21 views

on click system configuration open tab not working

on this i faced this issue, on click system configuration open tab but after click other tab magneto admin click not working i can not able click any where enter link description here
0 votes
1 answer
2k views

Magento 2 - Creating a child theme

I purchased a theme for a Magento 2 website. I know want to create a child theme to modify some of the styles, etc. The theme purchased is called Porto and resides in /app/design/frontend/Smartwave/...
2 votes
2 answers
2k views

Magento 2 custom theme based on parent Luma theme necessary files

I created my custom theme based on Magento Luma theme: In /app/design/frontend/MyVendorName/ncs-theme/theme.xml I added <parent>Magento/luma</parent> But when I look at my frontend I see ...
4 votes
6 answers
16k views

Magento 2 : How to install new language pack

I am working on a Magento-2 website which is based on German language. How to install and use new language package for German language in Magento2. Which package is best for German language? Any ...
1 vote
1 answer
2k views

Magento 2 : How to Import Custom Module's Less file in Custom Theme

I am creating custom theme without parent. Now, I want to add custom less file inside Magento_Theme folder. File path : app/design/frontend/VendorName/ThemeName/Magento_Theme/web/css/source/_mycustom....
1 vote
1 answer
5k views

Changing Custom theme color in Magento 2

MY custom theme extends Magento Blank theme.Following this link, http://devdocs.magento.com/guides/v2.0/frontend-dev-guide/css-topics/css-practice.html I added _theme.less in my css/source folder &...
3 votes
2 answers
4k views

Magento 2 child theme: CSS files not included

I want to add some CSS files. So I created a child theme. In Backend the theme is activated. theme.xml <theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="...
8 votes
1 answer
2k views

"Interface Locale" admin language problem

In my admin page, the "Interface Locale" dropdown is not working. I already switched the default language to German, but is still shows English. The same with Chinese. How can I solve this problem?
0 votes
0 answers
82 views

TypeError: $fotoramaElement.fotorama is not a function

Basically, product images doesn't getting load, it loads after page refresh. and i got this error. i am using Codazon Theme, i have tried following solution to resolve this issue but it didn't work ...
6 votes
5 answers
6k views

$block->getViewModel() returning NULL

I am overriding the layout and adding ViewModel in that layout but when I try to fetch the ViewModel getting below error PHP Fatal error: Uncaught Error: Call to a member function getCodes() on ...
2 votes
1 answer
2k views

How to change magento theme in 1.9.3.2 and remove the old theme?

I uploaded Hallow theme for the first time in Magento ver. 1.9.3.2 but unfortunately I had lot of errors like images are not shown in browser etc. Now I want to remove the previous theme and upload ...
0 votes
1 answer
2k views

Magento 2: How to move currency switcher

I'm fairly new to Magento 2 and I need guidance on how to move the currency switcher from the top-header-content and into the middle-header-content. I'm using the Claue theme. I understand the that ...
1 vote
1 answer
6k views

Porto theme header CSS customization fail - Magento 2.3

I hope someone will help me, I have searched everywhere on the community looking for this. Porto theme gives 20 pre-made styles for the header, but for the website that I am trying to make I wanted ...
3 votes
1 answer
2k views

Assign a separate theme to product pages and categories

I have magento 2 and a requirement to show a certain category, subcategories and product pages in those categories using a different layout then other product pages on my store. So just to be clear: ...
1 vote
1 answer
1k views

Magento 2: Validate error from review form on product page does not translate

The message 'Please select one of each of the ratings above.' is not translating, when you try to add a review without choosing the stars. The form is located in the file form.phtml vendor/magento/...
0 votes
2 answers
5k views

How to disable Magento 2 Content Security Policy with theme edit only

I have searched alot on the internet and I want to hide this error (magento 2.4) content security policy error , we don't have authority to disable magento_csp module and we can not create module, we ...
4 votes
3 answers
3k views

Magento 2: Can't update product page layout in custom theme

(heavily modified the question for simplicity and clarity) As a test case, I created <custom-theme>/Magento_Theme/layout/default_head_blocks.xml. Creating and modifying this file, according to ...
2 votes
3 answers
430 views

Magento 2.4 var/log/system.log full of: Requested path _cache/merged/... is wrong (but is working)?

Or system.log in var/log is full of the following lines: [2023-11-03T09:18:36.813475+00:00] main.CRITICAL: Requested path '_cache/merged/8ce44e6dea119fd921c2d7d8a0a9db33.min.css' is wrong. [] [] [2023-...
2 votes
1 answer
970 views

Magento2 : Move review to separate place

When I am adding reviews in product page it's showing it in review tab, but I want it in separate place i.e under the tabs section. How to do it?
0 votes
2 answers
3k views

How to add header to checkout page on magento 2 LUMA theme

I have headers on all the pages in the LUMA theme except the checkout one. For reference, screenshots are attached below. As you can see in the attached images, we have a header on the product view ...
0 votes
1 answer
49 views

How to update swissup/breeze-evolution theme in magento?

I currently have the Breeze theme version swissup/breeze-evolution - 2.1.5. I need to update to the latest version. What steps should I take to do this?
5 votes
7 answers
21k views

Magento 2.3: main.ERROR: Unable to resolve the source file issue

I am getting below error when I ran php bin/magento setup:static-content:deploy -f cmd. frontend/Alothemes/digitalstore3/en_US 2494/2645 ==========================>- 94% 5 secs ...
0 votes
0 answers
26 views

Override Javascript template in Custom Theme - underlying module overwrites theme template

I am trying to override the html template that is rendered using Javascript. However, it seems that the module's html is overwriting my customization from within the theme. E.g I want to overwrite the ...
3 votes
3 answers
7k views

Magento 2 Theme Development - grunt watch not detecting changes of custom LESS file

We are running Magento 2 in version 2.3.1, but the error occurred in version 2.3.0 also. The situation is the following: we've created a custom theme which has Magento/luma theme as parent. according ...
0 votes
1 answer
41 views

Theme - requires a dependency "magento/framework" cannot be found

I've begun working on a theme for Magento 2. I'm new to this so go easy. I've been following along with the documentation Create a Storefront Theme | Commerce Frontend Development and I want to add an ...
1 vote
3 answers
91 views

How to remove parent theme handle from child theme programmatically?

Parent theme (theme design directory path) app/design/frontend/Jigar/basetheme/Magento_Customer/layout/customer_account_create.xml Here is the sample code : <?xml version="1.0"?> <!...
1 vote
0 answers
310 views

Magento 2: Desktop and Mobile Themes switched after flushing the cache

I'm using two themes for Magento 2: Desktop Theme and Mobile Theme. But, I am facing a strange issue. After flushing the cache, If I refresh the site on my desktop, The Desktop version loads correctly....
1 vote
2 answers
453 views

Extend Magento Luma theme less

When extending Magento Luma less files in one children theme, what exactly is the name and the complete structure of the "parent" folder (mentioned at https://developer.adobe.com/commerce/...
2 votes
1 answer
501 views

Magento 2 - Can't compile new theme, which inherits from luma

I created a new minimalistic theme in a fresh Magento 2.4.2 The theme inherits from Magento/luma Example: app/design/frontend/company/foo/registration.php: <?php /** * Copyright © Magento, Inc. ...
1 vote
2 answers
28 views

magento 2.4 login page meta title does not get localized

I have a multi store view magento where each store view has its own language but I have an issue with translating some pages. For regular pages (aka pages that I create via backend in Content > ...
0 votes
0 answers
11 views

Customize tier module traductions

Magento documentation says How the application applies locales When the locale is changed for a store, the application searches and applies translations in the corresponding dictionaries in the ...
4 votes
8 answers
22k views

How to change default logo of magento admin panel

How to change default logo of magento admin panel
-1 votes
3 answers
101 views

How to create Magento 2 theme?

I have given tasks in Magento to create a custom theme. My task is to create Magento Theme from scratch. I want a source that I can refer to. If anyone did this before please help me. Thank You
13 votes
7 answers
23k views

How to remove Company field from checkout process in Magento 2?

How to remove Company field from checkout process in Magento 2? I've been looking for the template but have not found it. Update: Is there any way to remove this field via layout or template?
8 votes
3 answers
12k views

How to add Qty in add to cart form on Product Listings Page in Magento 2

How can you add a Qty filed to the the add to cart form on the category listings page. With the Luma theme the user only has the option to add one product to cart at a time from the product listings ...
0 votes
5 answers
1k views

Can't change Magento 2 theme

We have taken on a new client's webstore and have cloned it to our server. The clone seemed to work absolutely perfectly, however after doing some custom work, and creating a child theme for template ...
0 votes
0 answers
31 views

Magento 2 : Auto-deleting module files and theme files?

I'm still pretty new to Magento but have been editing some code for modules and themes today and whilst making the edits all the files relating to a module and/or theme have been completely removed. (...
0 votes
0 answers
68 views

magento2.3 mysql slow query

SET timestamp=1708087305; UPDATE `theme` SET `parent_id` = NULL, `theme_path` = 'Magento/blank', `theme_title` = 'Magento Blank', `preview_image` = 'preview_image_5d490e5c15226.jpeg', `is_featured` = '...
0 votes
0 answers
170 views

After upgrade to magento 2.4.6-p3, the pagination is not working

Upgraded my magento to 2.4.6 from 2.4.0 and the pagination is showing but it is not working. when i am clicking on page 2, it is not going on next page and the url is also not updating. Here is my ...

1
2 3 4 5
41