Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [frontend]

Denotes questions related to frontend development, configuration and management

0
votes
1answer
11 views

Custom layout extending 2columns-left.xml problem

I'm trying to create a custom layout based on 2columns-left.xml. The layout was created correctly and I can select it from the Admin. This is what I did so far: I created the layouts.xml file THEME/...
5
votes
0answers
24 views

Magento 2 : How to get Final price & Original price of all types of product

How can I get Original price and Final price of given below types product? Simple product Configurable product Bundle product Group product For simple product I can get price easily using below code....
2
votes
1answer
27 views

Magento2 how to remove “choose an option” in configurable products drop down

how to remove "choose an option" in configurable products drop down and in drop down menu have the first attribute value be the top choice if any one idea reply me
0
votes
0answers
14 views

“Custom Attribute” is a required field Error Message - Custom customer Attribute on register user

Hello I added an custom customer attribute "kndnumber" to my register page. Attribute is successfully created in DB. My Problem is when I submit the user register request the error Messsage "...
0
votes
1answer
28 views

how to display purchase order number in customer dashboard frontend?

I am using Magento 2.1 . I want to display purchase order number in customer dashboard.
0
votes
2answers
36 views

CSS are compiled but not called in frontend

I added css on my website. One is bootstrap and one is a custom css. I addedd it on my Magento_Theme folder (inside layout/default_head_block.xml) <css src="css/bootstrap/css/bootstrap.css" order="...
0
votes
1answer
15 views

custom less not working in magento 2 production mode

I've a less file inside app/design/frontend//web/css/source/_test.less and included in default.xml like <head> <css src="css/source/_test.css" /> </head> It's working perfectly ...
0
votes
0answers
5 views

Magento2.2.x how to set admin Filter functionality on custom page on frontend grid?

I have created a custom page and I want to set admin filter functionality on a custom grid on the frontend. Admin Filter - look the first image. Frontend grid - want admin type filter above on grid ...
1
vote
2answers
44 views

Magento 2.3 Can't view module's front end page output?

I'm a bit of a noob when it comes to module development for Magento 2, and I need some help: I've started developing a module (for testing purposes) on a localhost installation of Magento 2.3. Now, I ...
0
votes
0answers
11 views

Magento 2. Custom text in place of Price is not working Properly

In custom module I hide the Price and in the place of Price I tried to show Custom text it work perfectly but in some Categories it shows the custom text twice e.g men, Women. I can show the details ...
2
votes
2answers
22 views

Magento 2. how to hide 'Add to cart button' using Plugins

How to Hide 'Add to cart' button using Plugins.I'm stuck in to hide add to cart button if you guys help me it will be a really glad for me Thanks in advance
2
votes
0answers
25 views

Magento 2. how to hide price only for specific categories

Actually I hide the price using Plugin but now I want to hide price only for specific categories like I only want to hide the Price for bags. I want to do this thing by using Admin configuration like ...
0
votes
0answers
11 views

Create attribute with frontend input Magento2

Is it possible by coding or any extension to allow user to enter input using attributes. So just like Custom options I want to have the ability to input data on frontend. The reason I want to have it ...
0
votes
0answers
6 views

How can open Category item in new tab?

How can open Category item in "new tab"? In home page all item open in new tab because I have used target="_blank" but this attribute not working on my category page. my category root path is /...
1
vote
3answers
47 views

Frontend styling has disappeared, and I can't get it back

Disclaimer: I'm new to Magento 2 development as of Nov 2018, and new to development generally as of mid-2017. So I'm new to asking development-help questions too. Most of the time I can figure it ...
0
votes
0answers
30 views

Magento 2 - How to show product grid in my custom module?

I created a custom module,in that module I want to display product listing grid based on selection I want to do some different operations for selected product in frontend.Can anyone help me how to ...
1
vote
0answers
186 views

Magento 2 Certified Professional Developers Plus Exam Reading Material

Recently Magento announced Certified Professional Developers Plus exam for Magento2. https://u.magento.com/magento-2-certified-professional-developer-plus I have some questions about this ...
0
votes
1answer
48 views

Magento2: How to apply discount on all cart items programatically

I want to add a discount on cart items for the specific customer.
1
vote
3answers
117 views

Magento 2.x: add column to sales order history page (FO)

What are methods for add a column to sales_order_history page? without edite view/frontend/templates/order/history.phtml can help me please ?
-1
votes
0answers
16 views

INVALID LOGIN OR PASSWORD on Frontend

Some customer's are facing the INVALID LOGIN OR PASSWORD when try to log in. Is like the password is "expiring" after one access. I'm able to set up a specific password through the admin, they get ...
0
votes
1answer
55 views

Magento 2 : frontend calendar localization

