Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [frontend]

Denotes questions related to frontend development, configuration and management

2
votes
0answers
15 views

How I Know What Classes Use Magento 2.3 with Bootstrap 3.7?

I learn in a website blog, the magento 2.3 use bootstrap 3.7, but I don't know what classes use this bootstrap edition, Any have a guide for this?
1
vote
0answers
9 views

How to create Sales rule (Coupon) in magento 2 programmatically

I created the coupon in function its works perfectly now I want to apply sales rules (apply on specific product) my code is public function setCoupon() { // $this->_state->setAreaCode('...
0
votes
0answers
14 views

How to show image of the Product in custom email. Magento 2

I'm getting my custom data from email function and also I'm getting the Product image URL to show it in mail now I tried many ways to show my image in email but its not working for me my custom email ...
2
votes
0answers
21 views

How to show image in custom email. Magento 2

I'm getting my custom data from email function and also I'm getting the Product image URL to show it in mail now I tried many ways to show my image in email but its not working for me my custom email ...
2
votes
0answers
12 views

Popup for different products in Magento 2

I have to make a pop-up window under the products on the sales page. Instead of redirecting to ordering, a feedback form should appear. The problem is that I do not know how to tie a pop-up window ...
1
vote
0answers
16 views

How to send Product Image in Mail. Magento 2

I want to send the Product Image in email I'm getting the ID of the product from my custom table now from that ID how can I get the image of the product and send it in the email public function ...
1
vote
0answers
12 views

Show notification message after ajax call

I have my own controller for a customer address delete, so at the end of the controller, I send a notification message to notify the user. try{ $this->_addressRepository->deleteById($...
1
vote
2answers
23 views

How to call custom slider from backend to frontend dynamically in magento2.2.5?

I have created a custom module in backend for uploading image slider in homepage, but I am not able to call in homepage?(frontend). I don't know where I am making mistake. Here is my code. <?php $...
1
vote
0answers
29 views
+50

Nested cache blocks

I have a parent block that has so many child blocks inside it. The parent block has these cache rules: Header: $this->addData([ 'cache_lifetime' => 86400, 'cache_tags' => ['...
0
votes
0answers
26 views

why admin grid not showing in front end in magento 2

i'm working on overriding admin ui filter in custom module https://belvg.com/blog/ui-grid-component-on-the-front-end-in-magento-2.html with referring this blog but only loading css files not ...
2
votes
1answer
25 views

Magento2 : How can I add filters to frontend so it should work like a backend filter?

i'm working on adding custom filter for this custom module i want to add filters (Q_ID,Q_STATUS,Q_PRICE) it would work like back end filter Magento admin how i add filter and any idea's??
5
votes
0answers
126 views
+100

Shopping cart pricing rule condition is not visible on orders total in order page

Shopping Cart Pricing rule logic applied successfully but not visible on orders total in order page, FYI Front end showing the Shopping Cart Pricing rule, How to get Shopping Cart Pricing rule on ...
0
votes
0answers
25 views

How to Override Class without Parent Constructor Magento 2?

How to override a class without creating parent constructor? Actually I'm overriding Widget and it works perfectly for 2.2.X versions but for 2.1.X versions it shows me an error Interceptor::...
1
vote
0answers
35 views

Magento 2 - Event after customer edit Account Information

I need to add some custom logic in my extension after Editing Account Information, It should not trigger at Change Password or Edit Address. Will customer_account_edited work. $this->...
1
vote
0answers
19 views

Google Chrome is failing in loading require.js files in time

On Magento 2 (ver 2.2.5), with Google Chrome (ver 72.0) I'm getting a wired error I wasn't getting withe previous Google Chrome version (ver 71). When I visit a product page, I get more then one ...
0
votes
0answers
12 views

Why does Magento LESS compiling re-order my code

I have been trying to create a basic grid for my theme. Here's the code .row { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; margin-...
0
votes
2answers
40 views

Magento 2 : Not sure what the problem is but my frontend isn't working

While migrating my database to a new magento installation, I found this error on my frontend. The backend is working normally. `1 exception(s): Exception #0 (Exception): Item (Magento\Catalog\Model\...
1
vote
1answer
39 views

Magento2: broken layout after installing extension and css is missing

I've just installed a plugin and now magento isn't working anymore. Firstly i thought this was due to the plugin but even after disabling/removing the plugin the problem persists.
0
votes
0answers
10 views

Magento 2 Home page cache_invalidate issue

I am working with the Magento2, but recently i am facing the cache_invalidate issue in dubug.log file, but i got the below error message in my home page. also there is no error log in exception.log ...
2
votes
0answers
31 views

How to use dynamic row ui-component for frontend magento2?

How to use dynamic row ui-component for frontend magento2 ?
0
votes
0answers
12 views

fixed decimal qty on certain sku

I'm looking for a way out for some products that they only have certain qty behavior like 0.25kg/0.5kg/0.75kg, is there any method that could help to show this behavior on frontend or if I can check ...
2
votes
2answers
43 views

Extend tier_price.phtml in child theme of a custom theme Magento 2

From: /vendor/magento/module-configurable-product/view/base/templates/product/price/tier_price.phtml To: /app/design/frontend/Mgs/claue_child/Magento_Catalog/templates/product/tier_price....
1
vote
1answer
41 views

Removing CSS as part of custom page layout

I have a custom page layout defined as lf_cms in layouts.xml file, and am trying to remove the css file as defined in default_head_blocks.xml and load a new CSS file, except the CSS changes are not ...
3
votes
0answers
23 views

Magento 2 : Filter is not showing in front end in my custom module

i'm creating filter for Frontend in custom module. I'm following this module grid https://belvg.com/blog/ui-grid-component-on-the-front-end-in-magento-2.html But it's not showing in Front end. ...
1
vote
0answers
27 views

Magento 2.1.8 EE unable to update product attribute iin admin

I have a product attribute full_short_description created from admin panel. For already existing products, I am unable to update the attribute value. But if I create a new product, I can change the ...
0
votes
0answers
14 views

pages elements got wrapped

I've received a storefront and trying to make it responsive and add some images and icons. I've a problem of that is the storefront view has unexpected behavior like some element of profile appear in ...
1
vote
0answers
22 views

How to disable frontend for CMS/API-only, headless Magento 2.3

I'm currently working on a web-app that uses Magento 2.3 as a CMS-only. How can I disable the customer-facing frontend and leave only the admin pages accessible? Alternatively, is there a way to set ...
2
votes
0answers
28 views

How Service Workers can speed up the store?

It may be useful to introduce service workers to increase loading speed? If yes, which resources are the high priority ones? Link to Service Workers docs : https://developers.google.com/web/...
1
vote
1answer
29 views

How to save custom frontend form to database in Magento2.2.5?

How to save custom frontend form to database in Magento2.2.5? Any help would be appreciated
1
vote
1answer
25 views

How to override List.phtml and Block as well

I'm trying to override the List.phtml and its block using preference I tried this <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:...
0
votes
0answers
12 views

Grunt CSS compile has stopped working

I had setup grunt on my application and to get it setup I normally just run: grunt clean grunt exec:lfa grunt less:lfa grunt watch Then i'm ready to go and start working on the theme and it worked ...
0
votes
1answer
13 views

magento 1.9 override core block template

I edited these files but I cannot override the default.phtml file, it doesn't work, what's wrong with that? Config.xml <?xml version="1.0" encoding="UTF-8"?> <config> <modules&...
0
votes
2answers
34 views

How to get all the Children Categories IDs of the Specific Category in Magento2

I want to get all categories of the specific category for that I tried public function categoryHide() { $data = $this->arrayData(); $save = array(); $objectManager = \...
1
vote
0answers
19 views

htaccess for brotli does not work

I want to add the following code to my htaccess but it does not work. # ---------------------------------------------------------------------- # | Brotli pre-compressed content ...
1
vote
1answer
16 views

Products Not Showing on Front End

I have had this problem for some time now, I import new products using MAGMI and after re-indexing and cache clearing the products do not display on the front end in the respective category pages. ...
0
votes
1answer
27 views

Magento 2: How to add block inside block html content through XML file

I have created my custom arithmetic captcha. I want add that captcha to my custom form through xml file without defining in phtml file on custom layout. For example: Testimonail submit form: ...
0
votes
1answer
65 views

How i can create custom filter grid in front end magento 2

i want to create custom filter in front end how can copy the back end grid and filter for front end with working like back end filter ??? how i can code this any ideas.....
1
vote
1answer
21 views

Magento 2. How to Hide Price for multi Price products

I'm Hiding Price using Plugin. the Plugin is Hiding price for every product except the multi value products. My code is Vender/Module/Plugin/Price.php <?php namespace Vender\Module\Plugin; ...
0
votes
0answers
15 views

Output customer group id into div class magento 2.3

I would like to get the customer group id to put them into an class I have changed the emty.xml as follow app/design/frontend/{store}/{storefront}/Magento_Theme/page_layout/empty.xml <container ...
1
vote
3answers
141 views

Magento 2.2.3 How to check if attribute exist in current product?

I want to check if attribute exist in current product by attribute code. For Ex: attribute code if color and this attribute is assign to current product. but if i pass something else like abcde and ...
1
vote
1answer
21 views

Magento 1 How are div classes generated?

I have this output in couple product pages: <div class="input-box"> <select name="options[82]" id="select_82" class=" required-entry product-custom-option" title="" onchange="...
0
votes
0answers
78 views

Magento 2 : How to change the quantity of items in the checkout?

How to change the quantity of cart items in the checkout? I have a select that should display the quantity of items in the cart. When changing the value, change the quantity of goods in the basket and ...
2
votes
1answer
31 views

Magento2 Checkout Page web matrix Shipping Method by default selected

In Magento 2 checkout page when ship here button click than shipping method radio button by default selected showing but in my site it's not working. So if anyone knows how to fix this, please reply ...
4
votes
1answer
31 views

How to choose right caching technique for Magento2 and how to configure them properly

We are working on a new store and want the site to have cached. I think there are a lot of caching techniques but I would like to which are to be chosen. Ex: Varnish, OPcache, Memcache, Redis. ...
3
votes
3answers
49 views

Magento2 , how to remove decimal values from layered navigation

I'm trying to find out if there is any way to remove decimals from layered navigation. We don't have product prices with decimals but Magento show 0-99.99,100-199.99 etc. How this can be achieved?
0
votes
0answers
20 views

How to add mutiple extra tabs on product page Magento 2

I want to display multiple tabs(inconstant number) on product page, with the code below by using layout(catalog_product_view) i am only able to add fixed amount of tabs. <?xml version="1.0"?> &...
0
votes
2answers
28 views

Magento 2. In Search Repeating Error

i tried to override the Search for that my Layout is catalogsearch_result_index.xml <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
0
votes
3answers
54 views

Magento 2. How to override List.phtml

I want to Override List.phtml and for that I'm using this Layout Vender/Module/view/frontend/layout/catalog_category_view.xml <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/...
1
vote
1answer
91 views

Magento 2.3.0 How to override wishlist & compare product list page using plugin

I want to override wishlist & compare product grid using plugin. after that i would like to append custom div under class="product-image-container". I try & search a lot but no luck. is there ...
0
votes
1answer
35 views

Magento 2 - Add programmatically created attribute of custom module to category page after product name

I have created a custom module, which creating a product attribute, now I need to display this attribute on category page,after the product name. How to do this? Thanks everyone!