Questions tagged [frontend]

Denotes questions related to frontend development, configuration and management

Filter by
Sorted by
Tagged with
1
vote
0answers
180 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
1answer
272 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
474 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
583 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
275 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
134 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-...
0
votes
0answers
26 views

Magento2.3.0 Specific Category associated products not appearing in frontend

I am using Magento2.3.0 and my issue is on production mode in front-end side one category inside product not showing on but in admin side all settings are proper and assign product it in this category....
2
votes
1answer
298 views

How to remove SKU column from order details in My account page

I wish to remove SKU from order details. Open my account page in frontend 2.Go to My Orders 3.Click View Orders link from the list of orders How to remove the SKU colum and its associated details. ...
0
votes
2answers
421 views

Magento 2.3.0 Remove amazon pay button from different pages if current product in cart

I need to develop a feature in my custom module, I would like to hide Amazon pay button from product page, cart page, mini cart, shipping page upon condition. If the current product is in the cart ...
1
vote
0answers
213 views

Override /pub/media/… css file?

I would like to override a CSS file who is here : /pub/media/porto/web/css/header/type6.css But when I try to put it in my child theme nothing happen : /app/design/frontend/Smartwave/porto_child/.....
0
votes
1answer
186 views

Magento2: Knockout JS page in frontend give “404”

I have followed this tutorial link HOW TO USE KNOCKOUT JS ON A MAGENTO 2 FRONTEND PAGE. Magenest/KnockoutJs/etc/frontend/routes.xml : <?xml version="1.0"?> <config xmlns:xsi="http://www....
3
votes
0answers
112 views

{{media url=“…”}} doesn't work on product attributes

After magento update to version 2.3.2 i noticed that {{media url="..."}} is not working on product attributes like 'description' attribute. In backend the url is resolved correctly and i can see the ...
0
votes
1answer
76 views

Magento 2 Component less/css editing best practices

Please help to understand below 2: 1. How to override component css using less files? 2. Is anyone can provide some of examples to write css in _extend.less file.
2
votes
2answers
567 views

(Magento\Framework\Config\Dom\ValidationException): Element 'referenceBlock', attribute 'class': The attribute 'class' is not allowed

I have this problem and I can't locate where the problem is : 1 exception(s): Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'referenceBlock', attribute 'class': The ...
0
votes
1answer
224 views

Can we Pass Jquery Value in PHP Function of Block. Magento 2

I want to pass the value of jquery in PHP function is it possible to send the value. like for example I have a textbox and in textbox when the user add 5 then it instantly send to the php function ...
3
votes
1answer
71 views

ReferenceError: {var} is not defined

I have a problem with the frontend_model of the system.xml This is the system.xml <field id="words" translate="label" sortOrder="92" showInDefault="1" showInWebsite="1" showInStore="1"> ...
0
votes
0answers
82 views

Magento2 : Image is visible in Back-End Side, but not visible at Front-End Side

Tried with all suggestions even though issue have not rectified. Actually my issue is in backend image is reflecting but in front end images is not reflecting in website. instead of image its showing ...
1
vote
0answers
30 views

How to Extend Algolia_AutoSearch extension in my own custom extension. Magento 2

I want to create a custom Module in which I want to use Algolia_AutoSearch extension Like my extension is about Search like Algolia extension do but my search will be about the orders i.e. customer ...
1
vote
0answers
49 views

How to create my own custom search bar Using Algolia Api's. Magento 2

I want to create a custom search bar in which I can search Orders using Algolia Api's. I know that there is an Algolia extension which is used for to search products but How can I use Algolia Api's to ...
1
vote
0answers
20 views

Why are all product options selected on the update page?

Before I add a bundle product to the cart, I'll uncheck one product option from bundle selected options (attach) but when I want to edit this product, all parameters are selected by default in the ...
0
votes
1answer
212 views

How to override catalog_product_view.xml?

I want to have a different theme on special products. So I have a main theme --> app/design/frontend/Main/Default and I want a different theme, which is child of my main: -- app/design/frontend/...
3
votes
0answers
26 views

how does frontend js methods call a backend api in magento 2.3

I'm new to PHP and Magento. I am building a payment module. I have saved some encrypted credentials in the core_data table. i am currently able to retrieve these decrypted credentials with my method ...
0
votes
1answer
30 views

uiComponent popup with form in Magento 2 front in product detail page

I want to add custom form in popup with a few custom fields before the product gets addtocart. Once the user clicks on addtocart button it will open popup and ask for a few inputs after fill-up ...
0
votes
2answers
151 views

Magento2: Index page running problem (index source code displaying)

I have complete installation&run successfully magento2 package some days ago... But, Now I trying to run the package index.php source code was displaying while executing the magento2 package. i ...
1
vote
1answer
777 views

Use new field “Full Name” to replace “First Name” and “Last Name” in Checkout

My idea is to use to add a new field called "Full Name" and it will fill out the "First Name" and the "Last Name" while you type in the checkout. I have almost everything ready but I can't let know to ...
1
vote
1answer
130 views

How to install PWA studio. Magento 2.3.1

I'm using https://hackernoon.com/getting-started-with-magento-pwa-studio-with-poc-c54c33f8d038 this link to use PWA Venia theme but when I'm trying to follow these steps then on step number 3 when I ...
0
votes
0answers
43 views

Problem after activating Use Flat Catalog Category and Use Flat Catalog Product

I've activated the following two features for speeding up my site Use Flat Catalog Category Use Flat Catalog Product then re-indexing But then some parts of my site will not show up correctly. for ...
0
votes
1answer
184 views

