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 4564

Denotes questions related to HTML code in Magento.

1 vote
Accepted

Adding custom html to 2columns-left.phtml issue

You can do this by using layout handler. As per as ur comment,you want to add this code whenever router url are customer/account/index customer/account/edit In your case customer_account_index & …
Amit Bera's user avatar
  • 77.7k
0 votes

Include Cache in Magento2 module with using block

For implement cache for block, you need define cache_lifetime. <block class="Block\Class" name="blockname" > <arguments> <argument name="cache_lifetime" xsi:type="number">864000</argument> …
Amit Bera's user avatar
  • 77.7k
1 vote

Remove invalid html characters while fetching CMS pages by id

$helper = Mage::helper('cms'); $processor = $helper->getBlockTemplateProcessor(); $html = $processor->filter($content); …
Amit Bera's user avatar
  • 77.7k
0 votes
Accepted

How to copy a product's attributes value to another attribute?

Moh3n,i suggest that export an product from Admin in csv format. with sku,weight and then import that csv with change columns name to general_weight from weight. pragmatically if want then follow bel …
Amit Bera's user avatar
  • 77.7k
1 vote

how to add a prefix to a product attribute value?

In this case you can use magento event/observer.There are lot of events are exiting in by whose you can set general_weight basic of weight. As you have using this code.There some issue in your obse …
Amit Bera's user avatar
  • 77.7k
2 votes
Accepted

Hide price for out of stock products

Generally price is render by below code: <?php echo $this->getPriceHtml($_product); ?> And magento is check in stock by using below code: $_product->isSaleable(). At list.phtml file add this as …
Amit Bera's user avatar
  • 77.7k
0 votes
Accepted

HTML/CSS formating within the description?

As per as comment, my solution is working. So. Inline CSS is working for this case.
Amit Bera's user avatar
  • 77.7k
0 votes

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

There are lot 3rd party plugin/extension at magento Extension MarketPlace .By Installing them,you can use multiple banner for home. You need use those may this resolve,your issue.
Amit Bera's user avatar
  • 77.7k
3 votes

customer name is not visible in newsletter conformation mail

Dennis,Magento do not save customer firstname and last name in newsletter model so ,you can not get customer name in email template You need customization for this https://stackoverflow.com/questio …
Amit Bera's user avatar
  • 77.7k