Questions tagged [frontend]
Denotes questions related to frontend development, configuration and management
1,312
questions
0
votes
2
answers
19
views
Can't seem to clean static files cache manually
i'm very new in magento2 and i'm following the official docs.
I'm playing around trying to change some css styles in the homepage but i seem to have issues with clearing the static files cache ...
0
votes
1
answer
22
views
Products Using Placeholder Image in Category View
A script was run to clear unused product images to free up space on the server, but instead of clearing unused images, it accidentally cleared a portion of images currently in use by products. The ...
0
votes
0
answers
22
views
How to fix Attribute model is not defined error
When we search from the search box on the top of the header of the website at that time displayed error like
1 exception(s):
Exception #0 (Magento\Framework\Exception\LocalizedException): The ...
0
votes
0
answers
10
views
Magento2: Translate META TAGS (Meta description) in layout XML files
We have created a custom page that is shown on some specific situations.
We successfully modified the META tags inside section in various layout files.
The question is: How can we make this text ...
0
votes
0
answers
12
views
How do I re-write magento frontend product collection so I can filter catalog products by product attribute and by customer group?
I would like to filter the products being displayed in home, catalog and search result pages based on a product attribute and on the customer group of the client. Any ideas?
0
votes
1
answer
58
views
Magento 2.4.6 Catalog Condition Rule Not working
I have created a custom admin grid with a catalog condition rule.
Check the Below Screenshot for reference:
https://i.imgur.com/JEPH9bM.png But it doesn't work correctly.
The value of the Condition ...
0
votes
0
answers
19
views
Payment integration with next.js
I am using Magento in the backend with Nextjs in the front, I need to integrate payment using the Magento extension but don't know how Magneto will communicate with Nextjs. Can someone provide me with ...
0
votes
0
answers
12
views
How to use Multiple custom .less files in Magento 2 using Grunt.js
We are developing a custom theme for our Front Store view so we need to use multiple .less files in web/css/source. with the help of Grunt.js, the development makes us faster than manually generating ...
0
votes
0
answers
19
views
Magento 2: Remove the product from the parent category without removing the layered navigation
Magento 2: Remove the product from the parent category without removing the layered navigation and show the product only in the child category.
0
votes
0
answers
28
views
How to make field in admin panel required
In admin panel on creating order page, i need to set field Middle Name/Initial required, if chosen shipping method is "Free shipping", otherwise, this field doesn`t need to be required. Also,...
2
votes
3
answers
231
views
How to extend catalog_product_view.xml for a specific product type?
I created a new product type, and I want to create a product page in the frontend. How can I customize catalog_product_view.xml without affecting other product types?
0
votes
0
answers
11
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
39
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
655
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
33
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. ...
1
vote
3
answers
254
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
871
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
58
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
45
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
191
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
28
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
294
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
22
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
22
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
23
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
113
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
259
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 ...
-1
votes
1
answer
244
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
507
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
51
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
530
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
114
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
568
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
343
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
196
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
150
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 ...
1
vote
2
answers
130
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
282
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
296
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
708
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
99
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
466
views
How to apply coupon code to cart in graphql?
Now I'm trying to apply a coupon to the cart and I followed this link: applyCouponToCart mutation
But we don't get the mask id when customer is logged in, so how to get mask id for logged in customer....
0
votes
1
answer
1k
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
116
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
908
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
412
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
1
answer
2k
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
1
answer
56
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
2
answers
48
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 ...