Quote:
Originally Posted by w3designstudios
Is there any way to use the content from a static page that is created within X-Cart in the pop-up? I figured I could make the pop-up simply be the static page that is created in X-Cart, but instead would like just the content of that page.
Any ideas?
|
Looking at the original code and instructions...
Quote:
If you want to link to a unique image/html page for each product, you can use this:
Code:
{if $v.classtext eq 'Option Name'} <a href="#" onClick="window.open('files/options/{$product.productid}.html','','scrollbars=no,resiz able=no,width=300,height=400,menubar=no,toolbar=no ');return false;" target="_blank"><img src="{$ImagesDir}/question.gif" border="0" style="vertical-align: middle;" alt="Click here for more info" /></a>{/if}
So if you are veiwing the details for a product with ID # 8, clicking on the link next to the 'Option Name' option will link you to files/options/8.html.
|
.. it shouldn't be too difficult. Just copy the html code from where the static page is created in x-cart, paste it into a good text editor, name it accordingly (i.e. 8.html), and upload it to the files/options/ directory. If you try to link the popup to the static page directly you may end up having your entire site in the popup window (I haven't checked this, but it seems like that is what would happen).