How to fix blank Minicart popup in custom navbar for Magento 2

I am creating a custom theme from the parent theme Luma. I've added this code to Magento_Theme/layout/default.xml to include the minicart. <block class="Magento\Checkout\Block\Cart\Sidebar" name="...
0
votes
1answer
147 views

Frontend not displaying product changes

Magento 2.3 After adding a sentence to the main description and adding information to the short description on the product pages of admin, these changes do not display in the front end. I've ...
1
vote
0answers
56 views

Change the display of attributes when the customer changes the product configuration

I will try to be as clear as possible. On the configurables products pages, when the customer chooses his product configuration, the price display changes according to the price of the configuration. ...
0
votes
1answer
247 views

Is it better to use Vue.js storefront as a frontend for magento 2?

We have to lunch a new store and planning to use Vue.js storefront on frontend. -> Will it be feasible easily - data will be interchanged using APIs -> Would there be any security issues ? -> Any ...
0
votes
0answers
44 views

Magento front and backend suddenly displaying in plain text

my website is suddenly displaying in plain text, my backend as well. I'm running Magento 1 still. I tried restoring a back up from before the incident happened, nothing changed. I made sure the ...
2
votes
1answer
220 views

How to override the entire product page with a new template for products which are Out of Stock?

I would like to change the way Magento 2's product page looks for products which are Out of Stock. Basically I want to replace the entire product page with a simple message (and maybe a picture of the ...
1
vote
0answers
76 views

stock filter is not adding to layered navigation in magento 2.2.7

Do all the setting but not get the filter in front end for stock
0
votes
0answers
81 views

How can I cancel processing order from frontend in Magento 2?

I have an extension to cancel order fro frontend customers but it is useful for only pending orders when COD available. I want to cancel processing order from frontend. Is it possible?
0
votes
0answers
29 views

magento atrributes values not showing on admin and frontend

I have upgraded magento version from 2.1.8 EE to magento 2.3.1, after upgrade some attributes values are not showing in admin and frontend, like full short description is showing blank in admin and so ...
2
votes
0answers
63 views

Magento2.3.0 any one use layered navigation with multi select checkbox using category and other attribute filter

I am using Magento2.3.0 community version and I have integrate all free version layer navigation but not working so my requirement is attribute option with checkbox select than not remove in ...
0
votes
0answers
433 views

Invoice email not received while place order in magento 2

I have not received invoice email after placing order. Magento version : 2.2.2 & 2.3.0 Checked in these Payment Methods : Authorize.net & Zero subtotal Checkout Expected result: Order ...
1
vote
2answers
35 views

Magento 2 : About us page is not displaying on front end

I added about us page using content -> pages option, Page has been created but in front end I can't able find any link to access that page. I directly access through the url (localhost/home/about-us) ...
1
vote
1answer
335 views

Magento 2: How can change in the frontend sortOrder of Grand Totals and Tax positions in my account order detail page?

I need to change sort order in order_totals block in the frontend order view page. I want to swap the position of Grand Total & Tax in order_totals child items. Please help to change to order of ...
1
vote
1answer
301 views

Porto - include Mageplaza LayeredNavigation in js file

I'm making a custom theme based on porto. I'd like to include the Mageplaza_LayeredNavigation/js/view/layer in the toolbar.js file of the the Magento_Catalog module, in my custom theme. I tried ...
1
vote
1answer
719 views

Magento 2 how to check serialized conditions against product in frontend?

I have created an admin form which contains name and catalog price rule conditions. I have saved these values in a custom table. The conditions are saved as serialized. Now I want to check these ...
0
votes
1answer
889 views

Magento 2: Header and footer not loading in custom module's CMS layout

I am developing a custom theme which inherits from Magento/blank. I am attempting to develop a CMS homepage layout within a custom module. I have created the module and successfully applied the ...
2
votes
1answer
88 views

Magento 2 - Frontend Controller conditional based 404 page

I have custom frontend controller, I added the URL Rewrite for this controller I want to figure out the way, How I send requesting URL to 404 page based on some condition within the controller. I ...
1
vote
0answers
50 views

Getting error “THERE HAS BEEN AN ERROR PROCESSING YOUR REQUEST” in Magento 1.8.1.0

In Magento ver. 1.8.1.0 I am getting error "THERE HAS BEEN AN ERROR PROCESSING YOUR REQUEST" Please can any one help on this. I tried to ask godaddy to update my.cnf file as guided in Geting ...
1
vote
1answer
29 views

What does module:disable actually do?

Background: I seem to be having trouble disabling modules on my M2 2.3.1 store. Example: I had installed the CommerceBug development module but wanted to test my site without it so I ran module:...
1
vote
0answers
68 views

Magento 2 new instance redirecting to staging site

I have my magento 2 staging site setup in folder staging and on url stagingexample.com , I have created a new folder newSetup in staging folder and setup copy of staging site in newSetup. I want to ...
0
votes
0answers
210 views

left side Attribute filter with checkboxes , Magento2.2.6

I am using Magento2.2.6 Our requirement is attribute filter with checkbox display on left side layer navigation inside.Not page reload Ajax using filtering.If anyone idea and if this functionality ...
1
vote
1answer
372 views

Cannot find the register link phtml file

I enabled the path template suggestion and It doesn't show the path for the 'Create an account' link. Reading the html home page source I've saw these tags: <ul class="header links"> <li ...

1
3 4
5
6 7
25