As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [frontend]

Denotes questions related to frontend development, configuration and management

Filter by
Sorted by
Tagged with
0 votes
1 answer
79 views

Display prices on frontend even if base is zero

I am using my store as B2B. I have prices per customer according to their customer group pricing. My problem is that i dont have in all retail prices to add in base price. So base price is zero in ...
Gogoulos Tasos's user avatar
0 votes
1 answer
511 views

How can i add new button in checkout shipping step near Next Button in Magento 2?

How can i add new button in checkout shipping step near next button as show in screenshot also need to call controller when button click can any one help me how can i do this?
Jay Parmar's user avatar
0 votes
1 answer
74 views

Difference between various default.xml

I'm trying to do some simple modification to my theme, but I can't understand why there are 2 different default.xml files, one under \vendor\magento\module-theme\view\frontend\layout\ and the other ...
Delio's user avatar
  • 1
0 votes
3 answers
420 views

I want to delete marker from my html, css. Its showing on store view

I have marker showing in my slider on store view how can I remove it, I can't find this code in html. [
Haider Mohammed's user avatar
0 votes
1 answer
244 views

How can I set custom value in "created_in" when customer data import in Magento 2?

I need to set custom value in this field "created_in" when customer data import using admin side how can I set the custom value in that . I need to set custom value in that can any one ...
Jay Parmar's user avatar
0 votes
1 answer
1k views

How can I check email template variable empty or not in mail template in Magento 2?

