Questions tagged [frontend]

Denotes questions related to frontend development, configuration and management

Filter by
Sorted by
Tagged with
0
votes
0answers
21 views

Frontpage crashes once i login

I am using magento 2.4.2. My site is working in 2 stores. English and Greek. without any login in frontend, everything works fine. My problem is that when i login from Greek store my site crashes. i ...
0
votes
1answer
30 views

How to set restriction on checkout shipping step navigate to next button in Magento 2?

I save quote data in one of my custom table in that table grid manage by admin in that I manage on status if this status was enable for that cart and then next button work other wise next button was ...
0
votes
0answers
11 views

i want to add category section bar below my website to show as Mobil app

how can i add this bar below to my website, i use magento 2.3.6 porto theme
0
votes
1answer
20 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 ...
0
votes
1answer
9 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?
0
votes
1answer
22 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 ...
0
votes
3answers
45 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. [
0
votes
0answers
14 views

How can I save product video source information from admin and display in product video gallery in Magento 2?

I need to save product video source information for that I add field to block form newvideo.php but now how can save as video information in m2 tabels there 4 table dependence on that ...
0
votes
0answers
14 views

Success screen stuck in luma theme Magento 2.3.5 Community Edition

everything good? I'm trying a problem that I've never caught in these 2 years of magento, I would like to know if you've been through this for tips on how to get out. On the success screen, the layout ...
0
votes
1answer
32 views

Get Product-Sku on removeFromCart

I'm trying to get the product-sku (and name) of a product, whenever a customer adds or removes it from his cart or changes the quantity of that product. I was able to come up with the following for ...
0
votes
1answer
34 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 ...
0
votes
1answer
39 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 ...
0
votes
1answer
23 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="...
0
votes
1answer
42 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
0
votes
1answer
13 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
0
votes
0answers
14 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 ...
1
vote
1answer
58 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 :...
0
votes
1answer
35 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
0
votes
0answers
19 views

/var/www/demo/app/code/Eaglerocket/Customquote/view/frontend/templates/index.phtml How can I see its view?

I have created a pop up modal, how can I see its content on the website to check whether the pop up is opening or not?
1
vote
0answers
13 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/...
0
votes
0answers
34 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....
0
votes
1answer
25 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(...
0
votes
1answer
43 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:...
0
votes
1answer
30 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 ...
0
votes
1answer
21 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\...
0
votes
0answers
15 views

Filter product everywhere on frontend view based on the attribute value

I want to filter products based on a specific value everywhere on the front end view. Suppose, I want to filter products everywhere on the front end view whose price is less than 100 dollar. So while ...
0
votes
1answer
21 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=&...
0
votes
4answers
65 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 ...
1
vote
1answer
41 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 . ...
1
vote
1answer
32 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\...
0
votes
1answer
17 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/...
0
votes
1answer
18 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 ...
0
votes
0answers
16 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 ...
0
votes
2answers
31 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 ...
0
votes
0answers
14 views

in magento 2.4.1 and 2.4.2 customer custom image type attribute not save in frontend

I create Custom Image type Customer Attribute for save image but while create customer from backend save attribute but i will not work in frontend, image attribute not save from frontside so please ...
0
votes
0answers
9 views

How can I insert my custom checkout step form data when place order in quote table and in sales_order table in magento 2?

I create custom checkout step with my custom form in that I need to submit three extra field in quote table and sales order table. So, how can I submit this form data in that table when order place. ...
1
vote
0answers
63 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 ...
0
votes
0answers
18 views

Magento 2 Cross Sell products layout are breaking in shopping cart page even in default Theme

We are facing a issue with the Cross Sell products layout in shopping cart page. The product items that are rendered are not loading in proper HTML structure and resulting the items layout to beak. ...
-2
votes
3answers
78 views

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

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 ...
0
votes
0answers
14 views

Move navigation.sections together within logo, top.search and minicart?

This is the layout I'm trying to achive Therefore I created a new container and moved the elements into it. <referenceContainer name="page.wrapper"> <container ...
0
votes
0answers
22 views

Frontend search versus backend search

We upgraded from Magento 1 to Magento 2.3. In M1 the search feature in the frontend could be quite broad, while the search in the backend (looking for a specific product to edit) was fairly narrow, (...
0
votes
0answers
17 views

Layer Navigation not working in custom product collection of category page in magento 2

i override the ListProduct.php file and add custom product collection to the custom category page but in that page layer navigation not working here is my ListProduct.php file <?php namespace Ccc\...
0
votes
1answer
18 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 ...
0
votes
0answers
17 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 ...
0
votes
1answer
34 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 '...
0
votes
0answers
36 views

How Can i add custom product collection in all category product listing page in magento 2?

i have one category name Deals in that there is no any product present also i have one product attribute name "is_deal_product" yes/no type so if this attribute value yes in any product than ...
1
vote
2answers
48 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 '...
0
votes
1answer
33 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....
0
votes
2answers
75 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.
0
votes
0answers
17 views

i want to add custom text in product section below product name, please explain in detail im new to magento 2

The product page should have an italic text below product name that should display the text i add from admin panel, so how should i do it please explain in detail because i'm new to magento 2.

1
2 3 4 5
26