Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Hi there
Sorry to ask a silly question...
I am selling food items and i want to display a Tab which is labelled ingredients.
Each item i sell will have its own ingredients tab which will be different every time with a new product etc.
How can I do this or can this not be done ???
Thanks
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
I do not recall the exact procedure, but it is described in the readme very clearly.
You can use the standard description field, and add a special tag around the text that needs to be added to the new tab.
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Thank you very much, i will give that a try.
Thanks
Quote:
Originally Posted by
Design75
I do not recall the exact procedure, but it is described in the readme very clearly.
You can use the standard description field, and add a special tag around the text that needs to be added to the new tab.
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Hi Thank you for your help. I have it all sorted out now. Thanks
1 Attachment(s)
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
I am using Tabbed Products Pro v1.20-for155 with Zen Cart v1.5.5e. Current PHP version: 5.6
On the product page the label for product prices appears twice. Price: Price:
Image Below
Attachment 16962
It doesn't happen when I switch to a template that doesn't use the plugin.
Otherwise, I love the plugin and am still going to use it even if I can't fix this problem.
Re: Using Tabbled Products Pro with Boilerplate Fix
FYI This also works in 1.5.5e
It really is a handy coupling especially for any product that could use a highlight like I needed for Cosmetic products to highlight a special ingredient
Dan
Quote:
Originally Posted by
bubbadan
I am putting this in here for others who may run in to this problem
If you follow the directions here
http://www.thatsoftwareguy.com/zenca...ate_files.html
it will tell you to put the code in tpl_product_info_display.php
right before
<!--bof Product description -->
in most cases this works just fine. However if you use TPP it will not work
you must put the code at the very beginning of tpl_product_info_display.php right after the first ?> at the top of the page.
in 1.51 it would look like this
Code:
<?php
/**
* Page Template
*
* Loaded automatically by index.php?main_page=product_info.<br />
* Displays details of a typical product
*
* @package templateSystem
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: tpl_product_info_display.php 3435 2006-04-14 03:42:46Z ajeh $
*/
//require(DIR_WS_MODULES . '/debug_blocks/product_info_prices.php');
?>
<!--bof Product description -->
<?php if ($products_description != '') { ?>
<div id="productDescription" class="productGeneral biggerText"><?php echo stripslashes($products_description); ?></div>
<?php } ?>
<!--eof Product description -->
<br class="clearBoth" />
<!-- bof html description -->
<?php
function html_include_cb($match) {
$prefix = "HTML_INCLUDE_";
$match_filename = str_replace($prefix, '', $match[0]);
$filename = DIR_WS_LANGUAGES . $_SESSION['language'] .
'/boilerplate/' .
$match_filename . ".html";
$buffer = "";
if (file_exists($filename)) {
$handle = @fopen($filename, "r");
while (!feof($handle)) {
$buffer .= fgets($handle, 4096);
}
fclose($handle);
}
return $buffer;
}
if ($products_description != '') {
$pattern = "/HTML_INCLUDE_[a-zA-Z0-9]*/";
$products_description = preg_replace_callback($pattern, "html_include_cb",
$products_description, -1);
}
?>
<!-- eof html description -->
Hope this might help someone.
Dan
2 Attachment(s)
Re: Using Tabbled Products Pro with Boilerplate Fix
Revisiting this module after a long time. I remember there was a discussion some time ago about the responsiveness of this mod. Can't find that discussion anymore, but since I need this mod for a new project I thought to give ti a go. See the pictures for the result. It is not final yet, but the start is there. As soon as I have some time, I will pour this into a new version of this mod.
Attachment 17303Attachment 17304
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
I really like this add on. But did have difficulty installing and changing files, etc. Ended up removing it. If anyone can guide through the steps when I re-attempt another install, I'd be grateful. I'm also willing to pay to have someone install it for me.
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
AnthonyEnnis
I really like this add on. But did have difficulty installing and changing files, etc. Ended up removing it. If anyone can guide through the steps when I re-attempt another install, I'd be grateful. I'm also willing to pay to have someone install it for me.
At which point are you getting in trouble?
there is only one file that needs editing, and that is "/includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php". the readme explains how to make the changes.
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Thanks, I probably missed a step. I'm very new to Zen Cart. I'll reinstall and put if I run into any problems.