Questions tagged [frontend]

Denotes questions related to frontend development, configuration and management

Filter by
Sorted by
Tagged with
1
vote
0answers
10 views

Magento 2: Add 2 JS files in that depend on each other in checkout page

I tried to add 2 js files in checkout page using require-config.js from a custom extension like this: app/code/Vendor/Module/view/frontend/requirejs-config.js var config = { "map": { "*":...
4
votes
1answer
189 views

How to add extra pricing data in product_data_storage?

I have added extra price in Advance pricing in Admin. Everything is working well expect the data for the Recently view products which comes from Local Storage > product_data_storage How to add that ...
0
votes
0answers
24 views

I need to change the order page title

I need to change the order page title. I don't want to show the Magento order ID I need to show ** External order Id** from Database how to change it.
0
votes
0answers
16 views

Magento 2.3.3 customer reports issue with checkout “address cannot be saved”

This is random and happens irregular, even if not changing address. Customer ordered fine, cam back a few days later to order something else and when trying to check out received the message "address ...
0
votes
2answers
56 views

Magento 2 - some products not showing in frontend - 404 site not found

I am editing the description of a certain product for hours now and saved alot during this time and it always worked and showed me the updated description in the frontend after reload, but now I ...
0
votes
1answer
64 views

Magento 2: Properly access an external js variable in the checkout

Pure HTML Example I'm trying to do something as simple as the following html code: <button onclick="MyExtVar.run();">Run</button> <script type="text/javascript"> window....
0
votes
1answer
37 views

product image thumbnail didn`t work on direction:rtl

I used magento 2.3.2 ,when i used { direction:rtl; } on pub/static/frontend/Magento/luma/ar_SA/css/styles-l.css the product image thumbnail didn`t work any one can help me to make it work ?
0
votes
2answers
80 views

How to add custom html class to “Sign Out” button in magento 2

How to add custom HTML class to "Sign Out" button in magento2
2
votes
3answers
982 views

How to Change Product Images with external Image url in all magento 2 frontend and Backend Image display?

I want to change Product Images to external Image URL in Magento 2 Frontend. Product Listing Page. Product Details Page Gallery. Related Products. Upsell Products listing. Cross Sell Listing. All ...
0
votes
0answers
26 views

Advanced JS bundling: Some dependencies already included under certain JS Bundle are loading separately

I am facing an issue with some dependencies that were already included in some bundle are loading separately as seen in the browser console. Could you please share yours insights into this? Please ...
0
votes
0answers
13 views

magento 2 duplicate category products page layout with all blocks and style?

I have a category page where all products for the particular are listed. For ex: https://local.mysite.com/women.html I want show all my products for a particular brand on different page like, https:/...
0
votes
2answers
36 views

Where could I learn to edit page in magento 2?

I'm new in magento 2 and I would like to learn how to edit for example any pages (front.end) in magento 2: Mysite.com/page1 Mysite.com/page2 ecc ecc I'm studing from the doc of magento 2 (front-end) ...
0
votes
0answers
217 views

Magento 2.3.4 Frontend messages don't disappear

I am having this strange issue. In magento 2.3.4 frontend whatever you do and magento needs to display a success or error message, after message is displayed it never go off. You continue to browse ...
0
votes
1answer
573 views

Magento 2 : Calling a JS function from another JS file?

This Accessing a JS function from another JS file solution not mapped on my problem ,Please give me direction that how can i call getPureValue: function () from tax.js into some where in minicart.js ...
1
vote
1answer
96 views

How to get magento 2 default route name list ? (Without third party route)

I am creating custom module which redirect to login if third party module route id find.(frontend) but i have issue how to identify the current route is default or third party route ? how to check ...
2
votes
2answers
236 views

How to create a custom module for crud operations in the step by step in frontend of magento2.3.4?

I am new to magento2. How to implement this task I don't know. Could you please help me?
0
votes
1answer
111 views

Add clear button in frontend calendar button panel

I am trying to add a clear button in the jquery datetimepicker widget using the below code. define([ 'jquery', 'ko', 'Magento_Ui/js/form/element/abstract' ], function ($, ko, ...
0
votes
2answers
41 views

Error with own module to show frontend views

My aim is to generate a few frontend views with an phtml for each view. I developed a module for that. File: Routes.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/...
0
votes
0answers
19 views

Orders Not Showing Under Customer's “My Orders” Tab

Some Customers are able to see their past orders under the "My Orders" Tab and some are not. I was able to narrow it down to just customers who have a custom attribute attached to their account but I ...
0
votes
2answers
58 views

How to add Jquery code snippet in the HTML editor for footer_cms_content

When I place this code :- $(".social-icons").after('<span id="siteseal" style="style="cursor: hand;"></span>'); $.getScript("https://seal.godaddy.com/getSeal?sealID=...
0
votes
0answers
46 views

Issue with Inline Translation

Can anyone help me with translation I have translated few words inline for example below is entry in database +--------+--------------------------------------+----------+------------------------------...
0
votes
2answers
57 views

Magento 2 : How to custom contact form

I want to custom my contact form like this: It must send data for user submitted via email How can I do that? Any help? Thank in advance.
2
votes
2answers
267 views

Why is the loading of scripts via RequireJS incredibly slow when they are not cached?

First of all, this is not a question about general Magento 2 performance. I'm already aware of how to speed up Magento 2, in general. My question is specifically about RequireJS and the assets served ...
0
votes
2answers
94 views

How to remove logo from product swatch images in product detail page Magento 2

I am getting one issue on the product detail page. I have created the configurable product and added the color swatches with images. when I visit the product detail page of those products. I can see ...
0
votes
1answer
45 views

Shipping method are not showing on shipping page

Shipping method are not showing on shipping page Sorry, no quotes are available for this order at this time Thanks.
1
vote
1answer
56 views

How to use .abs- (from abstract) from UI library LESS?

Magento Documentation for UI Library has said to use "Extend class names should have prefix .abs- (from abstract)" There is no other explanation for the usage in the documentation How should we use ...
0
votes
2answers
55 views

Pages are not displaying on the front end properly

I don't know what my developers did but a site that was loading fine is now showing users basically I'm assuming how a bot sees it. Only shows menus at the text, no pictures unless you scroll so far ...
0
votes
3answers
72 views

Custom javascript not running from module

I have a Magento module that currently provides a custom API route. I am wanting to update it to push some Javascript to the /customer/account page. I tried following the answer here but this didn't ...
0
votes
1answer
35 views

Magento 2 Customer account custom tab not loading properly

I'm trying to add a custom tab to the Customer account page. I followed the Mageplaza guide here, however I'm having two issues. First the menu item is added properly, but it points to routename/...
0
votes
0answers
27 views

Magento 2: How to add spellchecker in tinyMc editor in custom module?

I am using tiny editor in custom field in frontend form. I want to use spellchecker in this editor. I have a form with different fields including description that have tinyMce editor. The code of ...
0
votes
1answer
83 views

How do I send Order Confirmation Email after successfull Payment in Magento 2.3.0

I am struggling with this from past 3 weeks and tried almost all of the solutions suggested but nothing works for me. I want to send an Order Confirmation email after successful payment (Payment ...
0
votes
0answers
16 views

Magento UI range filters missing in Magento 2.3.3

date range filters are missing in the My Quotes section after migrating magento from 2.2.10 to 2.3.3 <div class="quote-grid-filters-wrap" data-part="filter-form" visible="hasVisible()"> <...
0
votes
0answers
15 views

Image is not saving when upload it from frontend custom phtml file

Images are not saving when upload it from frontend custom phtml file, image names are adding in database but it is not saving in media folder Here is my Controller $path = Mage::getBaseDir('...
0
votes
0answers
69 views

Magento 2: How to add multiselect dropdown field on my Home Page

I'm new in Magento 2 and I have created a custom module. Now I want to add multi-select dropdown field in my module's front template on my home page. How to add a multi-select dropdown, please?
0
votes
0answers
26 views

I created a form and that form data is not going to grid

Here is the code doctorsform.phtml <div class="myform" style="top:47px" > <div class="col-md-6 col-xs-12 contact-custom nopadding banner"> <h3>...
0
votes
1answer
14 views

I created one landing page, when customers fill all the details it should display in the custom module grid in magento admin panel

I created one landing page, when customers fill all the details it should display in the custom module grid in magento admin panel, how can i implement, <form action="">, what to put in ...
4
votes
2answers
108 views

Is Less File in Magento 2.3.X mandatory?

I have an eCommerce HTML template with simple CSS. I have a few queries before converting HTML into Magento 2.3.3 Question 1: Is a .less file is mandatory? Can we use a simple CSS file in Magento 2? ...
0
votes
1answer
105 views

How to create a frontend custom page module with view template files in magento 2.3

I have doubt as how to create Frontend Module with View template files. I have created Module using this reference Magento Documentation "https://devdocs.magento.com/videos/fundamentals/create-a-new-...
0
votes
0answers
14 views

List all parent categories in a page - Magento 2

I am a beginner in Magento. I want to create a new menu 'Categories' in the header and this link should redirect to a page which shows all root categories. Thanks
1
vote
0answers
175 views

Which File for /lib/web/legacy-build.min.js

I'm trying to change comment display in admin order page, i found this file /lib/web/legacy-build.min.js to edit the submitAndReloadArea function but the legacy-build.min.js looks like a generated ...
0
votes
0answers
16 views

Get all attributes with group name

I have a webshop with a lot of attributes, they are divided into attribute sets which I choose for the product and in the set I have groups to arrange the attributes. What I need is to het all the ...
0
votes
1answer
98 views

When to use app/code vs app/design

I saw two topics about that but I'm still not sure. I'm discovering Magento 2, I'm a frontend developer and right now, I just want to make my company website's header and footer (html, css) (so a ...
0
votes
0answers
117 views

submitAndReloadArea function location

I'm trying to add js code to the function that add an order comment protected function _prepareLayout() { $onclick = "submitAndReloadArea($('order_history_block').parentNode, '" . $this->...
0
votes
1answer
30 views

Related products are not showing on frontend

I'running my M1 shop for some years now. But I never used related products before. I use a single column template and like to show related products at bottom of product page. So at a config. ...
1
vote
1answer
40 views

Magento 2: translate in js?

I'm having an issue with some translations in Magento 2 2.3.0. My store is in french, most of the text works fine. It seems that the problem occurs only with content that come from JS (AJAX and ...
0
votes
0answers
55 views

Magento2 : How can I use or create step wizard in frontend

Is thare any step wizard ui controller available for frontend like installation Setup Wizard ? I want to create dynamic survey in which next question is based on previous one
0
votes
1answer
26 views

I am new to magento I want to know where the frontend routers are reflecting in config.xml file custom module?

I am new to magento, i want know in config.xml file there are two routers are there. one is for frontend router and other is admin router,please explain where the frontend routers will reflects. for ...
1
vote
0answers
179 views

react-select-search - Uncaught TypeError: this.state.value.slice is not a function

I am working on a ReactJS web app and using "react-select-search" package for search & select feature for countries' ISD codes. GitHub link to package used I've cross checked the values from ...
1
vote
0answers
23 views

Adding image and video file path to the custom table from the review frontend product view page

I have created a custom table for storing review_id (as foreign key),file_path and file_type(boolean 1 for image and 2 for video) as columns. i have to add the post values from the product review page ...
2
votes
0answers
212 views

Magento 2 : make a multiple step register form

I want to make a multiple-step register form in Magento 2. How can I do it? Any helps? Thank in advance.

1 2
3
4 5
25