Elxis CMS Forum

Extensions => Modules => Topic started by: mgrc on May 10, 2010, 12:50:17

Title: ios module product page
Post by: mgrc on May 10, 2010, 12:50:17
For this module the "out of stock" line from language file would not show up on the eshop homepage, just a containing div.

I changed line 367 in mod_eshop_productspage.php from:

echo '<div class="eshop_outstock">'.$eshop->lng->OUTOFSTOCK2."</div>\n";

to:

echo '<div class="eshop_outstock">'.$this->eshop->lng->OUTOFSTOCK2."</div>\n";

and now it works!
 8)
Title: Re: ios module product page
Post by: datahell on May 10, 2010, 14:01:36
Yes, you are absolutely correct.
My fault, sorry.