Re: Product code
Ok, what I have done in the past is set up an extra field in the admin area. Call it 'Video' or something that makes it clear what it does. Then in customer/main/product.tpl, add this code where you want the link to the video to appear:
{if $extra_fields[0].field_value}
Code for pop-up
{/if}
That basically says that if the first extra field has a value, show the code. You can enter anything you want in the admin extra field area to get it to show up, but I typically just tell a client to type 'Y' in the box. If you don't want anything to appear for a product, just leave it empty.
Make sense?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
|