Questions tagged [frontend]
Denotes questions related to frontend development, configuration and management
1,270
questions
0
votes
0
answers
11
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
34
views
Is there any way to disable cache for frontend price block
Is there any way for disabling price caching in magento frontend
0
votes
1
answer
31
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?
0
votes
2
answers
38
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
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 ...
0
votes
0
answers
57
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
7
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
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,
@...
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 ...
0
votes
1
answer
38
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
17
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 ...
1
vote
0
answers
230
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 ...
0
votes
0
answers
18
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
15
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
38
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 ...
1
vote
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 ...
0
votes
0
answers
37
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=...
0
votes
1
answer
21
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
52
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 ...
0
votes
0
answers
30
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.
...
0
votes
0
answers
30
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
0
votes
1
answer
42
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?
0
votes
0
answers
8
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. ...
0
votes
0
answers
27
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-...
0
votes
1
answer
23
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 ...
0
votes
2
answers
30
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 ...
0
votes
1
answer
111
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 ...
0
votes
1
answer
27
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 ...
0
votes
1
answer
20
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 ...
0
votes
1
answer
60
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 ...
1
vote
0
answers
37
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, ...
0
votes
0
answers
17
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/...
0
votes
1
answer
34
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();
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 ...
0
votes
1
answer
31
views
How to display search terms on front-end in magento 2
I want to display search terms on the front end in magento2.3.4 like the above image
0
votes
0
answers
9
views
How to hide uI component grid on frontend if there is no data
How to hide uI component grid on frontend if there is no data using block
Thanks in advance
1
vote
0
answers
24
views
Magento 2.4: UI component paging with non-collection DataProvider
I have listed UI component with DataProvider that is not a collection. I want to make pagination for it but when I add simply toolbar and pagination nodes in XML it does not work. I can see that I ...
0
votes
0
answers
11
views
after moving minicart to another area the qty field unfocuses
I am using <move element="minicart" destination="catalog.topnav" after="logo"/> to move the minicart but for some odd reason when I select the qty field it ...
0
votes
1
answer
145
views
How to disable Mega Menu on Magento2 Porto theme
I have one CMS page and I would like to disable the mega menu on it, but not the other pages?
How can I do this?
and I want to disable the buttons that I mention in the picture attached.
Many Thanks!
0
votes
1
answer
101
views
Frontend magento 2 shows product in a category, but backend they are disabled
Have 1 technical question that you may know about magento 2
I want to have on the frontend the bracelets products disabled under the clothing category.
The thing is, in the backend, they are disabled ...
0
votes
0
answers
7
views
i added a blog widget in homepage and i want to find the file that have the widget HTML code
I added a widget in my home page content and I want to find the files and HTML code of this widget where is placed in my Magento 2.3.6 files, because I want to edit on it
0
votes
0
answers
47
views
no classes are being updated to body tag on page load in magento 2.3
every thing was working fine and suddenly the alignment of whole page changed on inspecting i found that the classes are not being updated in body tag in UAT on home page the body tag is
<body data-...
0
votes
0
answers
14
views
adding a custom attribute to minicart using ko:
I know that I can do something like text: product_sku to display the products sku in the minicart. but what about any other custom product attributes?
Please assist and tyvm
1
vote
1
answer
17
views
Display company name on /customer/account/ under contact information
getCompany for templates/account/dashboard/info.phtml doesn't work when I use a block at all or otherwise. Anyway I can display the contact's company name where the first and last name are being ...
2
votes
0
answers
59
views
Magento 2 - Sales order grid on the frontend with export option
I need to show the sales order grid on the frontend under My Orders or else I need to show the custom field under my orders on the frontend so that the customer will filter the orders based on the ...
0
votes
2
answers
75
views
How to show all categories under the static text in frontend Menu in MAgento2
How to display all categories under the static text in frontend Menu in Magento2
Example: We have 3 categories created in admin and displaying like below in frontend
Menu 1 Menu 2 Menu 3
We need to ...
1
vote
1
answer
35
views
Has anyone successfully hosted a magento backend on a different URL than the default frontend?
I've been wondering lately whether having the backend for magento on a completely separated URL would be possible, as magento historically has real problems confusing frontend and backend cookies for ...
0
votes
1
answer
245
views
Magento 2 Insert / Move page.main.title inside my custom block
I have create a custom xml for Category Page and I need to move the Category Title inside my Block. This is my custom.xml code:
<?xml version="1.0"?>
<page xmlns:xsi="http://...
0
votes
0
answers
34
views
Magento 2 Developer Training Prerequisite
I am taking Magento courses in Adobe commerce, but finding it difficult to follow the code structure. I am basically a OOPS and SQL developer so not that familiar with latest front end technologies. ...
0
votes
0
answers
19
views
How to add pagination to front end list?
<?php
$objectManager = \Magento\Framework\App\ObjectManager::getInstance();
$resource = $objectManager->get('Magento\Framework\App\ResourceConnection');
$connection = $resource->...