Cubecart Pop Up Box

Make It Big

The default size of Pop-up Box in Cubecart can on the small side. To enlarge the size of the Pop-up, do this:

Log In to your server by FTP, go to the skins directory. I use Killer so I'll give that example.

/skins/Killer/styleTemplates/content/viewProd.tpl

Make a backup copy of the file.

Open the file in a text editor. Find the section:

<div style="text-align: center;">
<a href="javascript:openPopUp('extra/prodImages.php?productId={PRODUCT_ID}', 'images', 548, 455, 0);" class="txtDefault">{LANG_MORE_IMAGES}</a>
</div>

548 = width. 455 = height.

Change the numbers to another size.

<div style="text-align: center;">
<a href="javascript:openPopUp('extra/prodImages.php?productId={PRODUCT_ID}', 'images', 600, 600, 0);" class="txtDefault">{LANG_MORE_IMAGES}</a>
</div>

These numbers are the width and height of the Pop-up. Experiment to find a size that suits you.

Done!