Questions tagged [html]

Denotes questions related to HTML code in Magento.

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

get result from phtml file to html

I have below code (which is at .phtml page) which echo store view selected and i want to take that value which is echo by below code and display it in an html page. please help how to do that. thanks. ...
user avatar
0 votes
0 answers
11 views

How do I allow users to unsave certain events from the wishlist page using PHP?

I have uploaded the images for my wishlist.php, I need to implement a way to unsave an event from the wishlist page.
user avatar
  • 1
0 votes
0 answers
12 views

Sales email instruction, allow HTML

I was able to allow html for instructions in the checkout, but how do I go about allowing them for email templates?
user avatar
  • 386
0 votes
0 answers
12 views

Magento 2 Catalog URL Suffix not working

The website have 12 store views. 6 of them have .html suffix for products while the other 6 doesnt. I am not sure how that happened. I edit the store settings for all of them to have the .html suffix ...
user avatar
0 votes
1 answer
29 views

How to add custom HTML in Product Grid Magento 2?

I want to add custom HTML in Magento 2 Product Grid Column. I have added the column using this : <?xml version="1.0" encoding="utf-8"?> <listing xmlns:xsi="http://...
user avatar
  • 526
1 vote
1 answer
21 views

Darken the arrows below the magnified image

Here's a screen shot from the bottom of a product page, magnified image, in Shopify. Please zoom in the image. Notice that the < X > is very faint. Sometimes on some pages, they're almost ...
user avatar
  • 175
0 votes
0 answers
26 views

Magento 2.4 adding select option with custom div in to sales_order_grid

How to add select option with custom div in to sales_order_grid I need to add that HTML in left of per page value. Can anyone please suggest any post or any suggested link to add these value. Any ...
user avatar
  • 526
0 votes
0 answers
18 views

How to Remove Two Vertical Scrollbars on Magento

I am using Porto theme in Magento 2.4.3. You can see in the screenshot, I have two vertical scrollbars on right side of the page. How can I remove it. I'm not sure what's causing it, but I think it's ...
user avatar
0 votes
3 answers
28 views

Magento2 convert html to either array or json

Magento2 How can I convert html ul li list that I got from CMS block into Json or array format? Can someone please guide me on that?
user avatar
  • 3,426
0 votes
0 answers
8 views

Magento 2.4.2: Difference between <g:google_product_category> and <g:product_type>?

I found the following two tags in the template being used to send product data to Google Merchant Center with Wyomind data feed manager. I am not sure what the difference between these tags are. ...
user avatar
  • 175
0 votes
1 answer
96 views

Jquery on click event

Can anyone give example for both click and on click event in jquery? I tried this example for on click, but the same function is happening for a click event also, <!DOCTYPE html> <html> ...
user avatar
  • 1
0 votes
1 answer
29 views

Magento 2 How add to custom attribute placeholder only on create account page?

I cannot figure out how I can add placeholder for some custom attribute on create account page. In this file: view/frontend/templates/customer/form/register.phtml i see some code which output html for ...
user avatar
0 votes
1 answer
62 views

Magento 2 - Use knockoutjs and html instead of phtml

How can I use html and knockoutjs on a custom site which is accessible from a custom controller? For example my controller route is threepartment/vault/index If I go to: www.example.com/threepartment/...
user avatar
  • 2,402
0 votes
1 answer
60 views

Magento 2.4.2: How to add Yotpo reviews carousel code in specific category pages?

We've been able to display Yotpo reviews carousel on the homepage of our Magento store. But I need to display that also on a few specific category pages. I'm not sure where to add the following code ...
user avatar
  • 175
0 votes
0 answers
18 views

Moving logo in magento 2 to center

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <...
user avatar
0 votes
0 answers
78 views

How to get cart subtotal and subtotal in checkout shipping page?

I want to show cart subtotal and subtotal on Magento 2 shipping page How to do that? I have extended the file in my child theme but how to get these price details can anyone help me. app/design/...
user avatar
  • 526
