Questions tagged [frontend]

Denotes questions related to frontend development, configuration and management

Filter by
Sorted by
Tagged with
1
vote
1answer
28 views

How to set Specific (dummy) image on the whole category products. Magento 2

Actually I add many products in my Magento 2 but we still dont have any images for that products so I want to set the a Dummy image on whole category products e.g like on Men categories products I ...
0
votes
0answers
22 views

Redirect user to login page from store Magento 1.9

I'm trying to rediect the user to login page after the store is opened the url for the store is e.g mysiteabc.com/store1 I want the user redirect to login page if he/she visits the store 1 I am ...
0
votes
0answers
24 views

Magento 2 FrontEnd: Display Information only for an admin user

As the title says, I want to be able to display some information in the product page that only appears for admins logged in. 1st question: How do I define an user (client) in frontend as admin? 2nd ...
0
votes
2answers
40 views

Magento 2 observer is not triggering

We are going to use controller_action_layout_generate_blocks_before frontend event in M2. please note same event which is working on M1 but it is not working please review my below code and share ...
0
votes
0answers
35 views

Page Messages for Newsletter Email Subscribe/Unsubscribe Not showing

I am using a third party theme (RokanThemes Clickbuy) and although I can see the addSuccess/addError when I inspect the page, no actual page message is displayed to the user when they click on ...
0
votes
0answers
10 views

Magento 1 - add class and id to description tab, additional information and reviews on product detail page

I want to make an external link that takes me to the product page with the reviews tab open but the tabs that are in the pdp have no id or class from where I can grab to do it ... can anyone help me?
0
votes
1answer
34 views

Magento 2 - How I can made Tabs to be sticky

I have add tabs in the product view page: <referenceBlock name="product.info.details"> <block class="Magento\Catalog\Block\Product\View\Description" name="product.info.description" ...
0
votes
0answers
15 views

Magento 2 match header search layout for mobile and desktop

I'm wondering if there is a way to replace the desktop header search element (search input box) with the way it is implemented in mobile (show only a search icon, and when you click it the search ...
0
votes
1answer
44 views

How to Disable province , zipcode and country from checkout. Magento 2.2

