Questions tagged [frontend]

Denotes questions related to frontend development, configuration and management

Filter by
Sorted by
Tagged with
0 votes
1 answer
12 views

Having trouble with Xdebug Stack Tracer on a Magento project

At the moment I'm running a Magento project on the 2.4.3 version and when i try to look at the frontend in any browser several tables from the Stack Tracer of Xdebug show up. Before this problem ...
user avatar
0 votes
0 answers
12 views

How to edit KnockoutJS template in cart page?

I need to add some text after "Gift Options" title in the cart page. The jQuery code written to do this doesn't work because "Gift Options" field is added with Knockout JS. Shown ...
user avatar
0 votes
1 answer
16 views

Undefined variable $builderContent in Magento_Theme/templates/root.phtml

After upgrading to the latest Magento Release 2.4.4 using PHP 8.1 the website stops loading returning be 1 exception(s): Exception #0 (Exception): Warning: Undefined variable $builderContent in /home/...
user avatar
0 votes
1 answer
11 views

Magento 2: How to display out of stock products at the end of the catalog with custom qty?

Currenltly i have working with third party ERP, i have display in stock or out of stock product with third party ERP, So how can display all out of stock product at the last of catalog listing page ?
user avatar
0 votes
0 answers
19 views

Jquery code doesn't work when deployed but runs fine in the browser console in Magento cart page

We're trying to just display the text in the code below if the page is the cart page so that visitors are aware that they can add a gift message to their order. Code works fine by displaying the text ...
user avatar
0 votes
0 answers
9 views

How to develop frontend using React js Magento 2.4.4

I am stuck on react js integration and development in Magento 2.4.4 so anyone have idea then please share with me. Thank you.
user avatar
  • 498
0 votes
0 answers
11 views

How to get the checkbox value from the admin side and display it on the frontend in Magento2

I am new to Magento2 and I wanted to show the attribute values on the frontend, which are on the admin side.so I don't know where and how should I start this flow to implement my ideas in magento2 so ...
user avatar
1 vote
2 answers
37 views

Magento 2: How can we prevent HTML from being shown in the text that comes from en_US.csv file?

In en-US.csv file in our custom theme, I got a translation as below. "We'll email you an order confirmation with details and tracking info.","Within 10 minutes we'll send an email to ...
user avatar
0 votes
1 answer
28 views

Get order data with customer details in custom checkout page magento2

I have create custom checkout Step between shipping and payment step . Now i want to show all the order details and customer fillup details. Below is the files that i have created for the Custom ...
user avatar
  • 1
0 votes
1 answer
15 views

Magento2 Custom Page Builder, doesn't render widgets on frontend

I have a problem with the page builder on my custom module. In the adminhtml, everything is working fine, and my code propeller is saved to DB, but when I'm trying "echo" my code, the widget ...
user avatar
  • 1
0 votes
1 answer
22 views

How to get and show the best selling products in customer account page magento 2

I wish to show best selling products in in my customer My account page.Please provide me a solution to get best selling products and display in home page. I have getting account file from this path : ...
user avatar
  • 1
0 votes
0 answers
7 views

I am attempting to instruct someone how to change, manage logo, and footer text during catalog management

I am attempting to instruct someone how to change, manage logo, and footer text during catalog management. Also, • How to manage view product label image
user avatar
0 votes
2 answers
36 views

How to use the custom fonts in M2 using LESS

I am new to magento2, so I don't understand the less flow in M2, how it is working, and how to use the custom fonts in my theme which is present in the /fonts dir when I import the fonts using @font-...
user avatar
0 votes
1 answer
30 views

New products not showing in category frontend Magento 2.3.7-p3

Before you dismiss this kindly read the details. I have come across several issues but none provide a solution to my question. My products do not show in the frontend of the store. They are visible ...
user avatar
1 vote
1 answer
52 views

Magento 2.3.7 developer mode : I need to regenerate my static content all the time

Env : Magento 2.3.7 PHP 7 VM on Linux I'm facing an issue : my instance of Magento 2 is in developer mode. But I need, all the time, to redeploy static content (like JS and CSS ; with -f argument) ...
user avatar
0 votes
2 answers
9 views

magento 2 : how to add excel formate validation in the input?

CSV validation working fine in existing code, so how to add excel formate in that validation phtml code:- <input data-validate="{required:false, 'validate-custom-file-csv':true}" type=&...
user avatar
0 votes
0 answers
20 views

