Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 24541

Denotes questions related to HTML code in Magento.

3 votes
Accepted

Weird image whitespace

This is not css issue. When you resize the image the magento will automatically add the white background to fill the container size. use keepFrame(false) $this->helper('catalog/image')->init($_produc …
Qaisar Satti's user avatar
  • 32.5k
0 votes

JavaScript HTML5 Canvas Snow in 3D in magento

add js file in base/js folder and add your js like below code. <script type="text/javascript" src="/js/ThreeCanvas.js"></script> <script type="text/javascript" src="/js/Snow.js"></script>
Qaisar Satti's user avatar
  • 32.5k
1 vote
Accepted

Added duplicate td for existing table using jQuery

tested and working $(document).ready(function() { for(i=0;i<2;i++){ var row = '<td style="background: red">b_'+ i +'</td>'; $('.test').before(row); } }) …
Qaisar Satti's user avatar
  • 32.5k
2 votes

Magento Observer And Email Template

you need to pass the order array so he can get the values. so in TemplateVariables add $emailTemplateVariables['order'] = $order; $emailTemplateVariables['order'] = $order; $emailTem …
Qaisar Satti's user avatar
  • 32.5k
0 votes

Jquery post request returning html

use exit will solve the problem for you echo json_encode($return); exit; and use proper magento 2 way for json response. Example
Qaisar Satti's user avatar
  • 32.5k
1 vote
Accepted

merge the 2 different codes to get 1 code

use this <?php if(Mage::getStoreConfig('marketplace/marketplace_products/product_hint_status') && Mage::getStoreConfig('marketplace/marketplace_products/product_qty')){?> <img src="<?php echo $this- …
Qaisar Satti's user avatar
  • 32.5k
1 vote
Accepted

Update all textfields of multiple products by clicking one update button

you can add product id as in array same as for price field and special price field <input type="hidden" name="product_mass_update[]" value="<?php echo $products->getEntityId(); ?>"/> <input cla …
Qaisar Satti's user avatar
  • 32.5k
0 votes
Accepted

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

After saving the changes follow these steps - Remove your themes files from pub/static Run this command <youmagentodirecotry> bin/magento setup:static-content:deploy Give folder permission 755 pub/ …
Qaisar Satti's user avatar
  • 32.5k
1 vote

Composition of HTML view of Magento 2

Copy layout from vendor/magento/module-theme/view/frontend/layout/print.xml to /home/theuaeex/public_html/app/design/frontend/Alothemes/default/Magento_Theme/layout/print.xml and use the layou …
Qaisar Satti's user avatar
  • 32.5k