New Zenner
- Join Date:
- Mar 2010
- Location:
- NY - Hudson Valley
- Posts:
- 30
- Plugin Contributions:
- 0
Post #1 by rivs
Hi,
I'm not a php coder and could use some help. My client wants each of her physical products (not download products) to have multiple pdf download links on the product info display page. I currently have one due to manipulating the url link on the product page.
Is there a way to hard code the php so that a link to a pdf download could be inserted according to product id - Here is the current tpl_product_info_display.php where the url points to the value added in the admin url link. Thanks so much!! Kate
p.s. i tried the add-on to have multiple downloads and it did not turn out well so i'd prefer to hard-code the values when she has more than one download required.
<!--bof Product URL - changed to download pdf kf--> <?php ##if (zen_not_null($products_url)) { ######if ($flag_show_product_info_url == 1) { ?> ######<p id="productInfoLink" class="productGeneral "><?php echo sprintf(TEXT_MORE_INFORMATION, zen_href_link(FILENAME_REDIRECT, 'action=url&goto=' . urlencode($products_url), 'NONSSL', true, false)); ?></p> <?php ######} // $flag_show_product_info_url ##} ?> <!--eof Product URL -->