Magento 2.4.2: [Report Only] Refused to load the script 'https://googleads.g.doubleclick.net

One of a few content security policy directive issues seen in the console when visiting a product page is what reads on below. [Report Only] Refused to load the script 'https://googleads.g.doubleclick....
user avatar
1 vote
3 answers
83 views

Is there any way to disable cache for frontend price block

Is there any way for disabling price caching in magento frontend
user avatar
  • 23
0 votes
1 answer
54 views

Customer success messages disappear too fast in magento 2

Once the customer completed the registration, the success message hide too fast? Kindly guide me to any solution to sort it out?
user avatar
  • 2,408
0 votes
2 answers
63 views

Magento 2 Custom Controller Action Created Using New Module Route Not Working

I am using magento2.3.5-p2 community edition ( open source ) I want to create a custom Controller so that I can post data using ajax to the Controller function created client side will call the ...
user avatar
0 votes
0 answers
8 views

hi how estimated-shipping-methods configure?

when I change the country in the frontend example from country A to Country B the country_Id of estimate-shipping-methods still country A how can I configure it based on country selected in frontend ...
user avatar
  • 1
0 votes
0 answers
65 views

How to sort by name all categories in my layered navigation?

I need to have all categories and subcategories ordered by name. How can I do it? Do I have to modify this file? app/design/VENDOR/THEME/Magento_Catalog/templates/navigation/left.phtml I've tried: $...
user avatar
0 votes
0 answers
13 views

ERROR Compiling Weltpixel CSS

this issue come when i want run this command in my local php bin/magento weltpixel:css:generate --store=default for generating my welt css file but the error message is in this picture can someone ...
user avatar
0 votes
0 answers
6 views

How to make overflow: visible for Font icon variables

How to make overflow: visible in less for font icon I use this mixin to add a font to any element .wishlist { .lib-icon-font( @_icon-wishlist, @_icon-font-size: 24px, @...
user avatar
0 votes
0 answers
10 views

Magento 2 - Order State Locales not reflected on Front-End

Did anyone managed to "Localize" the Order States (Not Status) in Magento 2 ? Those States are mentioned by default on the customer Order page summary, and I wasn't able to find a way to ...
user avatar
0 votes
1 answer
61 views

How to add sort by filters to the custom collections magento2

I would like to display Sort By filter options to the order collection Magento2 at the front-end and display the results. Sort by options are 'processing','cancelled', 'hold' etc. Can anyone advise ...
user avatar
0 votes
2 answers
19 views

Category is disbled in admin side but still showing in frontend

Category disabled from backend still showing in frontend. Even if there are no products available in that category and disabled. Enable category and include in menu options are turned off, but still ...
user avatar
  • 15
2 votes
0 answers
392 views

Magento 2 - Cannot find field "newsletter_enabled" on type StoreConfig pwa-studio

I have installed pwa-studio by following magento pwa docs. Now when I try to run command "yarn run watch" got below error $ webpack-dev-server --progress --color --env.mode development As of ...
user avatar
  • 704
0 votes
1 answer
27 views

Apply separate theme to multiple store view in Magento 2

I created multiple store views in the backend like Store 1, Store 2, and Store 3. Now I have three separate themes so want to assign them separately to store views. In the backend System-> ...
user avatar
0 votes
0 answers
19 views

Multiple image upload with preview at frontend side. - M2

I have custom form in phtml template file. i want to add multiple image upload with image preview functionality as showing in above image. Can anyone guide me how i can create such functionality. ...
user avatar
0 votes
1 answer
44 views

How do I display PageBuilder content in custom product tab?

I have several custom tabs on my product pages that pull data from product variables. The tabs are defined in catalog_product_view.xml and it all seems to work as expected except the data are ...
user avatar
  • 370
0 votes
1 answer
21 views

Darken the arrows below the magnified image

Here's a screen shot from the bottom of a product page, magnified image, in Shopify. Please zoom in the image. Notice that the < X > is very faint. Sometimes on some pages, they're almost ...
user avatar
0 votes
0 answers
61 views

Custom UI component grid (Frontend) columns and export component not showing

I have created a custom grid and trying to add an export button on it in FE. Here is my listing code <bookmark name="bookmarks"> <argument name="data" xsi:type=...
user avatar
  • 167
0 votes
1 answer
30 views

Magento 2: Create Dynamic Category Dropdowns on Frontend

I, once again, have to ask for your help. I need to create a modal that let the customer select their car brand, model and year, and I need to populate the select options depending on the selections ...
user avatar
0 votes
1 answer
98 views

HOW TO GET IMAGE PREVIEW IN FRONTEND FORM MAGENTO 2

I have created a module that creates a form at frontend. I'm enable to get the image upload preview out there. can we put preview.html in frontend/templates? If not then how can i achieve it.. Please ...
user avatar
  • 1
0 votes
0 answers
34 views

mini cart product price chnage magento 2

Product details page product price $10.123123 and mini cart page product price rounding $10.123100 so i am facing rounding issue in mini cart item price please check screen short. Thanks in advance. ...
user avatar
0 votes
0 answers
38 views

How to move short description inside Product Overview?

How to move short description and "In the Box" inside Product Overview? Using Magento 2.4.3
user avatar
0 votes
1 answer
71 views

Add custom template in listing page - Magento2

[![enter image description here][2]][2] How can I remove the attributes that appear for each product and add a new template which contains different styles and content?
user avatar
0 votes
0 answers
11 views

Magento 2.4.2: Difference between <g:google_product_category> and <g:product_type>?

I found the following two tags in the template being used to send product data to Google Merchant Center with Wyomind data feed manager. I am not sure what the difference between these tags are. ...
user avatar
0 votes
0 answers
28 views

csv didn't work on translate store language label in magento frontend

getStores()) > 1): ?> <?php $id = $block->getIdModifier() ? '-' . $block->getIdModifier() : '' ?> <div class="switcher language switcher-language" data-ui-id="language-...
user avatar
0 votes
1 answer
31 views

