No, I mean having the Add to Cart stuff above or below the tabs. Why haven't in the product description only to have it disappear when somebody clicks another tab? I think it confuses customers to have it in another tab besides the Add to Cart tab. It is better to include it in all tabs, above or below the tabs (the "omnipresent" solution), or only in the Add To Cart tab.
To make it omnipresent, find and open \templates\template_default\templates\tpl_product_info_display.php, which is Zen Cart's default file for creating an individual product's page. Find and copy the code beginning with [FONT=Courier New]
<!--bof Add to Cart Box -->[/FONT] through [FONT=Courier New]
<!--eof Add to Cart Box-->[/FONT]. Then open your custom template's tpl_product_info_display.php file and paste it in an appropriate place, above or below:
Code:
<?php
//BOF :: Tabbed Products Pro ::
echo '<div id="tpptabBlock" style="display:none;">' . $tabData . '</div>';
//EOF :: Tabbed Products Pro ::
?>
For the discount table, follow the procedure open, copying and pasting the code beginning with [FONT=Courier New]
<!--bof Quantity Discounts table -->[/FONT] through [FONT=Courier New]
<!--eof Quantity Discounts table -->[/FONT].
The quote is from TPP's documentation. Open readme_tabbed.html and click How To Use for further info.
This site is an example of truly dynamic TPP that doesn't require TPP tags in each product's product description data field. If you require extended development, contact me privately.
----
The above was written while Diva responded and you asked for assistance in another post. I do not have the experience Diva does, but I agree with those parts that I understand in her replies. Custom templates cut out a lot and often make it harder to learn or troubleshoot. FWIW, how I learned was by starting with an approved template and comparing it with the Zen Cart default files. And then from there whenever I needed something my custom template didn't do, I asked questions here, I played Sherlock Holmes, and I learned eventually what file I needed from the Zen Cart core or default template files. Then I hacked my way to a solution through trial and error and browsing the forum.