Banner Image
Banner Image
Banner Image

Magento Custom wysiwyg text parse variables on print on screen.

When i was new with magento i was get lot of problem with this wysiwyg text parse. i try to do that manually with php code. But after move inside the magento core function i found that method how simply parse the variable for the wysiwyg text description or custom module text.

Magento has the simple

[php]
$_cmsHelper = Mage::helper(‘cms’);
$_process = $_cmsHelper->getBlockTemplateProcessor();
echo $_process->filter($_product->getMyCustomAttribute()); //pass the variable which is use to display content of wysiwyg editor
[/php]

Blog

In today’s digital world, just having a website is not enough. You need people to…
Learn how to track website performance with the upgraded Search Console Insights — a must-have…
Discover Free & Budget-Friendly WordPress Themes to Build Stunning Websites Without Overspending Creating a professional…
In today’s ultra-competitive eCommerce world, launching a Shopify store is easy. But building a branded,…

Stay Ahead in Digital Innovation

Looking for expert tips, industry insights, and strategies to boost your digital presence? Subscribe to Sharesoft Technology’s weekly LinkedIn newsletter!