cancel
Showing results for 
Search instead for 
Did you mean: 

Edit data.php but no changes on frontend

Edit data.php but no changes on frontend

I have installed this theme on my client host-
https://themeforest.net/item/megatron-megaflexible-responsive-magento-theme/8177432
Now he wants better page loading speed and for this i want to use lazy load script (blazy.js) for images-
So i need to update image tag code on homepage where owl carousel working-
in this 1st screenshot you can see there 

Template:frontend/megatron/default/template/carousel/products_horizontal.phtml

templateso in this template i found a function which showing product images-

drawProductPreview() function called from helper

check 2nd screenshot-
codeSo for edit this function i opened 

\app\code\local\Etheme\Megatronconfig\Helper\Data.php
and there i edit this function and add attributes on image tag for b-lazy loading
tagand save everything and flush all type of cache like- magento cache and storage cache 
more images i added these image attributes-
img

Frontend source code screenshot-
source code

but on frontend nothing change...i dont know what i do?
please help me Smiley Happy