Zen Follower
- Join Date:
- May 2008
- Location:
- UK
- Posts:
- 408
- Plugin Contributions:
- 0
Tabbed Products Pro (TPP) Contrib - Official Thread
Hi Thank you for your help. I have it all sorted out now. Thanks
Started by qhome on 21 Jan 2008, 7:19 AM · Views: 398,472
Zen Follower
Hi Thank you for your help. I have it all sorted out now. Thanks
New Zenner
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
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.
New Zenner
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
<?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. > > Danbubbadan:
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/zencart_boilerplate_files.html
it will tell you to put the code in tpl_product_info_display.php
<!--bof Product description -->
right beforein 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
Using version v1.5.7b
Totally Zenned
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.
Zen cart installation / maintenance / customisation / hosting
Supported Modules: Dutch language pack, Multi site, Dynamic Price Updater and more.
New Zenner
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.
Anthony Ennis
www.novainkjet.com
Totally Zenned
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.
Zen cart installation / maintenance / customisation / hosting
Supported Modules: Dutch language pack, Multi site, Dynamic Price Updater and more.
New Zenner
Thanks, I probably missed a step. I'm very new to Zen Cart. I'll reinstall and put if I run into any problems.
Anthony Ennis
www.novainkjet.com
New Zenner
Tried again. The instructions indicae to change the a cc's file. Done that. Changed custom tab 1 & 2 to another heading. Followed the steps to add relevant information in the product description, but on live site no tabs.
Anthony Ennis
www.novainkjet.com
New Zenner
Can anyone answer a question for me?
I finally have TTP installed and somewhat working. But I also installed CKEditor, are thee two mods compatible?
Anthony Ennis
www.novainkjet.com
New Zenner
AnthonyEnnis:
Can anyone answer a question for me?
I finally have TTP installed and somewhat working. But I also installed CKEditor, are thee two mods compatible?
are they?
Totally Zenned
cindygordon:
are they?those two have nothing in common. So yes. But ckeditor may interfere with the placing of comments used to create extra tabs etc.
Zen cart installation / maintenance / customisation / hosting
Supported Modules: Dutch language pack, Multi site, Dynamic Price Updater and more.
Zen Follower
Very nice plug-in but I'm having problem understanding the adding of a tab and the purpose of the custom tab 1, 2, 3. I want to have a tab that says " Shipping & Returns" this will be a global tab I copied the text from my ezpage and then added it to the custom 2 tab. How do I changed the name on the custom tab?
I know this is easy and I am somehow not understanding the instructions.
Thanks
Zen Follower
Design75:
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.
Were you able to rework this into a responsive plugin?
Totally Zenned
I can't remember how i solved it, :blush:. It may also be possible I ended up using bootstrap tabs. I'll look it up and let you know.
rjspomer:
Were you able to rework this into a responsive plugin?
Zen cart installation / maintenance / customisation / hosting
Supported Modules: Dutch language pack, Multi site, Dynamic Price Updater and more.
Zen Follower
Design75:
I can't remember how i solved it, :blush:. It may also be possible I ended up using bootstrap tabs. I'll look it up and let you know.
Thank You!:smile:
Totally Zenned
rjspomer:
Thank You!:smile:
I found my dev site, wich I used (https://tpp.zen4all-dev.nl/index.php?main_page=product_info&cPath=1_4&products_id=1)
I'll try to wrap it in to an updated version of this mod this week.
Zen cart installation / maintenance / customisation / hosting
Supported Modules: Dutch language pack, Multi site, Dynamic Price Updater and more.
Zen Follower
Design75:
I found my dev site, wich I used (https://tpp.zen4all-dev.nl/index.php?main_page=product_info&cPath=1_4&products_id=1)
I'll try to wrap it in to an updated version of this mod this week.
Looks great!:smile:
Zen Follower
Hi Design75
Any update?
Thanks
Totally Zenned
No, sorry, to busy with paid work.
If you send me a pm with your email address, i'll send you a file dump of my test site, so you can work it out your self.
rjspomer:
Hi Design75
Any update?
Thanks
Zen cart installation / maintenance / customisation / hosting
Supported Modules: Dutch language pack, Multi site, Dynamic Price Updater and more.
Zen Follower
I installed this on a development site ZC 155f and and TPP 1.2
It looks and works great, but I came across a weird limitation. I didn't see any mention of this in the docs or in the forum... sorry if this has been discussed before.
There seems to be a hard limit to the amount of text that can be added to each tab.
I had longish product descriptions, and this caused a close div tag </div> to be inserted in the html on the product list page. With the result that the page stopped loading.
The product description pages were working fine, which made this hard to track down.
If I moved one paragraph to another tab, problem solved.
I had a quick look through the code and can't see where this limitation might be coming from.
Tell staff why this post should be reviewed.