View Single Post
  #5  
Old 10-21-2015, 07:28 AM
  GlasPak's Avatar 
GlasPak GlasPak is offline
 

eXpert
  
Join Date: May 2015
Posts: 241
 

Default Re: Missing alt tag in div class="default-image"

Quote:
Originally Posted by razortw
Thank you.
Looks like a bug, as the issue remains on a fresh X-Cart 5.2.7 installation.
I will report it to the development team to get it fixed.
As a workaround, I would suggest to manually override the alt description until this is fixed.
Here is the bug report where you can track the progress of the issue:
* https://bt.x-cart.com/view.php?id=45229
Thanks! Not sure how to manually override the alt description tho.

Would it be something like
Code:
public function getAlt() { return $this->getParam(self::PARAM_ALT); if($this) == null) { $this = "Default Image"; } }


???

Also didn't know 5.2.7 was out, our admin panel in x-cart still shows 5.2.6 and no option to upgrade.
__________________
Business License
https://glaspak.com
GoDaddy VPS - Apache with WHM
2GB ECC DDR3 1600MHz
2x Intel E5-2630L v2 Hex Core 2.4/2.8ghz
15 MB proc cache
60 GB 10k RPM hdd
PHP 7.0.15
MariaDB 10.1.21 with InnoDB engine
Reply With Quote