In Magento2 - I want to remove ZipCode , Province and Country name from the Checkout page for which I tried Vender/Module/view/frontend/requirejs-config.js var config = { config: { ...
0
votes
1answer
60 views

How can I change the City Name to Drop Down on Checkout Page. Magento 2

I want to change the city name to dropdown menu like in dropdown it shows specific cities name like NYC, Mumbai,HongKong,Karachi and etc how is it will be possible?
1
vote
1answer
52 views

Magento 2 - Assign product to category on frontend

I am creating a frontend from for Sellers to add/edit their product on website, product adding/editing is working perfect. Now I have to assign that product to a category Almost on every article and ...
0
votes
0answers
15 views

Catalog Price Rules won't apply in my Magento 2.3.x

I try to apply a one catalog price rule, so the condition that I have stipulated in backend is: If ALL of these conditions are TRUE : Attribute Set is Update attributes If ALL of these ...
0
votes
0answers
16 views

How show old price in final price of configurable product in magento 2.x

ok i have this problem, i add the configuration to show old price on base price of the product see this pic so now see this function correctly , so when i choose a option, if this have a special ...
4
votes
1answer
80 views

Magento2 :How To Use Form Key In Frontend Grid Using Ui Component

When i try to perform massdelete action from frontend grid using uicomponent than it has throws invalid form key error. Does anyone know how we can use form key in frontend grid ?
0
votes
1answer
12 views

How to add Loader for after placing a order in magento 2

I am using an online payment method Paypal on my site. I can place the order successfully using the Paypal payment method. But after placing the order, it takes some time to redirect to the success ...
0
votes
1answer
40 views

Customer menu is not displaying after login

We are building our website using Magento 2.3 EE. We have extended the luma theme. While we test our site, we have found out that there is no links for customer to go to My account page. Please see ...
0
votes
2answers
123 views

Static content deploy issue for Magento 2.3.2

Hello! After upgrading Magento 2.1.8 to Magento 2.3.2, I get an error when run command: > php setup:static-content:deploy or > php setup:static-content:deploy en_US -f Text of my Error: ...
0
votes
1answer
28 views

I have recently install magento 2.3, the app/design/frontend/magento/ is empty

I have recently install Magento 2.3. The app/design/frontend/magento/ is empty. I want to modify the product detail page and catalog detail pages. I am new to Magento can anybody help me in this
0
votes
0answers
17 views

Magento 2 how to populateWithArray() of magento load by id data

Actually I am facing an issue when I use populateWithArray() function. I would like to populate data of my $this->modelFactory->create()->load($Id) collection. I am using the below code but ...
0
votes
0answers
37 views

Magento 2 - Products are being duplicated on frontend replacing other items

We're experiencing issues on our frontend, as new products being added to Magento are being overwritten by other items that are already online. We add items into Magento through a CSV which is run ...
0
votes
3answers
72 views

Don't work bin/magento setup:static-content:deploy after upgrade Magento to 2.3.2

Hello! When i run command bin/magento setup:static-content:deploy i give errors: And my second error: frontend/Magento/blank/en_US 4225/4225 ============================ 100%...
0
votes
0answers
68 views

Imags are not displaying on product-listing and product detail pages

I have exported and imported products in magento2.3.0 but images are not displaying on storefront. When i check the source-code in image path is loading but dont know why its not displaying. Working: ...
0
votes
0answers
10 views

Design a header with logo, nav-links and cart in one line

I want to design a header by extending the Luma theme. I have attached pic on how I want the header design. Can someone please help me with this? Am new to Magento and still learning things. I am ...
2
votes
0answers
17 views

How sales rule condition validation work in Magento 2?

Please let me know, In Magento 2 How Sales rule condition validation works with the quote? Thanks!
1
vote
0answers
21 views

Magento 2.2.9 question about foreach data into popup modal

I am trying to do a popup modal with this information I have in an array. I have ID, NAME and DESCRIPTION So in a function, I have done foreach to gather all the information and i am showing it on ...
1
vote
1answer
28 views

I'm starting at zero and need advice:

My name is Mathias, I'm completely new to web-development and all of this and I would appreciate it if someone can quide me the right way to start learning the basics. Very short part to my ...
0
votes
2answers
27 views

Magento 2.3.x Product Description showing at short below image place

so how i can move the product description container to below image place?. so i need modify the file catalog_category_view.xml and another file?
0
votes
0answers
35 views

Magento2: Create Multi Select UI Field on Frontend as Admin

How to create a multi-selector dropdown with Category on frontend side as Admin Add Product Page. Shown as here screenshot I am trying this Tutorial Multi-selector on Frontend as admin side But is ...
1
vote
1answer
23 views

Magento 2: How can I change the frontend mobile menu position and transition

The mobile menu does a transition from the left side of the screen and shows a small part of the background in the right, how can I change the transition to start from the right and leave the ...
1
vote
1answer
71 views

Magento 2: Add To Cart button

In magento 2 i have tried moving add to cart button on product view page its moving along with swatches, now if i move back swatches to default place then my add to cart button is not working can any ...
0
votes
0answers
16 views

How to actually make the site? [duplicate]

I've installed the demo site twice (with and without sample data) in the hopes to understand how everything ties together. Unfortunately, I'm still stuck as to actually designing and building the ...
0
votes
1answer
61 views

Product page broken after upgrade to 2.3.2

We have recently upgraded Magento 2.3.0 to 2.3.2 and the frontend on product pages is broken. The rest of the site appears to be working ok, but the product page is just loading a gallery loader, ...
0
votes
1answer
175 views

Change date of birth date format in Magento 2.3

I want to change the validation for DOB field on create account page. Currently the validation is in the format mm/dd/yyyy , I want to change the validation for that field to dd/mm/yyyy. Can anybody ...
0
votes
0answers
17 views

Magento 2.X: How change Category name to not necessary

i have this question, how can add category but without category name in magento 2.3? so i need this category name print in navbar but not in container theme.
0
votes
0answers
39 views

How to load content through ajax call in collapsible Widget

I want to load content dynamically through ajax call. For that, I read below documentation. https://devdocs.magento.com/guides/v2.3/javascript-dev-guide/widgets/widget_collapsible.html#...
0
votes
1answer
20 views

Error in magento 2.3 Class Does Not Exist in backend and frontend

I upload my magento 2.3 on my server, so when i navigate in the frontend the navbar is disappeared see the photo so when change the mode to developer, to see the error in backend output print this ...
0
votes
1answer
67 views

Show Order Details in Order History

Basically I want to show Customer's Order Details information in order History page under Customer Account My Order History Page. Exactly what I'm did? I have overridden vendor/magento/module-...
1
vote
2answers
65 views

Magento 2: phtml page adding buttons and pop up models

Is it possible to add a few buttons and once the user clicks get pop up model which built by Magento 2? I want to allow the user to click a button and display a pop-up I was thinking to add 2/3 ...
0
votes
0answers
11 views

Magento 2 - I have removed duplicated tables from database and part of home page is not showing

Magento 2.2.7 In DB I have found that I have a duplicated database. My database tables have prefix dev_ while there were identical tables without prefix that was probably left after some "test" ...
0
votes
0answers
30 views

Magento 2 Christmas advent calendar

Is it possible to create an advent calendar on a page? I want to lock the dates and only let the users view current date or previous dates to be clickable
0
votes
3answers
51 views

Magento 2 : How disable a footer links in luma theme

I try to disable that's footer links: have defaulted in luma theme but I not found the configuration to disable that. How to disable that's link without touch the core files.
0
votes
0answers
30 views

Magento 2 add CMS block under discount code section on the checkout page

I want to add third party JS code and HTML on the checkout page under discount code section. To add it under discount code first in Checkout_index_index.xml file I have added following code. <?...
0
votes
0answers
16 views

Knockout subscribe activates onblur not on change for admin product SKU input

I have 2 inputs on the product form working correctly and firing every time there is a change but any other input I access in the same way as the working 2 is firing onblur or when it loses focus. Is ...
0
votes
0answers
21 views

Magento 2.2 customer attribute value not update on front-end if cache it not cleared?

I have created a new customer attribute. In a custom page, I want to show that new attribute's value. Due to the full page cache, it doesn't show the data as I update it from the backend until I ...
0
votes
1answer
37 views

Dependent dropdowns in Magento 2 Frontend

How can I create a pair of dropdowns such that when one is selected, the options for the other one are updated? PHTML <?php $stateList = $block->getStates(); ?> <div> &...
0
votes
1answer
117 views

Magento 2 - How to validate wysiwyg editor in frontend PHTML file?

In Magento 2.3.2, I have added the wysiwyg editor in frontend PHTML file with the following codes. HTML: <form class="form" action="<?php echo $block->escapeUrl($block->getSavePostUrl()...
0
votes
4answers
59 views

Magento 2 - How to get a list of newly created products on homepage

how I can get a list of newly created products? I want to display in frontend the latest added products.
0
votes
1answer
71 views

Duplicated product not showing on front-end, Magento 2.3.2

I have upgraded my Magento EE store from 2.2.7 to 2.3.2, and the issue I am facing is, after duplicating a product, the duplicated product is not showing on frontend. The urls are generating, product ...
1
vote
1answer
26 views

Get front-end customer admin navigation

I'm a beginner in Magento and I try to create a page on which I get all orders of a customer payed with a custom payment method. Now, the page work but I want the page to looks like a real customer ...
0
votes
1answer
52 views

Magento 2 - Products not showing in front end

I have an issue with my development store (Magento 2.2.7), I have cleaned all data from the database with this tutorial (https://www.titechglobal.com/magento-2-x-how-to-clear-test-data-before-...