I'm becoming crazy with the frontend translation of the mage/calendar widget in m2. Does somebody know how to localize it? I have a calendar that's showing up on the front (from a bought module that ...
0
votes
0answers
30 views

How to get and show the best selling products in magento 2

I wish to show best selling products in homepage.Please provide me a solution to get best selling products and display in hoe page. Thanks
0
votes
0answers
64 views

Magento 2: Unable to register the new customer

I need to create a new customer along with newsletter subscription. But I found a error when try to register new customer though exception occurs new customer data is saved in database. The error ...
1
vote
0answers
29 views

Magento 2: understand processing order of layout handles and other directives?

I am preparing for certification on Magento 2 and I am having difficulty understanding this questions. Can anyone help me with these questions? Understand processing order of layout handles and other ...
0
votes
1answer
44 views

Magento2: Unable to reload customer cart section

I am using welpixel quick view extension for quick view on product listing, but due to some customizations I am unable to use it as it is. So I just used its url to get html and appended data using ...
0
votes
2answers
51 views

Magento 2.2.6 : Add custom phtml file after product price in catalog search result page

I want to add custom code in my catalog search page. I don't want to override product/list.phml file . But, Just display my custom code in catalog search result page after product price. How to add ...
2
votes
0answers
24 views

Magento 2.2: How to show a cutomer custom attribute on frontend?

I need to show my custom attribute in the next windows: On the address book: On the checkout page: And in the backend customer edit: It is possible assign the attribute with XML file without ...
0
votes
2answers
24 views

How to add class if a product have Customizable Options in Product Details Page in magento 2

I have two types of products in my site Type 1 :products with Customizable Options Type 2 :products without Customizable Options I wish to add one custom class(for css purpose) to the products which ...
0
votes
0answers
10 views

M2 js getUrl links randomly absolute or relative

I am not used to frontend development... We have a link like this: <a class="primary button" data-bind="attr: { href: getUrl('my-special-page') } href="my-special-page"> <span data-bind="...
0
votes
0answers
73 views

Grunt compile of LESS fails with Error compiling lib/web/css/docs/source/docs.less

I'm hoping to get some advice. I pulled a project that I haven't touched in some time and in developer mode I ran 'grunt exec' followed by 'grunt less' and once running 'grunt less' I receive the ...
0
votes
0answers
59 views

How to change sort order of image gallery in Magento 2?

i'm using magento 2 defualt image gallery. I'm trying to change to sort order of image. I need this active image to come first in the left image sidebar. public function getGalleryImagesJson() {...
0
votes
1answer
33 views

Magento2: How to create custom model collection?

I want to create a custom cart item collection model. I want to get already added cart items collection from the database.
0
votes
1answer
25 views

Magento2: I want to get customer cart item collection without customer login

How to get customer cart item collection without customer login? I want to also get cart item through item id. Got the null value <?php namespace vendor\module_name\Block\Index; class ...
0
votes
0answers
40 views

Frontend theme Bootstrap 4 boilerplate for Magento 1.9

Is there a basic Bootstrap 4 theme, without special customizations to start with the development of your own design?
0
votes
2answers
56 views

Magento2: Customer name is not showing on product page

When the cache is enabled customer name is not showing on the product page. When the cache is disabled customer name is showing properly on the product page. header.phtml <?php /** * Copyright ©...
1
vote
1answer
29 views

Magento 2.2.5 - Widgets and Blocks are not visible on home page

I have created a custom theme with a parent theme (template monster). Now, the home page of my store no longer has the widgets and blocks that were present in the parent theme. The home page appears ...
0
votes
0answers
16 views

How to display reviews in a separate block in magento 2

I wish to display review form and the collection of all reviews into a single custom container. Please provide me a solution to display review form in a separate container in magento 2
0
votes
1answer
96 views

How to add custom block link to email template and link hit from email to specific page? [closed]

How to add custom block link to email template and link hit from email to specific page?
0
votes
2answers
35 views

Magento2 Search Issues

Using Magento 2.1.10 The search part of Magento 2 seems quite buggy. I have a product titled "abc with xyz". When I search "abc", the product gets displayed but its pushed in between the collection,...
0
votes
1answer
63 views

Magento 2 Error: Product disappeared on frontend, one store view only

We are having a weird problem since some days after the shop running for months without trouble. On one day (only thing we did were some backup-operations on the database which might have caused this)...
0
votes
0answers
16 views

Changing store view to disabled in Magento 2.2.5 to remove selector from frontend

I am upgrading my site to be upgraded from Magento 1.9.0.1 to Magento 2.2.5 and I have several storeviews that I use for assigning orders from ebay and Amazon. In my previous Magento 1.9.0.1 install ...
4
votes
1answer
38 views

How to create Mobile Application of Magento 2 Native?

How to create Mobile Application of Magento Native ? Using Magento 2 default REST API's how to create Front-end Magento 2 application ?
1
vote
1answer
86 views

Magento 2.2.6: How to add <div> on product listing page without override file?

I want to add custom div on product listing page under class="product-image-container" <span> without override product list.phtml & catalog_category_view.xml file. And i also want to ...
0
votes
1answer
62 views

Magento2: how to get customer collection using search functionality?

how to get customer collection using search functionality?
0
votes
1answer
98 views

WYSIWYG Editor Insert Image Browse Button not Showing on frontend

I have a problem with insert image popup. The popup opens, but I can't see the browse button so I can't upload an image from frontend. What can be the problem? On phtml i have used below jquery to ...
1
vote
2answers
43 views

how to use plugin/other module for add html for other module in magento 2?

I want to render html (Front-side) using plugin/other module in different module. There's already existing form in Module X. I want add one drop-down in that from using Module Y. How can i achieve ...
1
vote
1answer
48 views

Magento2: I want to set custom quote price programmatically

I want to set custom quote price programmatically. Without the observer method. The observer method is working fine but it is worked on add to cart button. Please check my observer file below <?...
1
vote
1answer
73 views

How to create a dropdown list in a form of registration for customer magento 2

I want to create a new attribute named status as a dropdown list that contain 6 static values.
0
votes
1answer
31 views

Get the complete path product url

I'm using Magento EE 2.2.5 I need to get the product url of a product with its category path. Presently, I'm using the code $product_url = $product->getUrlInStore(); And also tried with $...
0
votes
1answer
115 views

Move related products to “Details” tab on product page

I would like to move related products to "Details" tab below description on product page.