0 votes
1 answer
149 views

How to disable Mega Menu on Magento2 Porto theme

I have one CMS page and I would like to disable the mega menu on it, but not the other pages? How can I do this? and I want to disable the buttons that I mention in the picture attached. Many Thanks!
user avatar
0 votes
3 answers
160 views

How to add if condition in html ko file

Validation field with admin Yes/No config value, so that am adding helper file to get config enable value to validate the field. So i want to call this value with if condition in html ko file. &...
user avatar
  • 1,083
0 votes
0 answers
7 views

i added a blog widget in homepage and i want to find the file that have the widget HTML code

I added a widget in my home page content and I want to find the files and HTML code of this widget where is placed in my Magento 2.3.6 files, because I want to edit on it
user avatar
0 votes
1 answer
11 views

Shared wishlist just displays html

I'm trying to setup up the share wishlist feature, all of the admin settings are correct but the email just sends through a load of html!
user avatar
0 votes
2 answers
53 views

Magento 2 : Can Not Add HTML Content in Notice Message From Controller

If I go to: \Magento\Customer\Controller\Account\Login::execute and add this code: $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $request = $objectManager->get(\Magento\...
user avatar
  • 3,535
0 votes
0 answers
208 views

Include HTML content from external url in Magento2

I have HTML file which is hosted on other server. http://testsite.com/test/index.html which has the content like this(As a example) <!DOCTYPE HTML> <html> <head> <meta http-equiv=&...
user avatar
  • 135
0 votes
1 answer
28 views

Magento2: Slow Catalog Pages Loadtime

I have a website built on the top of magento 2, the problem is when I go to any of the catalog pages, the html takes significant time to load for the first time, as shown in the following screenshot: ...
user avatar
  • 101
0 votes
2 answers
303 views

How to modify magento 2 checkout page login popup?

I'm trying to customize the checkout page and there is a small link so the user can access the account on the checkout page but I can't customize my changes don't reflect on the front end. I don't ...
user avatar
  • 177
0 votes
0 answers
18 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
user avatar
0 votes
0 answers
93 views

Magento 2: Minicart product title is coming with special character

Magento 2.3.5-p2 when adding the product to the cart product name is "Hello & world", on minicart when we hover the product image the product title is showing like this "Hello &...
user avatar
  • 1,123
1 vote
1 answer
42 views

How do I remove the black box border from my magento website?

Please help me, I can not seem to figure out a way to remove the black border box surrounding all my product images and containers. My website is tucsons.ng Here is a sample of what I really want gone ...
user avatar
0 votes
3 answers
109 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. [
user avatar
1 vote
0 answers
211 views

Magento 2 - Custom Widget Wysiwyg Editor allow html tags

I try to add a wysiwyg editor to my custom widget. I added the field to my widget.xml <parameter name="content" xsi:type="block" required="false" visible=&...
user avatar
  • 11
0 votes
1 answer
194 views

Using different background images for desktop/mobile display on blocks - widgets

I created a block and a widget in magento 2.4 page top to display as a banner promotion, but i want a different display for desktops and different for mobile. what i have tried: <div style="...
user avatar
0 votes
0 answers
10 views

8 point Soft Grid

can any one know about 8 point grid. can you please explain clearly. How to use 8 point-soft grid? can we have any example? Can we have Grid layout example, how we can use?
user avatar
  • 197
0 votes
1 answer
35 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/...
user avatar
0 votes
1 answer
33 views

adding tag to a specific page

hello everyone i have added a specific tag to all page of my website , but I want to add it to just the home page , can i achieve that ? i have added the meta tag like below, but it appears on all ...
user avatar
0 votes
1 answer
183 views

How to override adminhtml html file

I need to overwrite the file vendor/magento/module-customer/view/adminhtml/web/template/default-address.html. I have tried creating a custom module and adding the file in app/code/myvendor/mymodule/...
user avatar
  • 64
0 votes
1 answer
107 views

Magento 2 - Set the maintenance mode with the custom page

I am about to make a server switch for my site https://www.magento2.com from Apache to Nginx and during for this operation i want set up maintenance mode. The server where I want to set up this mode ...
user avatar
  • 285
0 votes
1 answer
396 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=...
user avatar
0 votes
1 answer
336 views

Global Payments Realex 511 Redirect Issue Magento 2.2.2 HPP

I am using this module for Global Payments / Realex Payments for Magento 2.2.2 store form Magento Marketplace "name" : "realexpayments/hpp", "description" : "A ...
user avatar
  • 125
0 votes
1 answer
19 views

Website is in HTML

I am getting this error when I am trying to login in to the HTML website. Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'clubma_dbaytxf.customer_entity' ...
user avatar
2 votes
1 answer
32 views

HTML files not being overwritten in app/Design

I'm trying to override html files the same way that I would override a phtml file, but it doesn't seem to be working. Same with Javascript. I'm trying to change some logic in minicart.js. I put my ...
user avatar
2 votes
0 answers
111 views

Magento 2.3: Automatically add HTML tags in a Static Block after save

Automatically adding HTML tags in a Static Block after save When saving static block from admin then after saving static block it is automatically adding HTML tags How can we solve it so that it will ...
user avatar
  • 1,123
0 votes
1 answer
46 views

How to wrap .header.content?

I need to wrap .header.content in a . How can I do that using default.xml file? I think using something like that: <referenceBlock name="header-wrapper"> <...
user avatar
  • 115
0 votes
0 answers
58 views

Maintenance page - display the error

[Magento 2] I have a maintenance page which appears on some order view (eg: xxx/sales/order/view/order_id/123/xxx) on my BO of Magento (but not on all pages). I try to understand what is the issue but ...
user avatar
  • 894
1 vote
1 answer
561 views

How to open new tab on button click and send post data?

I've been trying to make my button open a new tab, the same way my form is doing but I've discovered that window.open() doesn't work on POST requests. SO, is there any other way I can make my button ...
user avatar
  • 71
0 votes
0 answers
74 views

Receiving checkbox status as Yes or No on a custom form to an email template

I am new to php and html and trying my hands on the below code where I have a custom form as shown in below SS and once customer submits the form I need to get the checkbox status as 'Yes' if the ...
user avatar
  • 3
1 vote
1 answer
270 views

M2: Using small PHP script in .html file (or) Changing .html file to .phtml

We are running into an issue where we need to run a little php script within a .html file in Magento 2, namely; /app/design/frontend/CleverSoft/core/Magento_Checkout/web/template/minicart/content.html ...
user avatar
  • 207
0 votes
1 answer
21 views

How to get Html post request value in Controller?

I've been trying to send the SKU of the product from the product page to another page so I can integrate it with an API. Here's my code phtml code: Here's my Controller code: For some reason I can't ...
user avatar
  • 71
0 votes
1 answer
48 views

How to change HTML of Categoty Page in Magento 2?

how can i change the layout of Category page in Magento 2 Like to change some HTML in category page. i want to show product in full width and want to show price filter just above of product listing ...
user avatar
  • 526
1 vote
0 answers
98 views

cms blocks removing content after save in magento 2?

cms block break html tags after saving data. it is removing url of image and display like this <div class="col-sm-12 col-xs-12"> <a href="#"> <img class="...
user avatar
0 votes
1 answer
107 views

How to get Base Url in Checkout Html FIle in Magento 2?

I have create a new step in checkout form Magento 2. I want to get base Url in my .html file like http://127.0.0.1/magento How will i get that? Any help is appreciated.
user avatar
  • 526
0 votes
1 answer
30 views

Magento 2.3.4: Is there an alternative tag to "area" to meet AMP requirements for my store home page

Google Search Console identified the tag "area" in the HTML of our Magento store home page. The HTML is as seen below. Is there an alternative to this tag so as to fix the Accelerated Mobile ...
user avatar

1
2 3 4 5
9