Questions tagged [frontend]

Denotes questions related to frontend development, configuration and management

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

Clicking a button scrolls to the top of the page after revealing the hubspot form

Please see the image below as it helps understand what the issue is. When the complete form cta button is clicked, it scrolls up to the top of the page after revealing the form instead of stopping at ...
1 vote
2 answers
26 views

Luma theme deconfigured after installing sample data

Console error: Refused to apply style from 'https://app.bartofilpc.test/media/styles.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is ...
0 votes
1 answer
25 views

Magento 2: Call custom admin controller from frontend

Is there a way to call custom admin controller (which prints a pdf file from sales order view page) from frontend download anchor link? <a href="http://m7.local/index.php/admin/...
  • 161
1 vote
2 answers
30 views

Frontend JS get access to attributes?

Is it possible to get Magento attribute values on product page when writing custom java script code? I am working on a frontend script where i need access to the product sku to check some logic i am ...
  • 23
0 votes
0 answers
38 views

Magento 2 : How Can I Add custom.less File For Only Specific Page?

how can i add custom.less file for any specific page in child theme? means don't need genrate in style-l.css or style-m.css. i have already use 2 methods 1.method app/design/frontend/Kinex/theme/web/...
  • 15
0 votes
3 answers
33 views

How to remove and change My Account Navigation

I am trying to remove some tabs https://prnt.sc/I0JvtmM41ROP I am using below file path and code app/design/frontend/vendorname/themename/Magento_Theme/layout/default.xml <!-- Downloadable ...
  • 445
0 votes
1 answer
74 views

How to apply coupon code to cart in graphql?

Now i'm trying for apply coupon to cart and i have followed this link: applyCouponToCart mutation https://devdocs.magento.com/guides/v2.4/graphql/mutations/apply-coupon.html But we don't got the mask ...
's user avatar
0 votes
1 answer
104 views

Magento 2.4.2: Unable to process binding "ifnot: function(){return customer().fullname }" Message: Unable to parse bindings

The following error is found during the process of upgrading Magento from 2.4.2 to 2.4.4 in console. Uncaught SyntaxError: Unable to process binding "ifnot: function(){return customer().fullname }...
0 votes
1 answer
25 views

Uncaught SyntaxError: Unable to process binding "ifnot: function(){return customer().fullname }"

Upon successful Magento upgrade to 2.4.4 from 2.4.2, I noticed the following error in browser console as site loaded. I don't see any references to this error message on the net nor in SO. Could you ...
0 votes
0 answers
103 views

Magento 2.4.2: TypeError: Cannot read properties of undefined (reading 'includes')

In the payment page of our Magento store did I notice the following error, and I'm not sure if it can be ignore because it is not in red
0 votes
3 answers
43 views

Swap the product image while hover the product in Magento 2

I am new to Magento 2, and I want to add some creative ideas to my Magento2 site. so I want to add the swap the product images based on their product image role while hovering over the product, I don'...
0 votes
0 answers
129 views

Magento 2.4.2: Your requirements could not be resolved to an installable set of packages

Running the command composer update --with-all-dependencies when trying to upgrade Magento 2.4.2 to 2.4.4. throws this message in red Your requirements could not be resolved to an installable set of ...
0 votes
0 answers
8 views

Social share buttons add on success.phtml magento2

Can anyone guide me how can i add social share buttons in Magento 2 ? In success.phtml i have discounted code on that . I want to just send that on social share. Below is the file that want create. If ...
  • 1
0 votes
1 answer
22 views

Social share buttons on success.phhtml magento2

Can anyone guide me how can i add social share buttons in Magento 2 ? In success.phtml i have discounted code on that . I want to just send that on social share. Below is the file that want create. If ...
  • 1
0 votes
0 answers
25 views

Magento 2.4.2: How to add a Div next to Amazon Pay button in checkout page

I need to place a logo(A credit card image) about the same size of Amazon Pay button next to it where I made a mark in the image below. When viewing the code in Amazon_Pay\web\template\checkout-button....
0 votes
2 answers
19 views

Magento 2: How to apply css in the second div of toolbar?

I'm try to appply css in second div of toolbar class, but my css is applied in both div, so can you give me suggestion how to apply css for particular second div in toolbar class ? Here is a ...
  • 33
0 votes
1 answer
16 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 ...
0 votes
0 answers
24 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 ...
0 votes
1 answer
27 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/...
0 votes
0 answers
34 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 ...
0 votes
0 answers
18 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.
  • 507
0 votes
0 answers
17 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 ...
1 vote
2 answers
53 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 ...
0 votes
1 answer
53 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 ...
  • 1
0 votes
1 answer
178 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 ...
  • 1
0 votes
1 answer
29 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 : ...
  • 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
0 votes
2 answers
138 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-...
0 votes
1 answer
42 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 ...
1 vote
1 answer
65 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) ...
0 votes
2 answers
15 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=&...
  • 33
1 vote
0 answers
74 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....
1 vote
3 answers
193 views

Is there any way to disable cache for frontend price block

Is there any way for disabling price caching in magento frontend
  • 23
0 votes
1 answer
146 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?
  • 2,418
0 votes
2 answers
178 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 ...
0 votes
0 answers
11 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 ...
  • 1
0 votes
0 answers
84 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: $...
0 votes
0 answers
18 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 ...
0 votes
0 answers
8 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, @...
0 votes
0 answers
12 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 ...
0 votes
1 answer
128 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 ...
0 votes
2 answers
27 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 ...
  • 15
2 votes
0 answers
561 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 ...
  • 724
0 votes
1 answer
58 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-> ...
0 votes
0 answers
24 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. ...
0 votes
1 answer
50 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 ...
  • 370
0 votes
1 answer
22 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 ...
0 votes
0 answers
131 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=...
  • 167
0 votes
1 answer
63 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 ...
0 votes
1 answer
153 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 ...
  • 1

1
2 3 4 5
26