Questions tagged [html]

Denotes questions related to HTML code in Magento.

Filter by
Sorted by
Tagged with
2 votes
1 answer
809 views

How to Get email template in dynamically choose format(For example Html Or Text) using Magento 2?

I need to get email template in dynamically choose format(For example Html Or Text) while customer orders anything in Magento 2. For Example: Customer account has one option, which Email ...
Rajkumar .E's user avatar
  • 3,560
0 votes
1 answer
174 views

What is the difference if an url ends with .html

I wonder why some of my Magento urls end with .html and others do not. Why should I end my url with .html and how to remove it if I would like to have a simple/clear url for my customers?
Sabina Orazem's user avatar
0 votes
1 answer
7k views

How to validate Required fields before onclick review.save when submit button

How to validate Required fields before onclick="review.save();" Is there any javascript to validate required fields before this action onclick="review.save();? Here is my button code <button ...
Doodu's user avatar
  • 328
0 votes
1 answer
35 views

I want to rename a directory in magento and set the new refrence in the links [duplicate]

I want to rename this sns_tornoto to some thing else how can i do that?
Saddam Hk's user avatar
0 votes
1 answer
197 views

How to expand both sides to fit browser window?

<div class="main"> width:100%; background:grey; <div class="page2"> width:940px; background: grey; <div class="content"> width:940px; background: white; is there any option in css ...
Doodu's user avatar
  • 328
2 votes
1 answer
569 views

Magento 2 does not read my requirejs-config.js

I'm customizing customer address tab in Admin Panel. Here is my code. It's reading my files but 'Add New Addresses' button is not responding. my code is: app/code/Learning/Helloworld/view/adminhtml/...
Manoj Kumar's user avatar
  • 1,348
0 votes
1 answer
58 views

Magento Products into Newsletter

I've a standard newsletter top and bottom. What I change in my weekly newsletter are the products I'm advertising. I wonder if there's any 3rd party or default solution in Magento that would allow me ...
lelot's user avatar
  • 101
0 votes
2 answers
158 views

Home page opens to bottom

Every time my home page loads it will scroll to the bottom of the page. How do I fix it? https://donvonapparel.com/
Artyson's user avatar
0 votes
1 answer
324 views

Custom button disabled by default?

I'm overriding one template, in order to allow multiple payments, so it have to have a button to call an aditional form, the thing is the button is already disable when the template is loaded. The ...
abiyi's user avatar
  • 217
0 votes
1 answer
49 views

Inserted code in footer and product dissappere

I have a problem with some code deleting itself. I have inserted an image in the footer, just below the newsletter subscribe button, and a code showing the stock lvl on the product pages. But after a ...
Aleksander's user avatar
1 vote
2 answers
1k views

I'm getting "" is a required value on Magento checkout page

On Magento V1.9 on the checkout page (onepage). When filling out the billing page and clicking submit. I get this error: "" is a required value "" is a required value I am lead to believe ...
Sean Thomas's user avatar
0 votes
1 answer
36 views

Choose between 2 designs on product page

On the shops im admin on, the users want different designs on some products. And the admin before me have made an css for each product so far. I was wondering is there a way the user can choose what ...
Patrick Knudsen's user avatar
2 votes
2 answers
1k views

how to extend .js and .html files in Magento 2

I'm extending customer address for these I have to modify/extend vendor/Magento/module-ui core files. i.e root/vendor/magento/module-ui/view/base/web/js/form/components/collection.js and root/...
Bojjaiah's user avatar
  • 3,992
0 votes
1 answer
80 views

How can I create a preview box for my text input, taking into account font and colour

I need to create a preview box for my text. A good example can be found on the website below. It takes the user input and generates a PNG of what it would look like. How would I be able to do ...
Max Smith's user avatar
  • 145
1 vote
1 answer
5k views

How to customize Magento 2 HTML and CSS

I have html / css template I created weeks ago, and I want to apply these HTML / CSS to magento? how can I do that? I already copied the blank theme to make modifications on it. When I accepted the ...
SmootQ's user avatar
  • 113
1 vote
1 answer
1k views

Magento 2 - category image link

Is there a way to create a linkable category image which is uploaded on Category --> General information --> Image? One way i could think of is to create a static block with an linkable image inside ...
g5wx's user avatar
  • 681
0 votes
1 answer
330 views

How to add more sliders than 1 slider to home page?

