Questions tagged [frontend]
Denotes questions related to frontend development, configuration and management
1,305
questions
0
votes
0
answers
9
views
Error on Reorder time create invoice automatically from backend in Magento 2?
I have my custom module in that I generate invoice automatically but when I reorder order from backend side that getting this kind of error
"Order saving error: Rolled back transaction has not ...
0
votes
1
answer
29
views
How to change navigation bar font type
I'm trying to change the font type of the navigation bar in Magento 2.4.1. Is there a possible way?
0
votes
4
answers
71
views
Products are not visible at frontend Magento 2
There's two created product each of them is set:
Product Type : Simple
Website : Main Websites
Status : Enabled
Visibility: Catalog, Search
Salable Quantity: >50
I use Magento 2.4.4 Open source ...
0
votes
0
answers
24
views
Magento2 Some product not showing in frontend
I have the problem that no products are listed in the categories in the frontend, although they are available and the index status in the backend is indicated as "Ready" for all indexers. ...
0
votes
1
answer
17
views
Magento 2: How to set "no" display out of stock on swatches programatically?
I'm having problems after upgrading from Magento 2.2 to 2.4.5.
When I click on text or visual swatches, swatch disable is not working when the product is out of stock. It works properly if I set no on ...
1
vote
3
answers
96
views
something went wrong with your request, please try again late Magento 2.4.5?
I have Magento 2.4.5 and on checkout page I get this error
"something went wrong with your request"
I use one step check out and in that I got this error how can I resolve this ..
0
votes
2
answers
474
views
frontend not working after update to 2.4.6
I have a development website that consists in a migration from 2.45 to 2.4.6. I upgraded all modules to latest version and my backend is working perfectly. However, frontend gives blank page and I ...
0
votes
0
answers
37
views
Magento 2: How to use custom options in action apply field in cart price rule frontend
I have added two new option in admin cart price rule action apply section for give tier price discount based on apply rule in cart.
Percent Discount: Buy Min N Products, Get Tiered Promotions
Fixed ...
0
votes
1
answer
32
views
How to override view/base file in magento 2 like as we can override frontend file in design folder
I want to override view/base
If we override view/frontend folder then we follow this pattern
app/design/frontend/
here we create registration.php file
theme.xml
and ...
0
votes
0
answers
80
views
Magento2 Integrate UI component in Frontend
I am integrating UI grid with complete CRUD operations with UI component on frontend. But i am facing 1 issue of caching, when we edit from Actions column on frontend grid, the data provider is called ...
0
votes
0
answers
24
views
Magento Js Override another Js File (which is already overriding a Magento Core js)
I need to overwrite a third party module js with my own one. I read in many articles which map is the way to do it.
Foodentyco_Checkout/js/model/shipping-rate-service-override has to override ...
0
votes
1
answer
95
views
Inventory management not automatically changing to 'out of stock' (is there Patches List for Magento 2)
I have faced issue after issue with the Magento 2 software that entails me having to do patch after patch.
My most recent issue is with the inventory feature. I have turned on inventory management, ...
0
votes
0
answers
20
views
First street address field in the shipping page becomes grayed out/disabled immediately after one types into it
I encountered this issue all of a sudden. As soon as one enters the first street address, that field becomes grayed out and no more editing is possible there. I tried incognito as well without any ...
0
votes
0
answers
14
views
How to show the Product List layout in the frontend?
Been struggling to find a way to create a product list table in the frontend for certain users to buy the products directly instead of opening each product on a single page and adding it to the cart ...
0
votes
0
answers
21
views
loading an HTML page extremely slow
With Magento 2.3.4 version, when browsing the page, it is too slow, it takes 4 to 6 minutes to load the page.
I have checked the status of the cache and everything is enabled:
> php bin/magento c:...
0
votes
1
answer
74
views
Magento 2.4.4: Attach event handler to Province dropdown to reload the checkout page
We developed a custom shipping module that displays shipping methods and the rates in Firecheckout page. The issue is the Shipping Method block in the firecheckout page doesn't refresh if one changes ...
0
votes
2
answers
59
views
Magento 2: Add block to cms page with / in the url key trough xml
Magento 2: I'm trying to add a block to a cms page with a layout overwrite. The problem is the url key has a / at the end which can not be removed. So the url key is uber-uns/ If i remove the / as a ...
0
votes
2
answers
112
views
What are some best practices for optimizing the front end performance of an Adobe Commerce store, with an emphasis on increasing lighthouse scores?
For someone looking to increase the front end speed and optimize the front end performance of an Adobe Commerce store, with an emphasis on lighthouse scores, what would be some good starting points to ...
0
votes
4
answers
315
views
Magento 2.4.4: How to remove Reviews tab from the product page
Is there any setting in Magento admin to remove the reviews tab from product details page?
Here is the contents of catalog_product_view.xml
<?xml version="1.0"?>
<page layout="...
0
votes
2
answers
42
views
Disable Ecommerce Modules from Magento 2
So I am a lover of Magento Framework itself, but I want to build a normal website, nothing to do with ecommerce, so Taxes, products, categories, checkout, quotes, elastic search and etc its not ...
0
votes
1
answer
28
views
Change colors and fonts only on main theme, not on childs
I have a problem, and I do not know how to approach it. So, I am running a project in which we have a store divided into 2 store (b2c and b2b). B2C is the default template, and B2B inherits from it. ...
1
vote
3
answers
397
views
Uncaught TypeError: utils.formatPriceLocale is not a function
I am upgrading to 2.4.5-p1
I can't seem to figure out how to resolve this error.
price-box.js:153 Uncaught TypeError: utils.formatPriceLocale is not a function
at $.<computed>.<computed>.&...
1
vote
2
answers
92
views
Slow Query on Magento 1.9 Front-End After Moving Site to a New Server
I've just moved a Magento 1.9 site using a tarball and a mysqldump of the old site to a new server having the same hardware specs as the old one, followed all instructions I could find online, saw ...
0
votes
2
answers
423
views
Magento 2.4.4: Where do I find the HTML of category pages in Magento?
I need to add code the code below to display Yotpo Reviews Carousel in category pages. Where is the template for category pages in Magento located? We are using a custom theme from SwissUp
I need to ...
0
votes
1
answer
277
views
How can I resolve the JavaScript error after upgrade magenta from M 2.4.3 to 2.4.5 in Magento 2??
Here I upgrade Magento from 2.4.3 to 2.4.5 so getting a javascript error can anyone help me how can I resolve this error?
Can not find out what excatly issue
1
vote
0
answers
162
views
Limit parameter is not working when I add slick slider on related products
I want to add condition on related product where carousel should contain up to 12 products. For that I changed $limit variable and It's working fine without slider. But I added slider, value defined ...
1
vote
1
answer
111
views
Change 'Home' (Label) to "Shop Online" in my breadcrumbs
I'm trying to make a little change to my breadcrumbs. I'm using Magento 2.4.2
I want to change the "Home" label of my porto theme to "Sports Store".
I'm sure it's a simple change ...
0
votes
0
answers
125
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
108
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
201
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/...
1
vote
2
answers
211
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 ...
0
votes
2
answers
556
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 inside my custom css code in style-l.css or style-m.css and i have already 2 methods used.
Method 1.
...
0
votes
3
answers
88
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 ...
0
votes
1
answer
381
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 ...
0
votes
1
answer
733
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
93
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
758
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
284
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'...
1
vote
0
answers
1k
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
16
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 ...
0
votes
1
answer
28
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 ...
0
votes
0
answers
67
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
38
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 ...
0
votes
1
answer
21
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
105
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
53
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
91
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
1
answer
146
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.
0
votes
0
answers
30
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
304
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 ...