I want to check the mail template variable is empty or not in my custom mail template I do follow code in that {if $data.nature_of_business != ''}} <li><strong>{{trans "Nature of ...
Jay Parmar's user avatar
0 votes
1 answer
491 views

How can I move top search div from left to right in header-wrapper in Magento 2?

I need to move top.search from right side to left side as per given in screenshot, I tried this below move element but this is not working <move element="top.search" destination="...
Jay Parmar's user avatar
0 votes
1 answer
759 views

How can I move logo to centre and top-search to left side of screen in Magento 2?

I want to move header logo to centre and top. Search bar to the left side of screen as per show in screen shoot how can I do this using default.xml file
Jay Parmar's user avatar
0 votes
1 answer
330 views

How can I move store switcher from footer to top header bar in Magento 2.4?

I want to move my store switcher from footer to top header bar like this like show this is footer screen shoot at here right side of create account link in Magento 2.4
Jay Parmar's user avatar
0 votes
0 answers
154 views

How can i set wish list for guest user in magento 2?

i need set Wishlist for guest users also Guest can also able to add item in Wishlist. after add item guest login into account that time Wishlist must be marge. all Wishlist functionality must be ...
Jay Parmar's user avatar
2 votes
1 answer
476 views

Magento 2 : How to display cms_page custom attribute image in frontend?

After save image is store in pub/media/cms/page/attribute/my_image. And save image name in database cms_page table my custom column. So how to display image in frontend ? Backend image Fronted Image :...
Darshit Parmar's user avatar
0 votes
1 answer
240 views

Magento 2: How to load all product images from external url in front end and backend?

Magento 2, How to load all product images from external url in front end and backend
kanidhaya's user avatar
  • 160
1 vote
0 answers
17 views

Different frontend CSS results (Grunt vs deploy:mode:set production)

I have a weird issue where the frontend results of a grunt compile are different compared to a compilation after deploy:mode:set production. UI elements are different. Why is that? How can I debug/...
Akif's user avatar
  • 1,432
0 votes
0 answers
521 views

Klarna payment not showing in Magento 2.4 frontend checkout page?

I am adding Klarna API username and Klarna API password and enable it. Then on going to checkout page it doesn't show on frontend. I am using Magento 2.4. Is there any issue with klarna with magento 2....
Prits's user avatar
  • 626
0 votes
1 answer
265 views

Magento 2.4 Preference on Block does not work

What i'm trying to do is to rewrite a core function of ( MagentoMagento\ConfigurableProduct\Block\Product\View\Type\Configurable ) The function is called getJsonConfig() public function getJsonConfig(...
Jonathan Herman's user avatar
0 votes
1 answer
731 views

How can I override the default config class in custom module in Magento 2?

I want to override Config class using plugin. Here is my di.xml file <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
Jay Parmar's user avatar
0 votes
1 answer
84 views

How to check system config field value before used in front end in Magetno 2?

I need to check the config field value before they used in fronted at any where Suppose Ex. customform/general/adminmail, the field i used in many extension so i am check that value befor they used ...
Jay Parmar's user avatar
0 votes
1 answer
316 views

Magento 2 form key changes on going from front-end to back-end

I have a button on front-end category pages for editing these pages. On click it redirects to dashboard rather than category edit form in admin side. $objectManager = \Magento\Framework\App\...
aich.khalid's user avatar
2 votes
1 answer
788 views

checkout cart page stock status check in magento 2.3

How to check checkout cart page stock status in magento 2.3 my custom code add this file but not working <?php if ($product->isAvailable()): ?> <div class=&...
Ravindrasinh Zala's user avatar
0 votes
4 answers
167 views

On setting New Magento 2.4.2 Version Front-end is messy

On Setting Magento 2 Store with version 2.4.2 my front-end is messy like . i have removed my var cache folders and pub->static folders and run php bin/magento setup:static-content:deploy -f and ...
Prits's user avatar
  • 626
1 vote
1 answer
109 views

How can i create custom filter with custom attribute in header panel in magento 2?

I create one product attribute which name "country" type drop-down. in that i add two country there US and CA now at front-end , front header show custom drop-down with that product option . ...
Jay Parmar's user avatar
1 vote
1 answer
274 views

Magento 2 : I want to add categories from front-end using controller in Magento 2

Here is the code I am using but it is given error. Please help. Thanks in advance. $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $rootCat = $objectManager->create('Magento\...
Shubham Sahu's user avatar
0 votes
1 answer
68 views

I created two dynamic fields in admin but one of them not working in Magento 2?

Here I set two dynamic fields in one configuration but second dynamic field does not work My system.xml file <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/...
Jay Parmar's user avatar
0 votes
1 answer
180 views

Magento 2.4.2, child theme of Blank - Front end. How do you remove properties in parent Blank theme styles, for example footer border?

The file I use to override these styles: app/design/frontend/Vendor/ChildTheme/web/css/source/_module.less as per M2 documentation. I tracked that it applies my modified styles, but then goes and puts ...
TMNR's user avatar
  • 11
0 votes
1 answer
711 views

How can i set input field on Magento 2 admin data grid in Magento 2.4?

i create magento product data grid on front and creat one add to cart button for selected product add to cart . but in that i need to set quantity field as input field user can fill quantity as per ...
Jay Parmar's user avatar
1 vote
3 answers
648 views

Change qty script

I use a script to change the qty in the product view page and in the shopping cart page but I have a problem. when I decrease the qty instead the latest value to be 0 is -1. How I can stop the ...
Robert's user avatar
  • 2,156
3 votes
3 answers
1k views

Magento 2.4.2 Customer Login Not Working

When a customer tries to login to the front end website, they enter their user name and password and then when they click to login, it appears to be successful but they were not logged in. This is a ...
statuscue's user avatar
-3 votes
3 answers
570 views

I want to develop custom grid module with add buttons in Magento2 [duplicate]

I want to create custom module in which grid in backend with all add,edit,delete,and mass delete and also with buttons in grid for reset,back,delete,save and display it on frontend. so can anyone have ...
Deep Shah's user avatar
  • 541
0 votes
1 answer
48 views

Magento 2.1.10 ce Developer Documentation

Where can I find the Developer Documentation for an older version of Magento, specifically, version 2.1.10. Magento's website only has the DeVDocs for 2.2 and while these are okay I would they aren't ...
A. Andersen's user avatar
0 votes
0 answers
326 views

How to add custom checkout form in checkout step in magento 2?

I want to need to add three form field in my custom checkout step and also they save in data base here below mention my code ho can i add that form mention in screenshoot to this custom checkout step ...
Jay Parmar's user avatar
0 votes
1 answer
59 views

How can i add three form field in my custom checkout step in magento 2

I want to need to add three form field in my custom checkout step and also they save in data base here below mention my code Vendor/module/view/frontend/web/template/checkout/mystep.html <!--The '...
Jay Parmar's user avatar
1 vote
2 answers
822 views

Element 'block', attribute 'display': The attribute 'display' is not allowed...... in magento 2

I am working with Magento 2.3.5 community edition. I am facing this issues Element 'block', attribute 'display': The attribute 'display' is not allowed in .. on magento frontend when I am in '...
shankar boss's user avatar
  • 1,419
0 votes
3 answers
103 views

How to add Twenty Twenty(Image Before & After) in magento2.4.2

I need to add a picture comparison function. This is the code Twenty Twenty I need, it looks very good, and it's free. But we don't know how to make it run. Twenty Twenty Download Link https://zurb....
Angelo's user avatar
  • 75
0 votes
2 answers
377 views

How can i hide specific shipping method for specific customer group in magento 2

i want to make one custom module in that i set customer group and shipping method than that particulate customer group hide that shipping method can any one help me how can i do that.
Jay Parmar's user avatar
0 votes
1 answer
33 views

How can i rewire the language url in mahgento2

How Can i Rewrite the Language Switcher URL in magneto 2 i used that language switcher in that the URL with "___store=fr&___from_store=en" so how can i rewire for all place
Jay Parmar's user avatar
0 votes
2 answers
37 views

Problem displaying custom favicon

I am encountering an issue when theming on Magento CLI 2.3.5-p1. I want to customize the favicon. During my first attempt I just drop a new icon on web folder and named it favicon.ico. It works but ...
violetteviolette's user avatar
0 votes
1 answer
64 views

How To change Product Detail Page Image Section Height In Magento2?

How Can I change Product Detail Page Image Section Height. I Need To Decrease That Section Height. i need to fixed this left column height as right column in magento 2 can any one help me how can i ...
Jay Parmar's user avatar
0 votes
2 answers
835 views

Can't override list.phtml in Magento 2.4

I try to override the list.phtml in Magento 2.4 but it's not working. Here is the path to my new file : app/design/frontend/Magento/timeote/Magento_Catalog/templates/product/list.phtml All the other ...
user94535's user avatar
1 vote
2 answers
434 views

Magento 2 - Change amount of products per row in category view

Currently there are showing 4 products per row in the category view. How can I make it show 3 products per row instead? I found this answer. It says there is a file Magento_Catalog\web\css\source\...
Black's user avatar
  • 2,993
0 votes
1 answer
170 views

Magento 2.4.1: Uncaught Error: [object Object] at Object.<anonymous> (default.js:8474)

The error as the post title appears in the cart page. default.js is the bundle that I created with advanced JS bundling. You can see that this is where the error has originated from. When looking at ...
CodeForGood's user avatar
0 votes
1 answer
70 views

My Account page Back to My Orders link how to move after Order Information in magento 2.3.6

My Account Page Sales order invoice page Back to My Orders link how to move after Order Information in magento 2.3.6 http://magento2.com/sales/order/invoice/order_id/22361/ vendor/magento/module-...
Ravindrasinh Zala's user avatar
0 votes
1 answer
873 views

How to override model-popup.html magento 2.4.0

How to override modal-popup.html h1 tag replace span tag. vendor/magento/module-ui/view/base/web/templates/modal/modal-popup.html <h1 id="modal-title-<%- data.id %>" class=...
Ravindrasinh Zala's user avatar
1 vote
1 answer
423 views

Magento 2 smtp could not open socket in Aws Setup For M2

My Site is on aws instant and I am used gmail smtp for sending mail from that but I have one sending mail error and try to solve it but not get any solution This kind of error I find when I send mail ...
Jay Parmar's user avatar
0 votes
1 answer
64 views

How to add custom text in custom option in magento 2.3.2

How to add custom text in particular custom option after in magento 2.3.2
Ravindrasinh Zala's user avatar
0 votes
1 answer
701 views

SET THE RIGHT DOMAIN NAME IN MAGENTO 2 COOKIES

I set cookies (in Magento 2.3.1 EE) with this code below: <script type="text/javascript"> require([ 'jquery', 'jquery/jquery.cookie' ], function ($) { $(document).ready(...
Alain Landry Noutchomwo's user avatar
0 votes
1 answer
48 views

frontend and backend design not working after create multi store for multi language

Hello I want to create multi language site in magento2. I have follow particular magento2 tutorial.link that I have used. After I have follow command 1.php bin/magento indexer:reindex 2.php bin/...
jaydipsinh's user avatar
0 votes
1 answer
19 views

cannot use again my magento site

I cannot use my frontend site on a pc browser. I will get only a grey site and cannot click any Link. Hope somebody can help me there. kindly regards for any answer.
haiflosse's user avatar
0 votes
0 answers
28 views

magento 2 append widget

<reference name="content"> <block type="cms/widget_page_link" name="48fc761f38fa9838fcc3a3b498c47f72" template="cms/widget/link/link_block.phtml"&...
aich.khalid's user avatar
0 votes
2 answers
486 views

indexer:reindex not running in Magento 2

I have 60 million product in my Magento 2 Store. On running sudo php bin/magento indexer:reindex it will run successfull for only 2 the don't know why it doesn't show any error. Any it will not ...
Prits's user avatar
  • 626
0 votes
1 answer
301 views

How can I disable the glowing blue border on focus from all input fileds

I wonder if you could help. I would like to disable the glowwing blue border on focus from all my input fields and replace it with border-bottom: 1px solid black. I found this input#search:focus:not([...
PawelP's user avatar
  • 11

1 2
3
4 5
27