Best way to call JS widget only on specific page

I have created a Javascript widget which does some function based on product add/remove cart action. I would like to include the JS only on product pages viz: Category and Product detail page.I know a ...
user avatar
  • 3,554
0 votes
2 answers
31 views

Latest data doesn't show at front end after addding data in my custom module

Latest data does not show at front-end after submitting form in my custom module. when I clear cache then latest data show at front end. Help me! how to fix that problem. when I disable cache my ...
user avatar
0 votes
1 answer
194 views

How to Call Controller When hit any URL from website in Magento 2?

I have my custom controller that has my custom code, now I need to run that code when any URL hits from the site. My Controller URL is like common/index/code run can anyone help me how can I archive ...
user avatar
0 votes
1 answer
29 views

Share Wishlist action showing blank page in Magento 2.3.4

When I click on "share wish list" button it is redirecting to "<base_url>/wishlist/index/send/" and showing blank page. I am using Magento 2.3.4 CE. The system log shows the ...
user avatar
  • 1,367
0 votes
1 answer
21 views

Magento2.4: https://search.google.com/test/rich-results tool doesn't validate the breadcrumbs properly

the results of testing the URL https://www.perfectmakeupmirrors.com/aamsco-unico-3-with-double-vertical-bands-of-led-lighting.html with the tool https://search.google.com/test/rich-results don't seem ...
user avatar
0 votes
1 answer
88 views

Magento 2.4.2: How to add Yotpo reviews carousel code in specific category pages?

We've been able to display Yotpo reviews carousel on the homepage of our Magento store. But I need to display that also on a few specific category pages. I'm not sure where to add the following code ...
user avatar
1 vote
0 answers
51 views

Magento 2 Frontend interview questions

I would be grateful if you leave a questions about the frontend development on m2. Maybe someone remembers the questions asked at the interview. Which topics do you need to know in the first place, ...
user avatar
0 votes
0 answers
20 views

Product images not found

Hi I know I ask this a hundred times but my patience is over and I just hope someone will help me I think it's a matter of removing "../" but where? http: //localhost/magento242/pub/media/...
user avatar
0 votes
1 answer
36 views

Magento 2 Custom fee not updating in checkout page(Quote save)

How can I update the quote when I open the checkout page? Like this $quote->save();
user avatar
  • 43
0 votes
1 answer
9 views

Show all products for specific categories

Our client has a specific need where they wish all products to be shown for one particular category, whilst all others show the default number (12 in our case) with pagination. I know Magento doesn't ...
user avatar
  • 814

1
2 3 4 5
26