Questions tagged [frontend]

Denotes questions related to frontend development, configuration and management

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

magento2: View model knockout

I am new in magento module development. I was searching for something similar to this https://www.mageplaza.com/devdocs/how-add-custom-discount-magento-2.html I just editied the code in step 2 to meet ...
0
votes
0answers
9 views

Magento2: How to get clicked page number on pagination

My pagination is working fine. But in ajax I only want to get page number which is clicked. For example I have products on 10 pages. When I click on page 2 it alert only 2, when click page 3 it alert ...
0
votes
0answers
13 views

Magento2 - error when selecting dom elements on cms pages

I am working with an independent js file that I instantiate in an xD module and if I launch a console.log ("test") it appears in the console without problem, then a basic example of logic ...
0
votes
0answers
26 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 ...
1
vote
2answers
20 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\...
0
votes
1answer
18 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 ...
0
votes
1answer
36 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-...
0
votes
1answer
65 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=...
1
vote
1answer
17 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 ...
0
votes
1answer
29 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
0
votes
0answers
20 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(...
0
votes
0answers
9 views

Add custom filter in frontent product catalog

I've been looking for a few days to add a filter to the display of products in a category. This filter is a date and should not be visible to users. I managed to do it in version 2.3 but with version ...
0
votes
1answer
28 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/...
0
votes
1answer
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.
0
votes
0answers
15 views

magento 2 append widget

<reference name="content"> <block type="cms/widget_page_link" name="48fc761f38fa9838fcc3a3b498c47f72" template="cms/widget/link/link_block.phtml"&...
0
votes
2answers
58 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 ...
0
votes
1answer
15 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([...
0
votes
0answers
17 views

Shipping methods not showing at checkout on Magento 2.3.4

I'm creating a e-commerce and installed a shipping method calling Frenet (a famous shipping method on Brazil), describe on this module (https://github.com/FrenetGatewaydeFretes/frenet-magento2). It's ...
0
votes
0answers
10 views

Magento 2.3.5-p. can we click on disabled configuration and force change the available options instead of unchecking(screengrab video link)

Screen Recoding video to show exactly what is happening and what I am Looking for If you look at the video. There is a configurable product. It has attribute 1TB drive and 1TB fusion drive Above that ...
0
votes
1answer
17 views

Css and js not working after transfered site to new server Magento2

I have moved my magento to new dedicated server ,css and js not working. Also have done static deploy,Can anyone help me to fix this issue
0
votes
0answers
23 views

Product Page not responsive in mobile (Porto Theme)

I created a child theme for Porto theme responsiveness is working on desktop, but not in mobile. can anybody help me? could I be missing the viewport metatag only in product page? I`m a newbie to ...
0
votes
0answers
24 views

How To Remove Select From Select Language from google translate in magento 2?

i used google translate for change the web site language in that how can remove the select text from select language full text
0
votes
0answers
17 views

Magento 1.9 frontend

I have a client with an online store in magento 1.9.3. She said that before the store was operative, the agency told here to go on the store page, and she can modify every text on the live page, by ...
0
votes
0answers
17 views

SSL certificate works for the magento backend but doesn’t for frontend

I’m working for a very good customer of mine, however he has a webshop which runs on an outdated magento version (1.9) and hosting/maintaining ot has been quite of a challenge up until today. There ...
0
votes
0answers
10 views

Get input context in Magento UI validation

Is it possible to get information about the element that is being validated, when using Magento_Ui/js/lib/validation/validator? I've added a validation rule for a custom field in the checkout. In my ...
0
votes
1answer
41 views

Is it bad to use ObjectManager in list.phtml like in Code Below? What's the best Practice?

Is it bad practice to use ObjectManager in file app/design/frontend/Smartwave/porto/Magento_Catalog/templates/product/list.phtml like this below. <?php $objectManager = \Magento\...
0
votes
0answers
12 views

how to extend login as customer in our module

namespace FME\AdvancedLayoutManagement\Controller\Adminhtml\Login; use \Magento\Backend\App\Action; use \Magento\Backend\App\Action\Context; use \Magento\Backend\Model\Auth\Session; use \Magento\...
0
votes
1answer
29 views

How To move Quick View Before Add to Cart in Magento 2?

I used the bss quick view and fist i want to need to remove th hover for quick view button and second one i need to add quick view button before add to cart here see
0
votes
1answer
13 views

How To Add Pop Form For Submit Review In Magento2 Product Detail Page?

How Can I Add Button For Submit Reviews On Click On This Button Submit Reviews Pop up form Open And User Can Easily Submit The Reviews .
0
votes
1answer
43 views

After making ajax query controller redirects back to product page

I’m making an ajax query from a product page (code below). If I run it directly in browser, it works but if I run it inside a code (javascript) it redirects me back to the product page with a status ...
0
votes
1answer
21 views

How to Add Product Specification Section Under Product Info in Magento 2?

How to Add Product Specification Section Under Product Info in Magento 2
0
votes
1answer
55 views

Magento 2 - Filter through non anchor categories throws “The bucket doesn't exist.” exception

I am facing this issue on M2.3.5-p2 when filter through non anchored subcategory on the main category(anchored) page. Steps to reproduce From the admin set parent category anchor to Yes. For one of ...
0
votes
1answer
24 views

How to get custom admin field value of specific Storeview in magento 2.3.2

I want to add a custom text area for contact info for a particular store view from configuration and get that custom field value and display it on the contact us page in Magento 2.3.2. so can anyone ...
2
votes
0answers
9 views

Disable fronend in Magento 2 for a specific module for using only the Admin and the API routes

How to disable the fronend in Magento 2 for a specific module so I can use the Adminpanel and the API routes.
1
vote
1answer
22 views

After Create Luma Child Theme The Customer Login Register Not Working Also No Any Error Display in Magento 2.3.5

I Created Luma Chield Theam In That I over ride the Only Magent_Theme in that customer login register not working And Also Add To Cart Throw Me 404 like That
0
votes
3answers
77 views

css file : failed to open stream: No such file or directory

in my case i have added a less file to compile a css file in my Base Module , but after I run this command "bin/magento setup:static-content:deploy -f" an error was occured like belllwo [...
0
votes
2answers
25 views

I want to show a button on frontend that is only visible to admins and NOT customers. Is there some way?

I want to show a button on frontend that is only visible to admins and NOT customers. Is there some way? I've tried getting adminId on frontend but seems like it's not possible as backend and frontend ...
0
votes
0answers
18 views

Frontend Customer Login - Invalid Form Key. Please refresh the page

We are having an issue with the frontend customer login, where the users can't login as this error pops up: I have checked online for this issue and have found mostly back-office login errors, in the ...
0
votes
0answers
49 views

how to apply last filters saved in custom bookmark in frontend UI Component listing?

I created listing using UI Component in frontend. I also created custom bookmark for saving the state of the UI Component because I want store it as a customer, because the default bookmark only save ...
0
votes
0answers
12 views

frontend button only accessible to admin

{ $dateTime = $this->_objectManager->create('Magento\Framework\Stdlib\DateTime\DateTime'); $adminConfig = $this->_objectManager->create('Magento\Security\Model\...
0
votes
0answers
21 views

How can I add new block in the footer and place it like this?

I'd like to add a new block in the footer and place it like this in Luma theme: At the moment, the main footer container is using: display: flex and it shows all 3 blocks side by side.
0
votes
0answers
9 views

Magento 2.2.4 - checkout/cart get shipping rates via AJAX

Version 2.2.4 seems to have a buggy form post on checkout/cart to update shipping rates. I have other stores using 2.3.* that work fine. I am trying to run defaultProcessor.getRates() on a JavaScript ...
0
votes
0answers
19 views

Magento 2 - Load html of a template from PHP class

I have a php class where I am generating some HTML and returning it. private function _generateNote($expressRule) { if ($expressRule["hasNotAllowedCategories"]) { $note = "...
0
votes
0answers
7 views

When adding simple product in cart getting the customer-data.js

Error: {"message":"The product that was requested doesn&#039;t exist. Verify the product and try again."} When adding the product to the cart getting this what is the purpose ...
2
votes
1answer
28 views

how to change area in magento 2

I have tried this but this haven't worked for me { if (isset($this->_areaCode)) { throw new MagentoFrameworkExceptionLocalizedException( new MagentoFrameworkPhrase('Area ...
0
votes
1answer
78 views

How I can make Magento 2 product-info-main sticky like cart sidebar when scroll to down?

I want to make an upper bar as in https://www.atma.com.ar/molinillo-electrico-atma-mc8141n.html that contains the product info and the "add-to-cart" button, and that appears only when I ...
1
vote
2answers
31 views

Product images not showing

I'm experiencing a strange behaviour: all the product images are present if I edit a product on the backend. But if I visit the product list in the backend or frontend, or the product view in frontend,...
0
votes
0answers
18 views

How to add a Dropdown on My Account in the header? What steps should follow

Here is the screenshot what i am exact want.
0
votes
0answers
31 views

How to pass data as parameter with block function in <script type=“text/x-magento-template”>?

How to pass data as parameter with block function in below script: <div class="col-sm-7 col-md-8 col-xs-9 col-lg-9 tag-content"> <h4><a target="_blank&...
0
votes
0answers
13 views

Product showing Out of Stock in Magento 2?

I have created a product but on checking on front end it goes to out of stock. This is my product which have quantity and in stock also. I have run also indexer:reindex and cache clean but still it ...

1
2 3 4 5
25