We currently have 1 slider on our home page. We want to add another in a new area. Is there a plugin/app that will allow us ? or is just just a case of copying the HTML code ? This is a big topic ...
Brandon.oc's user avatar
2 votes
3 answers
13k views

Magento 2: Path to place footer.phtml in custom theme

My Theme Path: app/design/frontend/Mycompany/mytheme/ My Problem: Following this tutorial I thought that I could use the below path to override the footer.phtml template: app/design/frontend/...
Chandra's user avatar
  • 95
6 votes
2 answers
2k views

Getting HTML of transactional emails

I would like to know if it's possible to get code html of transactional emails before send email to user with template variables etc... I override _sendEmailTemplate and I try to get HTML code in ...
corey's user avatar
  • 191
0 votes
2 answers
725 views

HTML/CSS formating within the description?

I understand you can use html within the product description, but is it possible to add full HtML/CSS formating similar to Amazon product description (example: http://www.amazon.co.uk/gp/product/...
Mark Watkins's user avatar
1 vote
1 answer
278 views

Magento API calling using HTML and javascript

I'm new to Magento and I'm developing a PhoneGap app using HTML5, CSS and Javascript. I searched many places and read Magento documentations, but couldn't get any example for authenticating, calling, ...
SREE's user avatar
  • 111
0 votes
3 answers
622 views

display custom attribute inside text field

We are using following code to display Price inside TextField <input type = "text" id = "price_<?php echo $products->getId(); ?>" onkeydown="validateNumbers(event)" name= "price[]" value =...
Baby in Magento's user avatar
2 votes
1 answer
123 views

Update all textfields of multiple products by clicking one update button

we are using magento multi vendor site. For single Product we are displaying price, selling price , quantity...etc in vendor account. we gave an option for vendor to update all the textfields of ...
Baby in Magento's user avatar
0 votes
1 answer
38 views

How to add 2% extra in total when some one select amazon payment as payment method!

I have installed CS extension for Amazon payment, but I want to add a surcharge when someone selects this method. I have tried few scripts but it does not work, installed few extension but it does ...
shafiq's user avatar
  • 295
1 vote
3 answers
93 views

Override Community Controller Not Wroking

This is My Config.xml <?xml version="1.0"?> <config> <modules> <Modulename_PrintPdf> <version>1.0.0</version> </Modulename_PrintPdf&...
imtiaz's user avatar
  • 117
1 vote
2 answers
1k views

Adding external javascript to a magento site

I'm a newbie and trying to see achieve certain things in magento. I'm trying to make a snow effect on a magento site, I have it running well on a normal html site. I've added the javascript files ...
Jahswey's user avatar
  • 85
0 votes
4 answers
1k views

SUPEE 6788 Error Applying Patch

I have applied all patches and also updated my .htaccess.sample to a stock magento file but the patch is not going successfully. I got this code. Checking if patch can be applied/reverted ...
Jahswey's user avatar
  • 85
1 vote
1 answer
558 views

JavaScript HTML5 Canvas Snow in 3D in magento

I'm trying to have a snow effect on my magento site. I got a code from seb.ly which i tried on a normal html5 website and it worked, but i added it on my magento page it didn't work. I added it to ...
Jahswey's user avatar
  • 85
0 votes
2 answers
758 views

Can't find where this HTML is generated from

On this page, at the very bottom left, is a footer link to the privacy policy generated by HTML: <a href="/privacypolicy">Privacy Policy</a> I have downloaded a backup of the live site, ...
Steve's user avatar
  • 121
-1 votes
1 answer
66 views

merge the 2 different codes to get 1 code

we are working on marketplace [multi vendor] site. we are using 2 different types of codes to load the quantity in different places in the site. code 1 : <span id="valueqty_<?php echo $...
Baby in Magento's user avatar
0 votes
1 answer
151 views

Product attribute in iframe

I have an iframe on the product page that holds a personlisation tool. I want to use a yes/no product attribute in the frame to show or hide a tab. I've tried the following but get error Call to a ...
user3783905's user avatar
1 vote
1 answer
738 views

Zoom in/out feature on magento banner

I have a magento theme installed which comes with a banner. But I'm trying to add more functionality to the banner to make it catchy for customers. I want the banners to zoom in or out when any image ...
Jahswey's user avatar
  • 85
1 vote
2 answers
501 views

Is it possible to use superscript in a category title?

I have a couple of items that I want to refer to as trademarked in category titles. I attempted to use: For Double J<sup>tm</sup> and Jlite<sup>tm</sup> Headlight Brackets ...
as_whitley's user avatar
4 votes
3 answers
5k views

Change plain text email into HTML email

This is in Magento 1.9.x. I just edited the contents of a transaction email, added some HTML code into it, but the email is still rendering as plain text. How do I make that email into a HTML email? ...
Jimmery's user avatar
  • 1,509
2 votes
2 answers
371 views

Home page seller products are displaying above slideshow container [closed]

I have installed SUPEE-6788 using SH. And used ecommerce extension to display new, topseller, toprated, popular products.. But all those products are displaying above slideshow.. How to move it below ...
rashmi sm's user avatar
  • 887
1 vote
0 answers
505 views

How can I add HTML formatting to the comments box in the order admin area in Magento 1.9?

Is there a way I can add html formatting to the order comments within the admin area? Just writing the comments using html doesn't work...
TheKnightlyWebGuy's user avatar
0 votes
0 answers
92 views

How to show Products on carousel as like as images?

Am using slick carousel,showing images on carousel like these <div class="my-class"> <img src="">...</img> </div> and calling my-class on custom.js,Am showing Recently ...
Rajesh Elangovan's user avatar
0 votes
1 answer
337 views

Return Address in RMA Email

Can any of u tell me where will be the html content for return address that is displayed in transactional email variable - return_address.
Swetha's user avatar
  • 496
1 vote
1 answer
1k views

Delay for newsletter pop up

I need help in achieving this. I got a magento template and my support period has expired but I stumbled on an issue which I can't really rectify properly. Whenever my site loads, the newsletter ...
Jahswey's user avatar
  • 85
0 votes
1 answer
46 views

HTML links are deleted/stripped after saving

I want to add code to a page in Magento as follows: <div class="row"> <div class="col-md-3"> <div class="fp-img-hover-wrapper"><img alt="Image 1" src="https://domain....
Torben's user avatar
  • 231
5 votes
2 answers
817 views

Set skin url as unsecure in email template at the backend

Is there a way to set skin url to be unsecure in img tag in email template content at the Magento backend. My tag would be: <img src="{{skin url="images/registration-email/logo.jpg" _area="...
Swetha's user avatar
  • 496
0 votes
0 answers
35 views

Installing magento on localhost server [duplicate]

I am trying to install Magento on my localhost server. I have downloaded magento full version from the http://www.magento.com/download and have got all the files from there running in my project, ...
Can O' Spam's user avatar
0 votes
1 answer
7k views

Adding html file in magento cms page

I am really new to magento,I am trying to add my own html page that I have created using visual studio, its an html file so I have renamed it to .phmtl I have places my file in this location app/...
sm.ali's user avatar
  • 3
1 vote
2 answers
440 views

Adding custom html to 2columns-left.phtml issue

I want to add a custom html to different pages using the 2columns-left.phtml.This is the my code: <?php $request = $this->getRequest(); $module = $request->...
Attila Naghi's user avatar
-1 votes
1 answer
83 views

css alignemet issue display the text in one line [closed]

Please visit these sites : here you can usually deliver in 3-5 days is displaying in 2 lines I want to display that in one line as in this link :
Baby in Magento's user avatar
2 votes
2 answers
391 views

escapehtml won't manage "&" in mail subject

I'm trying to figure out why a value like ramdom&text, passed as a variable in : {{htmlescape var=$product.customvariable}} will appear as random&text(what I want) inside the mail, and ...
Schwipps's user avatar
-2 votes
1 answer
161 views

remove empty space in product view page [closed]

please vist these links with tier prices : without tier prices : in the first link , everything is fine. but in the second link , we have empty space between "BUY NOW " and "PRODUCT Tags", ...
Baby in Magento's user avatar
1 vote
1 answer
61 views

css alignment issues text is dispalying too below

please visit these links : we are using a magento platform if tier prices are available than its displaying like this : if tier prices are not available, than its displaying like this : means , ...
Baby in Magento's user avatar
2 votes
2 answers
4k views

I want to change the html of breadcrumb?

I want to change the default HTML and some CSS classes for the breadcrumbs, where is the file for that? I want to know the path where its coming from?
Simmi's user avatar
  • 95
-2 votes
1 answer
158 views

display the tier prices text in a single line in product view page [closed]

please check this link : http://hotwheelstoys.in/totaltoys2/var/www/html/totaltoys/happy-hours-scribblez.html below price you can see "Buy 5 for Rs100.00 each and save 70%" i want to dispaly the ...
Baby in Magento's user avatar

1
5 6
7
8 9