-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
BTW, the reason I am doing this is because I have a large # of categories, some with more than 200 products, that require charts for visitors to figure out which item they want. The charts are lengthy, but can be divided into manageable segments.
Trying to display only a SHORT description to the visitor. If this person likes what she reads, she can click the tabs to find the right chart.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
**shrugs** I wish I could help.. this is an upgrade to the current functionality.. I've never looked at trying to expand this add-on beyond the product info pages.. If I need tabs anyplace else I simply use the readme as a guide for doing this..
Quote:
Originally Posted by
Feznizzle
Ok, back again, trying to figure out how to call the "TPP" effect for category descriptions (would love to use it for EZ-pages as well, subject for another conversation).
This *seems* like it should be VERY easy to do, since the mod is already installed. During install, you copy 3 little snippets to:
/includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php
Theoretically, it should be super simple to just add the snippets to the category controlling file:
/includes/templates/YOUR_TEMPLATE/templates/tpl_index_categories.php
Right? But no matter I try it things go wonky!
Input, anybody? Bueller? Bueller?
Here are the 3 snippets:
Code:
<?php
//BOF :: Tabbed Products Pro ::
require(DIR_WS_MODULES . 'tabbed_products_pro.php');
//EOF :: Tabbed Products Pro ::
?>
<?php
//BOF :: Tabbed Products Pro ::
echo '<div id="tpptabBlock" style="display:none;">' . $tabData . '</div>';
//EOF :: Tabbed Products Pro ::
?>
<?php
//BOF :: Tabbed Products Pro ::
echo $tabjscript;
//BOF :: Tabbed Products Pro ::
?>
And here is the code from tpl_index_categories.php (I
bolded out the place I've been trying to put the snippets):
Code:
<?php
/**
* Page Template
*
* Loaded by main_page=index<br />
* Displays category/sub-category listing<br />
* Uses tpl_index_category_row.php to render individual items
*
* @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_index_categories.php 4678 2006-10-05 21:02:50Z ajeh $
*/
?>
<div class="centerColumn" id="indexCategories">
<?php if ($show_welcome == true) { ?>
<h1 id="indexCategoriesHeading"><?php echo HEADING_TITLE; ?></h1>
<?php if (SHOW_CUSTOMER_GREETING == 1) { ?>
<h2 class="greeting"><?php echo zen_customer_greeting(); ?></h2>
<?php } ?>
<!-- deprecated - to use - uncomment
<?php if (TEXT_MAIN) { ?>
<div id="" class="content"><?php echo TEXT_MAIN; ?></div>
<?php } ?>-->
<!-- deprecated - to use - uncomment
<?php if (TEXT_INFORMATION) { ?>
<div id="" class="content"><?php echo TEXT_INFORMATION; ?></div>
<?php } ?>-->
<?php if (DEFINE_MAIN_PAGE_STATUS >= 1 and DEFINE_MAIN_PAGE_STATUS <= 2) { ?>
<div id="indexCategoriesMainContent" class="content"><?php
/**
* require the html_define for the index/categories page
*/
include($define_page);
?></div>
<?php } ?>
<?php } else { ?>
<h1 id="indexCategoriesHeading"><?php echo $breadcrumb->last(); ?></h1>
<?php } ?>
<?php
if (PRODUCT_LIST_CATEGORIES_IMAGE_STATUS_TOP == 'true') {
// categories_image
if ($categories_image = zen_get_categories_image($current_category_id)) {
?>
<div id="categoryImgListing" class="categoryImg"><?php echo zen_image(DIR_WS_IMAGES . $categories_image, '', SUBCATEGORY_IMAGE_TOP_WIDTH, SUBCATEGORY_IMAGE_TOP_HEIGHT); ?></div>
<?php
}
} // categories_image
?>
<?php
// categories_description
if ($current_categories_description != '') {
?>
<div id="categoryDescription" class="catDescContent"><?php echo $current_categories_description; ?></div>
<?php } // categories_description ?>
<!-- BOF: Display grid of available sub-categories, if any -->
<?php
if (PRODUCT_LIST_CATEGORY_ROW_STATUS == 0) {
// do nothing
} else {
// display subcategories
/**
* require the code to display the sub-categories-grid, if any exist
*/
require($template->get_template_dir('tpl_modules_category_row.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_category_row.php');
}
?>
<!-- EOF: Display grid of available sub-categories -->
<?php
$show_display_category = $db->Execute(SQL_SHOW_PRODUCT_INFO_CATEGORY);
while (!$show_display_category->EOF) {
// // echo 'I found ' . zen_get_module_directory(FILENAME_UPCOMING_PRODUCTS);
?>
<?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_CATEGORY_FEATURED_PRODUCTS') { ?>
<?php
/**
* display the Featured Products Center Box
*/
?>
<?php require($template->get_template_dir('tpl_modules_featured_products.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_featured_products.php'); ?>
<?php } ?>
<?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_CATEGORY_SPECIALS_PRODUCTS') { ?>
<?php
/**
* display the Special Products Center Box
*/
?>
<?php require($template->get_template_dir('tpl_modules_specials_default.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_specials_default.php'); ?>
<?php } ?>
<?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_CATEGORY_NEW_PRODUCTS') { ?>
<?php
/**
* display the New Products Center Box
*/
?>
<?php require($template->get_template_dir('tpl_modules_whats_new.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_whats_new.php'); ?>
<?php } ?>
<?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_CATEGORY_UPCOMING') { ?>
<?php include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_UPCOMING_PRODUCTS)); ?><?php } ?>
<?php
$show_display_category->MoveNext();
} // !EOF
?>
</div>
Can somebody take a look and tell me if I'm on the right track? And if so, where should I put the snippets?
Thanks,
Mike
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
No worries, Diva, I figured that was the case. I was just kinda hoping somebody else out in the community might offer a thought.
BTW, try as I might, I could not model the readme correctly to get the trick done! You wouldn't happen to have a page somewhere that you could copy/paste the source so I could see how you do it on a ZC?
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
Feznizzle
No worries, Diva, I figured that was the case. I was just kinda hoping somebody else out in the community might offer a thought.
BTW, try as I might, I could not model the readme correctly to get the trick done! You wouldn't happen to have a page somewhere that you could copy/paste the source so I could see how you do it on a ZC?
This isn't really a Zen Cart thing.. it's TRULY an HTML thing.. the source code in the TPP readme would give you an HTML example to use..
http://clientlaserdiscvault(dot)over...dot)com/page-2
All I did was copy and paste EVERYTHING between the TPP readme body tags..
and here:
http://clientlaserdiscvault(dot)over...-test-category
Not a Zen Cart thing.. it's an HTML thing.. :smile:
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Hi,
I''m trying to figure out one cosmetic issue with TPP. I'm using TPP to show some Custom Tabs and Cross sell Tab towards the end of Product Info Page but the product description text (I don't use product description to be shown in tabs) is showing right above the tabs instead of the position that is set in tpl_product_info_display.php (below product title). I didn't find relevant code to make the text appear in the position set in my tpl_product_info_display.php. Guess it could be done in jscript_tpp.js? Can some give advice?
Thank you!
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Diva, I'm a total idiot. I heard you, I just didn't HEAR you! Sorry! Not sure how I screwed it up, but after looking at your link, I got a good model working:
Code:
<div id="slidetabsmenu" style="display: block;">
<ul>
<li> <a class="current" onclick="expandcontent('sc1', this)" href="javascript:void(0)"><span>Dis Da Tab</span></a> </li>
<li> <a class="" onclick="expandcontent('sc2', this)" href="javascript:void(0)"><span>Dis Da Uda Tab</span></a> </li>
<li> <a class="" onclick="expandcontent('sc3', this)" href="javascript:void(0)"><span>Dis Dat and Da Uda</span></a> </li>
</ul>
</div>
<br style="clear: both;">
<div id="tabcontentcontainer">
<div class="tabcontent" id="sc1" style="display: block;">
<p> Mikey puts some html in here!!!!</p>
</div>
<!--end sc1-->
<div class="tabcontent" id="sc2" style="display: none;">
<p> Put some more content here, bro!</p>
</div><!--end sc2-->
<div class="tabcontent" id="sc3" style="display: none;">
<p> Mikey puts some awesomeness right here!!!!</p>
</div>
<!--end sc3-->
You are absolutely right, no need to mod anything. That bit of code will call TPP anywhere!
Once again, thank you for the awesomeness and sorry for being so thick! :frusty:
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
Feznizzle
Diva, I'm a total idiot. I heard you, I just didn't HEAR you! Sorry! Not sure how I screwed it up, but after looking at your link, I got a good model working:
Code:
<div id="slidetabsmenu" style="display: block;">
<ul>
<li> <a class="current" onclick="expandcontent('sc1', this)" href="javascript:void(0)"><span>Dis Da Tab</span></a> </li>
<li> <a class="" onclick="expandcontent('sc2', this)" href="javascript:void(0)"><span>Dis Da Uda Tab</span></a> </li>
<li> <a class="" onclick="expandcontent('sc3', this)" href="javascript:void(0)"><span>Dis Dat and Da Uda</span></a> </li>
</ul>
</div>
<br style="clear: both;">
<div id="tabcontentcontainer">
<div class="tabcontent" id="sc1" style="display: block;">
<p> Mikey puts some html in here!!!!</p>
</div>
<!--end sc1-->
<div class="tabcontent" id="sc2" style="display: none;">
<p> Put some more content here, bro!</p>
</div><!--end sc2-->
<div class="tabcontent" id="sc3" style="display: none;">
<p> Mikey puts some awesomeness right here!!!!</p>
</div>
<!--end sc3-->
You are absolutely right, no need to mod anything. That bit of code will call TPP anywhere!
Once again, thank you for the awesomeness and sorry for being so thick! :frusty:
Hi Fez, I'm wanting to have tpp on my Document - Product pages.
Could you explain how I would use what you've discovered and in which file?
Thanks!
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
mcpisik
Hi Fez, I'm wanting to have tpp on my Document - Product pages.
Could you explain how I would use what you've discovered and in which file?
Thanks!
The short answer is you WOULDN'T use the "solution" Fez and I spoke of on a PRODUCT page..
The "solution" we spoke of is how to add tabs to pages other than the PRODUCT pages.. That "solution" is an HTML solution and it is outlined in the posts where fez and I discuss how to do this.. If you look at the source code for the TPP readme you can use it as a guide for adding tabs to other pages.. If you use this to add tabs to other product type pages, you will have to add the HTML to EACH product description every time you create a new product..
To avoid this and to add tabs to other PRODUCT pages, you need to apply the code in the "tpl_product_info_display.php" file to other product type files.. A merge of the file for the corresponding product type file should help you see where the code should go..
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Awesome thank you for that. Yes, I think I grabbed at the hope someone was doing what I was after to save me the confusion.
But I'll take your points and get started merging. Cheers!
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
mcpisik
Awesome thank you for that. Yes, I think I grabbed at the hope someone was doing what I was after to save me the confusion.
But I'll take your points and get started merging. Cheers!
Yep.. and this is also covered in the readme..
-
Tabbed Products Pro (TPP) v1.09a submitted tonight..
Changelog:
- Slight change so that the javascript and CSS files only load on the product information pages
- Add CSS3 (imageless) stylesheet in the /includes/templates/YOUR_TEMPLATE/css/tpp/*.css folder
- Improved fix for the issue with the "duplicate" review buttons (incorrectly showed two "Write Reviews" buttons)
-
Re: Tabbed Products Pro (TPP) v1.09a submitted tonight..
Hi mcpisik,
Sorry for the slow response, but looks like you've been Diva'ed already! :)
As she pointed out, in your case it's best to hard code your display page per the readme instructions for the mod. That way you can use TPP as much as you please on all your document products w/o the hassle of messy per-page-code additions.
If you already have TPP installed, you can use that bit of code to call TPP anywhere (EZpage, Category page, document prod pages, etc).
Just copy and paste that bit of code I posted, then see what it does. It will only take a few seconds to figure it out:
1. Create new EZ page (or whatever page).
2. In source view, paste that code snippet I provided.
3. Go take a look at the page to see what it did.
In the areas where I used <p></p> you can post as much html as you please.
Good luck!
-
Re: Tabbed Products Pro (TPP) v1.09a submitted tonight..
Quote:
Originally Posted by
Feznizzle
Hi mcpisik,
Sorry for the slow response, but looks like you've been Diva'ed already! :)
"Diva'ed"???? :laugh::laugh::laugh:
-
Re: Tabbed Products Pro (TPP) v1.09a submitted tonight..
Quote:
Originally Posted by
Feznizzle
Hi mcpisik,
Sorry for the slow response, but looks like you've been Diva'ed already! :)
As she pointed out, in your case it's best to hard code your display page per the readme instructions for the mod. That way you can use TPP as much as you please on all your document products w/o the hassle of messy per-page-code additions.
If you already have TPP installed, you can use that bit of code to call TPP anywhere (EZpage, Category page, document prod pages, etc).
Just copy and paste that bit of code I posted, then see what it does. It will only take a few seconds to figure it out:
1. Create new EZ page (or whatever page).
2. In source view, paste that code snippet I provided.
3. Go take a look at the page to see what it did.
In the areas where I used <p></p> you can post as much html as you please.
Good luck!
This is brilliant, although I had achieved a similar with jquery and put in a new different horizontal menu bar, but I was pretty limited in what I was doing.
With this, how would you code in images from your domain server? <img src="/var/sites/k/kis...esh.co.uk/.../Slide5_Woodenbot.gif" alt="Book" id="book" />
is it particularly simple.
Odd the jquery demo stuff can be copied and pasted into an easy page and text written, but the functionality after that gets more tricky and you have to trawl through more code to look at where you are posting things.
It could be a useful alternative.
-
Re: Tabbed Products Pro (TPP) v1.09a submitted tonight..
Quote:
Originally Posted by
LEJay
This is brilliant, although I had achieved a similar with jquery and put in a new different horizontal menu bar, but I was pretty limited in what I was doing.
With this, how would you code in images from your domain server? <img src="/var/sites/k/kis...esh.co.uk/.../Slide5_Woodenbot.gif" alt="Book" id="book" />
is it particularly simple.
Odd the jquery demo stuff can be copied and pasted into an easy page and text written, but the functionality after that gets more tricky and you have to trawl through more code to look at where you are posting things.
It could be a useful alternative.
If you have TPP installed and your question is pertaining to how to add tabs to other pages, then please clarify your question.. If this is a GENERAL "How to add tabs to pages in Zen art" and you DO NOT have TPP installed, I'm afraid you need to move this discussion to a separate thread.
-
Re: Tabbed Products Pro (TPP) v1.09a submitted tonight..
Hi, I have installed TPP, i was wondering about inserting images into the text.
http://kissmyvmesh.co.uk/index.php?m...id=1&chapter=1
So I've placed two code iterations under the second tab. I can try and check the image, but its in the slider on my mainpage.
http://kissmyvmesh.co.uk/
-
Re: Tabbed Products Pro (TPP) v1.09a submitted tonight..
Quote:
Originally Posted by
LEJay
Still don't understand what it is you are asking.. In plain language what are you trying to put the tab?? an image from your slideshow??? If that's the case then just the URL to the image should be included in your HTML for the tab.. for example
Code:
<img src="http://kissmyvmesh.co.uk/images/banners/Slide1_hand.gif">
Is that what you are afer or am I missing something here??
-
Re: Tabbed Products Pro (TPP) v1.09a submitted tonight..
You missed absolutely nothing. I got something wrong somewhere. I can follow the same method.
Sorry about the jquery stuff, I was just remarking that its close to possible without the addon. (Ironically a cut and paste code quite possibly avoid the problems of people wanting to adapt things, less hassle... for addon devs...)
Thanks for the help and brilliant addon. Cheers
-
Re: Tabbed Products Pro (TPP) v1.09a submitted tonight..
Thank you for this plugin, but it looks like there still is a error with the "Write review" button, as it still displays two times. It displays in the tab, and it displays under the tabs as well. How can I fix this?
The verison I'm using is 1.09a (But the verion number on the admin page says 1.09. I guess you just forgot to edit it before uploading the new version?)
Regards
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
dee_d_lady
Hi,
I''m trying to figure out one cosmetic issue with TPP. I'm using TPP to show some Custom Tabs and Cross sell Tab towards the end of Product Info Page but the product description text (I don't use product description to be shown in tabs) is showing right above the tabs instead of the position that is set in tpl_product_info_display.php (below product title). I didn't find relevant code to make the text appear in the position set in my tpl_product_info_display.php. Guess it could be done in jscript_tpp.js? Can some give advice?
Thank you!
Please, can someone tell me, if it is possible to not show the text from product description table just above the tabs? I want to have TPP at the bottom of the page and the product description at the beginning of the page while other stuff (price block, additional images, attributes,...) between prod. description and TPP.
Thanks for any help with this
-
Re: Tabbed Products Pro (TPP) v1.09a submitted tonight..
Quote:
Thank you for this plugin, but it looks like there still is a error with the "Write review" button, as it still displays two times. It displays in the tab, and it displays under the tabs as well. How can I fix this?
The verison I'm using is 1.09a (But the verion number on the admin page says 1.09. I guess you just forgot to edit it before uploading the new version?)
Regards
Hi,
I fixed it when I turned off the button in Catalog->Product Types->Products General -> Edit Layout -> Show review button set to 0
-
Re: Tabbed Products Pro (TPP) v1.09a submitted tonight..
Quote:
Originally Posted by
RoyM
Thank you for this plugin, but it looks like there still is a error with the "Write review" button, as it still displays two times. It displays in the tab, and it displays under the tabs as well. How can I fix this?
Spent quit a bit of time tracking down and correcting this error, and I can't replicate this behavior (the "double" reviews buttons) in a default VANILLA Zen Cart installation.. which makes me wonder if your product info page had other modifications for your template.. OR if you updated from a previous version of TPP and still had the modified /includes/templates/YOUR_TEMPLATE/templates/tpl_product_reviews_default.php file from previous versions of TPP still in your files..
From the readme
Quote:
The issue of the "double" reviews buttons has been properly fixed.
to support this the following files has been deleted from the installer fileset, and should be removed from your store in their entirety. DO NOT KEEP BACKUPS OF THESE FILES ON YOUR WEB SERVER.
- /includes/templates/YOUR_TEMPLATE/templates/tpl_product_reviews_default.php
and then there's this:
Quote:
Deleted from this version
(remove these files in their entirety):
- /includes/templates/YOUR_TEMPLATE/css/stylesheet_tpp.css
- /includes/templates/YOUR_TEMPLATE/jscript/jscript_tpp.js
- /includes/templates/YOUR_TEMPLATE/templates/tpl_product_reviews_default.php
Quote:
Originally Posted by
RoyM
The verison I'm using is 1.09a (But the verion number on the admin page says 1.09. I guess you just forgot to edit it before uploading the new version?)
So I missed one version number.. this doesn't affect the module's functionality.. Won't be submitting an update anytime soon for such a minor thing..
-
Re: Tabbed Products Pro (TPP) v1.09a submitted tonight..
This is the first time i have installed this module, so there is no old files from previous installs.
Just mentioned the version number in case by mistake you had uploaded the old files ;-) No need to make a fix for that.
There are some modifikations made, but non concerning the review button.
-
Re: Tabbed Products Pro (TPP) v1.09a submitted tonight..
Quote:
Originally Posted by
RoyM
This is the first time i have installed this module, so there is no old files from previous installs.
Just mentioned the version number in case by mistake you had uploaded the old files ;-) No need to make a fix for that.
There are some modifikations made, but non concerning the review button.
Well dunno what the issue is then.. there is a conditional statement which simply says if the reviews are going to be shown on a tab then do not display the product info reviews button..
Code:
<?php if (TPP_GLOBAL_REVIEWS_ON_TAB != '1') { ?>
<!--bof Reviews button and count-->
<?php
if ($flag_show_product_info_reviews == 1) {
// if more than 0 reviews, then show reviews button; otherwise, show the "write review" button
if ($reviews->fields['count'] > 0 ) { ?>
<div id="productReviewLink" class="buttonRow back"><?php echo '<a href="' . zen_href_link(FILENAME_PRODUCT_REVIEWS, zen_get_all_get_params()) . '">' . zen_image_button(BUTTON_IMAGE_REVIEWS, BUTTON_REVIEWS_ALT) . '</a>'; ?></div>
<br class="clearBoth" />
<p class="reviewCount"><?php echo ($flag_show_product_info_reviews_count == 1 ? TEXT_CURRENT_REVIEWS . ' ' . $reviews->fields['count'] : ''); ?></p>
<?php } else { ?>
<div id="productReviewLink" class="buttonRow back"><?php echo '<a href="' . zen_href_link(FILENAME_PRODUCT_REVIEWS_WRITE, zen_get_all_get_params(array())) . '">' . zen_image_button(BUTTON_IMAGE_WRITE_REVIEW, BUTTON_WRITE_REVIEW_ALT) . '</a>'; ?></div>
<br class="clearBoth" />
<?php
}
}
?>
<!--eof Reviews button and count -->
<?php } ?>
Only reason it wouldn't work is if this conditional statement is missing or modified in some way.. I can't replicate this in a vanilla Zen Cart install, so there has to be something in your template which modifies with or removes the code which addresses the duplicate review buttons.. Can't see your site or your template files.. So I can't say.. **shrugs**
-
Re: Tabbed Products Pro (TPP) v1.09a submitted tonight..
I'm sure I'm just having a stupid moment, but should the 1.09a download include a jscript file and new stylesheet_tpp?
When viewing the readme it states:
Code:
To upgrade from 1.09 to 1.09a you do not need to do anything more than to upload ONLY the new javascript and stylesheet files and remove the old javascript and stylesheet files as well as the reviews file.
I deleted the files mentioned and then went to find the replacements but not sure what it refers to?
(I'll probably wish I could delete this post after I find the answer!)
-
Re: Tabbed Products Pro (TPP) v1.09a submitted tonight..
Quote:
Originally Posted by
mcpisik
I'm sure I'm just having a stupid moment, but should the 1.09a download include a jscript file and new stylesheet_tpp?
When viewing the readme it states:
Code:
To upgrade from 1.09 to 1.09a you do not need to do anything more than to upload ONLY the new javascript and stylesheet files and remove the old javascript and stylesheet files as well as the reviews file.
I deleted the files mentioned and then went to find the replacements but not sure what it refers to?
(I'll probably wish I could delete this post after I find the answer!)
Just delete the files indicated and upload the entire package and follow the install instructions..
-
Tabbed Products Pro (TPP) v1.10 - Will be submitted this week..
Changelog:
Added three new misc tabs. These tabs each have a corresponding Define Page. To use, simply activate the tab from the TPP admin and then edit the corresponding Define Page to add content to the tab. (and YES you may use the TPP shortcodes inside the Define Page if you are familiar with how to use the TPP shortcodes)
To upgrade you will need to login to your admin, upload the newly added and modified files, and click any link in the admin to activate the installer. DONE! You will see the setting in the TPP Admin to activate the new tabs.
-
Re: Getting Tabbed Products Pro to work with Ultimate Cross Sell
Wanted to post a possible BETTER solution to the part of this old post quoted below.
Instead of doing ANY of this, try finding this in includes\modules\tabbed_products_pro.php
Code:
$tabcontent = str_replace('id="crossSell"', 'id="crossSell_tab"', $tabcontent);
And Modify as follows:
Code:
$tabcontent = str_replace('id="crossSell2"', 'id="crossSell_tab"', $tabcontent);
Your mileage may vary.. I have not tested this (I don't use Ultimate Cross Sell) this, but I am confident that it should negate the need for this other hack..
Quote:
Originally Posted by
ConsultMe
This when combined with enabling: TPP - Global Cross Sell Tab in Admin > Configure > Tabbed Products Pro seemed to do everything required
EXCEPT the javascript bit to hide the original block and display the new tabbed version.
So on checking /includes/templates/classic/jscript/jscript_tpp.js I noted that it was looking for id "crossSell" to disable and then enabling crossSell_tab instead.
Ultimate Cross Sell uses a number after it's ID's, the box that I was using was the Upsell which I found was called crossSell2 when I checked the HTML code for a page on the live site:
HTML Code:
<!-- bof: tpl_modules_ultimate_cross_sell_products -->
<div class="centerBoxWrapper" id="crossSell2">
So my first attempt was obviously to edit jscript_tpp.js at lines 95:
Code:
hackArr[6] = document.getElementById('crossSell');
and 110:
Code:
NewArr[6] = document.getElementById('crossSell_tab');
to "crossSell2"
To my frustration this didn't work, I think it's to do with the fact that tpl_modules_ultimate_cross_sell_products.php appends the number at run time to the title.
So for me, where I only use one cross sell centreBox (I won't work properly if you have two, for example a cross sell and upsell) I did the quick and dirty fix of renaming the title on the cross sell template as follows:
Edit /includes/templates/classic/templates/tpl_modules_ultimate_cross_sell_products.php and change:
PHP Code:
<!-- bof: tpl_modules_ultimate_cross_sell_products -->
<div class="centerBoxWrapper" id="crossSell<?php echo $cross_sell ?>">
to:
PHP Code:
<!-- bof: tpl_modules_ultimate_cross_sell_products -->
<div class="centerBoxWrapper" id="crossSell">
Now it works perfectly for me. As I say the caveat is that if you use the ultimate cross sell mod to show multiple centre boxes that would normally have ID's crossSell1 crossSell2 etc this hack will call them all just crossSell and I don't know how the tab system will then show them, if at all, but it will work if you only use a single crossSell centre box (you can still show mutliple cross sell/upsell side boxes, this only affects the centre boxes.)
Hope this is of help.
Andrew
Search Tags: Ultimate Cross Sell, Ultimate Cross Sell for Zen Cart
-
Re: Integration of Cross Sell Modules with TPP
Okay.. So I have a client who uses a cross sell mod with TPP so I wanted to update this thread a bit to share what I now know about Cross Sell modules and TPP.. As of this writing, this should be the authoritative post on the topic, and should address most questions on the topic.
First a bit on the current suite of Cross Sell Modules actively available:
1. Cross Sell Plus Advanced Sell ComboThis appears to be a hybrid of these two older cross sell mods:
This module is the one which works with TPP by default. No additional modifications are required. Simply turn on the Cross Sell tabs and the Cross Sell centerbox will appear inside the cross sell tab.
2. Ultimate Cross Sell for Zen CartThere are instructions for integrating
Ultimate Cross Sell for Zen Cart with TPP.. I posted a possible update to those instructions
here. The original instructions are included with this update.
3. Multi Cross SellThis is an enhanced version of this mod:
Cross Sell - Just Another Cross Sell Mod also appears to be a hybrid of these two older cross sell mods:
Going forward there is NOW enough data on cross sell modules and integration with TPP. One only needs to search this thread for the words "cross sell", and they will locate all of these threads on the topic. Going forward I am going to direct folks to search the forum should the topic of cross sell integration come up again.. I will also include the links to the important threads on this topic in the TPP readme in the upcoming v1.10 release..
Quote:
Originally Posted by
DivaVocals
Okay.. let me REALLY clarify my answer.. ATSWorld what you have been doing won't work because the "fixes" you found posted in this forum are for a different cross sell module than the one you are using. You cannot apply those "fixes" to a different cross sell module. To answer your earlier question, yes TPP works with two cross sell modules that I am aware of. One is integrated with TPP and the other requires some modifications to TPP that a community member generously shared with the community.
There are SEVERAL cross sell modules in the free downloads.. They do not all work with TPP out the box. The most recently up to date ones are:
Cross Sell Plus Advanced Sell Combo
Ultimate Cross Sell for Zen Cart
Multi Cross Sell
When qhome last updated TPP, I believe it was one of these modules that TPP was integrated with:
Cross Sell Advanced
Cross-Sell
Neither of these modules has been updated since 2007/2008, BUT
Cross Sell Advance Sell Combo (based on reports here and looking at the TPP code) SHOULD work with TPP.
That said, here's information regarding using
Ultimate Cross Sell and
Multi Cross Sell with TPP (found in this support thread):
The next TPP update will NOT include any cross sell updates because the original TPP cross sell code should still work with
Cross Sell Advance Sell Combo. (in other words it's not broken -- it just requires modifications to work with the other cross sell modules) I will include links to the instructions from this forum on how to integrate TPP with
Ultimate Cross Sell in the readme, and if anyone wants to contribute instructions for TPP integration with
Multi Cross Sell, I will include that as well.
Hopefully this should cover all the cross sell questions..
Search Tags: Cross Sell, X-Sell, xsell, Cross Sell Modules, Cross Sell Advance Sell Combo, Ultimate Cross Sell, Multi Cross Sell
-
Tabbed Products Pro (TPP) v1.10 - Has been submitted..
10/10/2013 - v1.10 (Release) - C Jones
- Tidy up the TPP module
- Cleanup and include more info in the readme and Global tabs docs
- Changes to support the addition of three Define Page backed global tabs
=========================================
Wanted to also take this opportunity to re-cap TPP's features. (I'll be requesting that the admins allow me to submit an updated add-on description)
Quote:
Originally Posted by
qhome
Some Features of TPP:
- Global tabs can be set from the Admin configuration area to apply tabs instantly to all products
- Tabs can also be added manually to product decriptions
- All tab calculations are in the module file only.
- There are only 2 little code snippets required to add tabs to your custom layouts, or use the included product template.
- Fully w3 validated
- Reverts back to normal view when javascript is disabled
- Does not change any data, leaving SEO, Meta, and product information intact.
- Uses built-in Zen-Cart modules for creation of Zen-based tabs. Should prove transparent to future ZC releases.
TPP uses a completely new method of tabbing. Instead of relying on PHP checks to see if a tabbed version of a module needs to be used and the non-tabbed version needs to be skipped, the new tabs use some extremely creative javascript to create the tabs, and hide the rest.
Now I want to clarify a few things about TPP.
Quote:
Originally Posted by
kuroi
The main issue for me is that this seems to breach some of the golden rules of e-commerce. Top of the list is that the buy (or in the demo "add to cart") button is not big, bold and unmissable - it's hidden in tab 4. I'd bring this back out and onto the main part of the page.
I'd bring the also purchased out too. Its purpose is to upsell the customer and that gets lost if we have to rely on the customer going to search for it.
And finally, I'd bring the attributes out too. At the moment somebody who wants to buy a product and goes and adds it to the cart may be completely unaware of the options available (including those that are effectively upsells) and if they make a mistake and don't choose them first, have to delete the product out of the cart and start again (though there's a mod to allow return to the product info page).
So, overall, I like what you've done, but would recommending restricting it to the informational aspects of the product (description, info, reviews) and excluding the transactional (choose options, buy, upsell).
Let me first say this, Kuroi's concern about the golden rules of e-commerce are TOTALLY on point..
However, to be clear, by default the following global tabs related (mostly) to the informational aspects of the product page are activated when TPP is first installed:
- Product Description
- Product Details
- Additional Images
- Customer Also Purchased
- Product Reviews
These additional global tabs (mostly related to the transactional aspects of the product page -- attributes, add-to-cart, upsell) are also supported, but OFF by default:
To further quote the very wise Kuroi, TPP was originally built under the premise to "keep it light, make it flexible, offer all the options, and hope that people use them wisely". That said while certain tab configurations shop owners might use may not follow the golden rules of e-commerce, the default options for TPP certainly do. After that TPP offers enough flexibility so that shopowners can use it in a manner that works best for their shops/preferences.
Carry on..:D
-
Re: Tabbed Products Pro (TPP) v1.10 - Has been submitted..
And I do need to clear something up.. I misspoke when I stated the following:
Quote:
Originally Posted by
DivaVocals
Changelog:
Added three new misc tabs. These tabs each have a corresponding Define Page. To use, simply activate the tab from the TPP admin and then edit the corresponding Define Page to add content to the tab. (and YES you may use the TPP shortcodes inside the Define Page if you are familiar with how to use the TPP shortcodes)
To upgrade you will need to login to your admin, upload the newly added and modified files, and click any link in the admin to activate the installer. DONE! You will see the setting in the TPP Admin to activate the new tabs.
You will NOT in fact be able to use TPP tabshort codes on the new tab define pages. I misspoke when I wrote this, and NO I have no plans to try and get TPP shortcodes to work on the new define page tabs... So before anyone asks, the answer from my POV is that I have no interest/plans in adding this as on further reflection I don't think there is any real VALUE to adding this feature. The new define page backed global tabs IMHO adds a useful feature to what is already a VERY useful add-on..
Quote:
Originally Posted by
DivaVocals
10/10/2013 - v1.10 (Release) - C Jones
- Tidy up the TPP module
- Cleanup and include more info in the readme and Global tabs docs
- Changes to support the addition of three Define Page backed global tabs
=========================================
Wanted to also take this opportunity to re-cap TPP's features. (I'll be requesting that the admins allow me to submit an updated add-on description)
Now I want to clarify a few things about TPP.
Let me first say this, Kuroi's concern about the golden rules of e-commerce are TOTALLY on point..
However, to be clear, by default the following global tabs related (mostly) to the informational aspects of the product page are activated when TPP is first installed:
- Product Description
- Product Details
- Additional Images
- Customer Also Purchased
- Product Reviews
These additional global tabs (mostly related to the transactional aspects of the product page -- attributes, add-to-cart, upsell) are also supported, but OFF by default:
To further quote the very wise Kuroi, TPP was originally built under the premise to "
keep it light, make it flexible, offer all the options, and hope that people use them wisely". That said while certain tab configurations shop owners might use may not follow the golden rules of e-commerce, the default options for TPP certainly do. After that TPP offers enough flexibility so that shopowners can use it in a manner that works best for their shops/preferences.
Carry on..:D
-
Re: Tabbed Products Pro (TPP) v1.10 - Has been submitted..
hi
where I can see a nice demo of the plugin?
thanks
-
Re: Tabbed Products Pro (TPP) v1.10 - Has been submitted..
i am getting duplicate Price Text on Product description
it looks like this Price: Price: $4.55
http://www.floorz-n-more.com/index.p...oducts_id=1910
-
Re: Tabbed Products Pro (TPP) v1.10 - Has been submitted..
Quote:
Originally Posted by
jimmie
The issue is not caused by TPP.. it looks like your customizations to the product_info page are the cause.. you have moved the product title, and pricing so they are a part of the product details tab. Whatever these changes are have caused the issue you have..
-
Re: Tabbed Products Pro (TPP) v1.10 - Has been submitted..
when i turn this off Global Main Image On Tab it puts it back on top of tabs and is fine.
http://www.floorz-n-more.com/index.p...oducts_id=1827
-
Re: Tabbed Products Pro (TPP) v1.10 - Has been submitted..
Quote:
Originally Posted by
jimmie
Right.. I have been able to replicate the result you were getting..
Enabling the main image inside the main tab is NOT a feature of this module that I have ever used, nor is it one I would use in the future ESPECIALLY now that I see how it works..
Putting the product image, title, and price within the main tab is a bad idea.. The minute you click on another tab, product information that should ALWAYS be visible is hidden.. This is contrary to some of the golden rules of e-commerce..
Quote:
TPP was originally built under the premise to "keep it light, make it flexible, offer all the options, and hope that people use them wisely". That said while certain tab configurations shop owners might use may not follow the golden rules of e-commerce, the default options for TPP certainly do. After that TPP offers enough flexibility so that shopowners can use it in a manner that works best for their shops/preferences.
I assume the original author added this feature in it's current form because someone asked for it.
-
Re: Tabbed Products Pro (TPP) v1.10 - Will be submitted this week..
Hi,
I have recently upgraded my Zencart to v1.5.1 and update my Tabbed Products version from Tabbed Products Pro v1.07 to Tabbed Products Pro v1.10. Since then I have tried various things but my tabs have disappeared and only display as links regardless of which stylesheet I use which you can see here.
http://www.buyandfit.com/shop7141/in...products_id=13
I'm not sure where I am going wrong but am going round and round in circles. Any help would be much appreciated.
Many thanks.
-
Re: Tabbed Products Pro (TPP) v1.10 - Will be submitted this week..
Quote:
Originally Posted by
denise006
Hi,
I have recently upgraded my Zencart to v1.5.1 and update my Tabbed Products version from Tabbed Products Pro v1.07 to Tabbed Products Pro v1.10. Since then I have tried various things but my tabs have disappeared and only display as links regardless of which stylesheet I use which you can see here.
http://www.buyandfit.com/shop7141/in...products_id=13
I'm not sure where I am going wrong but am going round and round in circles. Any help would be much appreciated.
Many thanks.
Can see your shop so can't help you either without guessing (which I won't spend much time doing.. fix your site so we can see it) but it sounds like the stylesheets were not properly uploaded or you did not follow the upgrade instructions with regards to the old stylesheets and still have those stylesheets in place.. or the issue could be with the CSS/JS Loader which was bundled in with TPP v1.06 - 1.08.. You can try turning off the CSS/JS Loader and see if that fixes the issue.. the CSS/JS Loader is no longer a part of TPP and so therefore can't help you with CSS/JS Loader issues..
-
Re: Integration of Cross Sell Modules with TPP
Hi,
Thanks for coming back to me. I am currently taking the shop up and down, hence the reason you are sometimes unable to vie
I have followed the upgrade instructions but will take another look at the areas highlighted thank-you and see if I can find something amiss.
Thanks.
-
Re: Tabbed Products Pro (TPP) v1.10 - Has been submitted..
Hi,
I am back to where I started now, the shop being viewable at http://www.buyandfit.com/shop7141/in...products_id=13
As far as I am aware all old files have been removed. However I am unsure how to turn off the CSS/JS Loader so would be grateful of some pointers.
Many thanks.
-
Re: Tabbed Products Pro (TPP) v1.10 - Has been submitted..
FYI - I still have the file below sitting on the server as my product disappears when I delete this. I am sure this has something to do with it but I have left it for now so that you can see the page.
/includes/templates/YOUR_TEMPLATE/templates/tpl_product_reviews_default.php
Thanks.
-
Re: Tabbed Products Pro (TPP) v1.10 - Has been submitted..
-
Re: Tabbed Products Pro (TPP) v1.10 - Has been submitted..
Quote:
Originally Posted by
denise006
Hi,
I am back to where I started now, the shop being viewable at
http://www.buyandfit.com/shop7141/in...products_id=13
As far as I am aware all old files have been removed. However I am unsure how to turn off the CSS/JS Loader so would be grateful of some pointers.
Many thanks.
Quote:
Originally Posted by
denise006
Hi,
I am back to where I started now, the shop being viewable at
http://www.buyandfit.com/shop7141/in...products_id=13
As far as I am aware all old files have been removed. However I am unsure how to turn off the CSS/JS Loader so would be grateful of some pointers.
Many thanks.
Quote:
Originally Posted by
denise006
FYI - I still have the file below sitting on the server as my product disappears when I delete this. I am sure this has something to do with it but I have left it for now so that you can see the page.
/includes/templates/YOUR_TEMPLATE/templates/tpl_product_reviews_default.php
Thanks.
There's no reason for your product page to be adversely affected by removing the reviews file as it would simply use the one from the default template instead of the override..
There is something strange about your site setup and I cannot help you if I cannot see the site source HTML.. If you are using one of those silly and very outdated "hide my source code" scripts and such, then you need to undo that.. Not only is it preventing me from helping you, it will also prevent search engines from reading your site as well..
Can't help you with issues related to the the CSS/JS Loader as I do not use it.. Search through this thread.. I think there's a few posts explaining how to turn off the CSS/JS Loader.. If that doesn't work, then search the forum though there are several CSS/JS Loader threads about..
-
Re: Tabbed Products Pro (TPP) v1.10 - Has been submitted..
Hi,
Many thanks for getting back to me. In response to your comments:-
There's no reason for your product page to be adversely affected by removing the reviews file as it would simply use the one from the default template instead of the override - not sure what is happening then as the whole content is blank when I remove that file.
There is something strange about your site setup and I cannot help you if I cannot see the site source HTML.. If you are using one of those silly and very outdated "hide my source code" scripts and such, then you need to undo that.. Not only is it preventing me from helping you, it will also prevent search engines from reading your site as well.. - I have not added anything to hide the script so not sure about this. Trust me I am not trying to be clever, I just want my site to work.
Can't help you with issues related to the the CSS/JS Loader as I do not use it.. Search through this thread.. I think there's a few posts explaining how to turn off the CSS/JS Loader.. If that doesn't work, then search the forum though there are several CSS/JS Loader threads about - will do thanks.
I think I may start from scratch again as it would appear something is not quite right with the site. I appreciate your time and trouble in taking a look however.
Denise.
-
Re: Tabbed Products Pro (TPP) v1.10 - Has been submitted..
Quote:
Originally Posted by
denise006
not sure what is happening then as the whole content is blank when I remove that file.
Blank page = error.. Which means an error log would be created, and without he contents of the error log, I'm not sure why removing that one file would get you a blank page..
Quote:
Originally Posted by
denise006
I have not added anything to hide the script so not sure about this. Trust me I am not trying to be clever, I just want my site to work.
Well there is something going on with your site.. I cannot view the page source using the normal browser "View Page Source" function.. I can ONLY see your site's page source using Firefox's Web Developer Tools
Quote:
Originally Posted by
denise006
will do thanks.
With I could help with CSS/JS Loader issues, but searching this thread or the forum in general should get you answers
Quote:
Originally Posted by
denise006
I think I may start from scratch again as it would appear something is not quite right with the site. I appreciate your time and trouble in taking a look however.
This was going to be my suggestion.. The upgrade is straightforward if you follow the install/upgrade instructions and remove the files that should be removed..
-
Re: Tabbed Products Pro (TPP) v1.10 - Has been submitted..
Hi,
I have now completely installed my shop from scratch at http://www.buyandfit.com and have only added example text here http://www.buyandfit.com/index.php?m...&products_id=1 and the tabs are still not showing. Any clues? Any help would be appreciated.
Many thanks.
Denise.
-
Re: Tabbed Products Pro (TPP) v1.10 - Has been submitted..
Quote:
Originally Posted by
denise006
Check your install all the files have not been uploaded.. particularly the stylesheet..
-
Re: Tabbed Products Pro (TPP) v1.10 - Has been submitted..
Quote:
Originally Posted by
denise006
Hi,
I have now completely installed my shop from scratch at "http://www.buyandfit.com" and have only added example text here "http://www.buyandfit.com/index.php?main_page=product_info&cPath=3_16_36&products_id=1" and the tabs are still not showing. Any clues? ...
Here are some quick observations:
- You appear to have the site set to use the "classic" template. This template (and the default_template) should almost NEVER be modified. If you have not already created a "custom" template here is a good guide on howto create a "custom" template. You can then make changes to the "custom" template. Or perhaps you forgot to change to your "custom" template?
- Your site does not appear to include any of the template changes required for "Tabbed Products Pro" to work (stylesheets or templates). This usually indicates the module has not been fully installed. Did you remember to merge the template changes into your "custom" template (see the first bullet point)?
Note: Looks like DivaVocals beat me to the answer, but hopefully this post adds some clarification on a few points.
-
Re: Tabbed Products Pro (TPP) v1.10 - Has been submitted..
Hi,
Thanks for coming back to me. I have uploaded all files again and now have bullet points instead of tabs. Obviously an improvement but still not quite right! Any further ideas would be greatly appreciated.
Thanks.
Denise.
-
Re: Tabbed Products Pro (TPP) v1.10 - Has been submitted..
Quote:
Originally Posted by
denise006
Hi,
Thanks for coming back to me. I have uploaded all files again and now have bullet points instead of tabs. Obviously an improvement but still not quite right! Any further ideas would be greatly appreciated.
Thanks.
Denise.
You still do not have all the files uploaded in the RIGHT places.. the stylesheet is missing and without it, you will get bullets instead of tabs..
-
Re: Tabbed Products Pro (TPP) v1.10 - Has been submitted..
Hi,
Thanks again,
I have uploaded the file structure as a whole so would have uploaded as per the downloaded module. I have looked through the module install files and cannot actually see a stylesheet. Where should this be located please?
Thanks.
Denise.
-
Re: Tabbed Products Pro (TPP) v1.10 - Has been submitted..
Hi,
Thanks for your reply.
To be honest I always change the default_template - why would this not be good?
I must be missing some files somewhere but have uploaded the directory structure straight from the module after renaming each relevant part. I'm no expert but have installed a few modules successfully before and have installed in the usual way. Indeed I used to use Tabbed Products Lite before.
Thanks for your help.
Denise.
-
Re: Tabbed Products Pro (TPP) v1.10 - Has been submitted..
Finally I'm there, everything in the right place - many thanks for your help.
Denise.
-
Re: Tabbed Products Pro (TPP) v1.10 - Has been submitted..
Quote:
Originally Posted by
denise006
Hi,
Thanks for your reply.
To be honest I always change the default_template - why would this not be good?
I must be missing some files somewhere but have uploaded the directory structure straight from the module after renaming each relevant part. I'm no expert but have installed a few modules successfully before and have installed in the usual way. Indeed I used to use Tabbed Products Lite before.
Thanks for your help.
Denise.
You need to lookup the "override" system in the FAQs (this thread is NOT the place to discuss this)
Suffice it to say that if you are overriding files in the default_template folder and NOT your current template's folder, you are doing it wrong..
-
Re: Tabbed Products Pro (TPP) v1.10 - Has been submitted..
Well again many thanks for you help.
Denise.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Great contribution.
In my case it changed my layout a little. For example'
1. First tab is showing the same content that I have above the tabs. Such as Item small photo, and item zoom photo and all the details.
2. How can I have simple tabs like this here http://blackmilkclothing.com/product...-grey-leggings
Has anyone have idea how to fix these please?
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
oavs
Great contribution.
In my case it changed my layout a little. For example'
1. First tab is showing the same content that I have above the tabs. Such as Item small photo, and item zoom photo and all the details.
2. How can I have simple tabs like this here
http://blackmilkclothing.com/product...-grey-leggings
Has anyone have idea how to fix these please?
All seems fine. It was weird first but next day it was all fine.
I now need to change the custom Tab Names and how to place content ..where is the manual?
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
oavs
All seems fine. It was weird first but next day it was all fine.
I now need to change the custom Tab Names and how to place content ..where is the manual?
In the readme file that comes with the module..
-
Re: Getting Tabbed Products Pro to work with Ultimate Cross Sell
Quote:
Originally Posted by
DivaVocals
Wanted to post a possible BETTER solution to the part of this
old post quoted below.
Instead of doing ANY of this, try finding this in
includes\modules\tabbed_products_pro.php
Code:
$tabcontent = str_replace('id="crossSell"', 'id="crossSell_tab"', $tabcontent);
And Modify as follows:
Code:
$tabcontent = str_replace('id="crossSell2"', 'id="crossSell_tab"', $tabcontent);
Your mileage may vary.. I have not tested this (I don't use Ultimate Cross Sell) this, but I am confident that it should negate the need for this other hack..
Search Tags: Ultimate Cross Sell, Ultimate Cross Sell for Zen Cart
not worked for me... :no:
http://www.100asa.it/index.php?main_...oducts_id=3628
-
Re: Getting Tabbed Products Pro to work with Ultimate Cross Sell
Quote:
Originally Posted by
100asa
Right.. and let me point out part of my post you may have overlooked..
Quote:
Originally Posted by
DivaVocals
Wanted to post a possible BETTER solution to the part of this
old post quoted below.
Instead of doing ANY of this, try finding this in
includes\modules\tabbed_products_pro.php
Code:
$tabcontent = str_replace('id="crossSell"', 'id="crossSell_tab"', $tabcontent);
And Modify as follows:
Code:
$tabcontent = str_replace('id="crossSell2"', 'id="crossSell_tab"', $tabcontent);
Your mileage may vary.. I have not tested this (I don't use Ultimate Cross Sell) this, but I am confident that it should negate the need for this other hack..
Search Tags: Ultimate Cross Sell, Ultimate Cross Sell for Zen Cart
-
Re: Getting Tabbed Products Pro to work with Ultimate Cross Sell
Diva I install this module on a clients site and the tab details tab was showing up on all product but now they it shows here and there. I'll give you example. Thaank in advance
Product1 Details tab is showing
Prouct2 Details tab not showing
I did notice he did his product descriptions with Microsoft word. I told him not to ever you that but all his product are done with it. Don't know it that has anything t do with it or not.
-
Re: Getting Tabbed Products Pro to work with Ultimate Cross Sell
Quote:
Originally Posted by
countrycharm
Diva I install this module on a clients site and the tab details tab was showing up on all product but now they it shows here and there. I'll give you example. Thaank in advance
Product1 Details tab is showing
Prouct2 Details tab not showing
I did notice he did his product descriptions with Microsoft word. I told him not to ever you that but all his product are done with it. Don't know it that has anything t do with it or not.
And what happens if the 2nd product is NOT sold out???
-
Re: Getting Tabbed Products Pro to work with Ultimate Cross Sell
Quote:
Originally Posted by
countrycharm
I did notice he did his product descriptions with Microsoft word. I told him not to ever you that but all his product are done with it. Don't know it that has anything t do with it or not.
Your client needa to clean up their product descriptions.. some of them are messing with the layout.. Many of the products in this category are jacked up..
http://www(dot)bargainhopping(dot)co...index&cPath=83
-
Re: Getting Tabbed Products Pro to work with Ultimate Cross Sell
Not sure which product you were referring to but most of all his products are that way. I already have advised him to do so.
-
Re: Getting Tabbed Products Pro to work with Ultimate Cross Sell
Quote:
Originally Posted by
countrycharm
Not sure which product you were referring to but most of all his products are that way. I already have advised him to do so.
Most of the products in the category I posted the link to are problematic.. Didn't look at any of the other categories..
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Hi ,
It it possible to exclude some categories to show certain TABS?
For example,
Category-A or a Product-A to Show TAB1, TAB2, TAB3
Category-B or a Product-B to Show TAB1, TAB2 only
I am not asking for any individual category or a product. Say to exclude Category-B only would be fine. How can it be done?
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
oavs
Hi ,
It it possible to exclude some categories to show certain TABS?
For example,
Category-A or a Product-A to Show TAB1, TAB2, TAB3
Category-B or a Product-B to Show TAB1, TAB2 only
I am not asking for any individual category or a product. Say to exclude Category-B only would be fine. How can it be done?
Would require some heavy duty customization to make TPP do this.. You could use a custom product type and use that product type for the targeted category and then you just simply NOT include the corresponding TPP code on your custom product type's product info page..
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
I've been looking for an answer for the last two hours.
Is there a way to change the order of the tabbs? I want attributes and add to cart tabb to be the first.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
I've managed to get the add to cart tab to open first, but it also shows the description on the same tab. If i click on the description tab and then back to the add to cart tab, the duplicated description disaperes. Can someone tell me how to remove that duplicate description from apearing?
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
I downloaded the addon today and opened the readme_tabbed.html. But the links ( such as Installation, How to use) on the webpage didn't work. I appreciate if anyone can solve the problem.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
biojohn
I downloaded the addon today and opened the readme_tabbed.html. But the links ( such as Installation, How to use) on the webpage didn't work. I appreciate if anyone can solve the problem.
Extract contents of the distribution Zip file to a location on your computer. Go to the extracted contents and click on readme_tabbed.html.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Now it's working. Thanks.
I don't understand the final step of installation: To finish the installation of Tabbed Products Pro, click any link in the admin to run the auto-installer (which runs the SQL script for you). What means "any link"? I logged in the admin, click on anything will do?
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
biojohn
Now it's working. Thanks.
I don't understand the final step of installation: To finish the installation of Tabbed Products Pro, click any link in the admin to run the auto-installer (which runs the SQL script for you). What means "any link"? I logged in the admin, click on anything will do?
Click on any link means JUST THAT.. Click on ANY link while logged into the admin..
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Thanks. The program works great. But very frustrating that I can't change any of the value from the admin.
Also I have question of the "Details" tab: it shows the model # and shipping weight. If I want to add more product specifics under the tab, how can I do it?
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Forget to post my site for the question: www.bioland-sci.com.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
biojohn
Thanks. The program works great. But very frustrating that I can't change any of the value from the admin.
Also I have question of the "Details" tab: it shows the model # and shipping weight. If I want to add more product specifics under the tab, how can I do it?
I have no idea what you mean by you can't change values from the admin..
as for your question regarding the product detail section, this thread isn't really the correct place to ask that. if you want to add additional information to the product detail section, you should post a new question in the forum to seek help as to how to add more bullets to the product detail section.. you should probably do a search first as I'm sure others have asked the exact same question.
TPP will display any additional bullet points you add to the product detail section under the Details tab.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Hi Diva: I want to turn on or off some of the tabs. I change the value from 0 to 1 or 1 to 0. When I type the number then click "update", nothing change.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
biojohn
Hi Diva: I want to turn on or off some of the tabs. I change the value from 0 to 1 or 1 to 0. When I type the number then click "update", nothing change.
Not sure WHY you aren't changing the settings from the admin.. (based on your post it sure doesn't sound like this is where you are making the changes)
Anyway if the settings aren't affting the tabs visibility then you need to re-check or re-do your install.. because properly installed the admin settings work just fine..
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Looking for a little help. Ive installed all files and even set everything to "1" in admin and i dont think anything has changed. Im wondering if i missed a step. Im still new so i may have installed wrong. Can someone tell me where i went wrong?
1fastdeal.com
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
jenkins2212
Looking for a little help. Ive installed all files and even set everything to "1" in admin and i dont think anything has changed. Im wondering if i missed a step. Im still new so i may have installed wrong. Can someone tell me where i went wrong?
1fastdeal.com
Your post is VAGUE and unclear.. (it helps if you describe the issue..)
that said NONE of your products have descriptions.. Without a product description, no tabs will display..
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Sorry! I dont think i transferred the files correctly to the server. I have the tpp option in admin but i dont see where any of the tabs are showing. I have added a test description but still dont see anything different.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
nevermind i figured it out:) Noobie mistake and dropped the includes into wrong dir!
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Greetings-
I appreciate this plug-in and contributors. I'm looking for help regarding my site:
http://angelcorp.net/infant-formula/...products_id=88
I put <span id="nutrition-info"> under the 2nd tab menu <!--% Nutrition / 营养成分 %-->, but <a href="#nutrition-info"> always point to the 1st tab. It seems that <a href="webpage/ExactLine"> command does not work with tab menu. Besides, since all tab menus have the same address, pointing to a different address is unavailable.
How can I link to other tabs but not the 1st tab? Thanks a lot.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Hello,
I love the mod had the same issue on the lightbox and additional images.
My additional images are not showing. How would I fix this. Using 1.5.1 and a custom template
check out http://elephat.com/Custom-Skins/Skins-for-iPhone-5-5S
Thanks
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
romy
Probably not related to this add-on.. do additional images work when the tabs are off??
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
DivaVocals
Probably not related to this add-on.. do additional images work when the tabs are off??
Hello,
When I turn the Global Enable Tabs to 0 still nothing on the additional images.
not sure that code I am looking for to put this back.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
romy
Hello,
When I turn the Global Enable Tabs to 0 still nothing on the additional images.
not sure that code I am looking for to put this back.
Not related to this module.. start a new thread to get help with this issue..
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Currently using 1.05 on an old site. I want to use 1.10 now, but I cannot find the uninstall sql for the 1.05 version. This is the install sql in that version. Anyone have a uninstall sql that I could use?
Code:
SET @gid=0;
SELECT @gid:=configuration_group_id
FROM configuration_group
WHERE configuration_group_title LIKE '%Tabbed Products Config%'
LIMIT 1;
DELETE FROM configuration WHERE configuration_group_id = @gid;
DELETE FROM configuration_group WHERE configuration_group_id = @gid;
SET @gid=0;
SELECT @gid:=configuration_group_id
FROM configuration_group
WHERE configuration_group_title LIKE '%TPP - Config%'
LIMIT 1;
DELETE FROM configuration WHERE configuration_group_id = @gid;
DELETE FROM configuration_group WHERE configuration_group_id = @gid;
DELETE FROM configuration_group WHERE configuration_group_title LIKE '%Tabbed Products Config%';
DELETE FROM configuration_group WHERE configuration_group_title LIKE '%TPP - Config%';
DELETE FROM configuration WHERE configuration_description LIKE 'Set this to 1%' LIMIT 12;
DELETE FROM configuration WHERE configuration_title LIKE 'TPP - %' LIMIT 12;
INSERT INTO configuration_group VALUES (NULL, 'TPP - Config', 'Tabbed Products Pro - Config', '1', '1');
SET @gid=last_insert_id();
UPDATE configuration_group SET sort_order = @gid WHERE configuration_group_id = @gid;
INSERT INTO configuration VALUES(NULL, 'TPP - Global Enable Tabs', 'GLOBAL_ENABLE_TABS', '1', 'Set this to 1 if you want to enable the global use of tabs on your products', @gid, 1, '2008-01-14 20:11:07', '2007-01-12 22:07:11', NULL, 'zen_cfg_select_option(array(''0'', ''1''),'),
(NULL, 'TPP - Global Main Image On Tab', 'GLOBAL_MAIN_IMAGE_ON_TAB', '0', 'Set this to 1 if you want all products to have the Main Image on the first (Product Description) tab', @gid, 2, '2008-01-14 20:18:34', '2007-01-12 22:07:11', NULL, 'zen_cfg_select_option(array(''0'', ''1''),'),
(NULL, 'TPP - Global Product Description Tab', 'GLOBAL_PROD_DESC_ON_TAB', '1', 'Set this to 1 if you want all products to have the Main Product Description on its own tab', @gid, 3, '2008-01-14 20:18:34', '2007-01-12 22:07:11', NULL, 'zen_cfg_select_option(array(''0'', ''1''),'),
(NULL, 'TPP - Global Attributes on Tab', 'GLOBAL_ATTRIBUTES_ON_TAB', '0', 'Set this to 1 if you want the Attributes to appear on their own tab. This will only show up if the product has attributes to show. If there are no attributes, the tab will not show up.', @gid, 4, '2008-01-14 20:19:22', '2007-01-12 22:07:11', NULL, 'zen_cfg_select_option(array(''0'', ''1''),'),
(NULL, 'TPP - Global Attributes on Add-to-Cart Tab', 'GLOBAL_ATTRIBUTES_ON_ATC_TAB', '0', 'Set this to 1 if you want the Attributes to appear on the Add-To-Cart tab. They will only show up if the product has attributes to show. YOU MUST ALSO LEAVE THE Global Attributes on Tab OPTION ENABLED. This will override the standalone tab and show the attributes on the Add-To-Cart tab only. If the Add-To-Cart tab is set to false, this will be ignored and the attributes will follow their own tab settings.', @gid, 5, '2008-01-14 20:19:22', '2007-01-12 22:07:11', NULL, 'zen_cfg_select_option(array(''0'', ''1''),'),
(NULL, 'TPP - Global Details On Tabs', 'GLOBAL_DETAILS_ON_TAB', '1', 'Set this to 1 if you want the Product Details to appear on their own tab (weight, model number, etc). This will only show up if the product has details enabled. If there are no product details, the tab will not show up. ', @gid, 6, '2008-01-15 15:34:07', '0001-01-01 00:00:00', NULL, 'zen_cfg_select_option(array(''0'', ''1''),'),
(NULL, 'TPP - Global Add To Cart Tab', 'GLOBAL_ADD_TO_CART_ON_TAB', '0', 'Set this to 1 if you want the add to cart button to be on its own tab. Note this includes Add To Cart button and Qty Discounts table.', @gid, 7, '2008-01-14 19:29:49', '2007-01-12 22:07:11', NULL, 'zen_cfg_select_option(array(''0'', ''1''),'),
(NULL, 'TPP - Global Additional Images Tab', 'GLOBAL_ADDL_IMAGES_ON_TAB', '1', 'Set this to 1 if you want the additional images for a product on its own tab. This will only show up if the product has additional images to show. If there are no additional images, the tab will not show up.', @gid, 8, '2008-01-14 20:19:09', '2007-01-12 22:07:11', NULL, 'zen_cfg_select_option(array(''0'', ''1''),'),
(NULL, 'TPP - Global Customers Also Purchased Tab', 'GLOBAL_CUST_ALSO_PURCH_ON_TAB', '1', 'Set this to 1 if you want the Customers Also Purchased module on its own tab. This will only show up if the product has other products to show. If there are no other products, the tab will not show up.', @gid, 9, '2008-01-14 20:19:15', '2007-01-12 22:07:11', NULL, 'zen_cfg_select_option(array(''0'', ''1''),'),
(NULL, 'TPP - Global Cross Sell Tab', 'GLOBAL_CROSS_SELL_ON_TAB', '0', 'Set this to 1 if you want the Cross Sell module on its own tab. This will only work if Cross Sell contrib is already installed and the product has cross sell items set up. Otherwise it will just not show up.', @gid, 10, '2007-01-12 22:07:11', '2007-01-12 22:07:11', NULL, 'zen_cfg_select_option(array(''0'', ''1''),'),
(NULL, 'TPP - Global Reviews Tab', 'GLOBAL_REVIEWS_ON_TAB', '1', 'Set this to 1 if you want the Product Reviews to show up on its own tab. This will always show up even if there are no reviews. The Review module has its own "No reviews found" so it defaults.', @gid, 11, '2008-01-14 20:19:36', '2007-01-12 22:07:11', NULL, 'zen_cfg_select_option(array(''0'', ''1''),'),
(NULL, 'TPP - Show Tab Headers', 'SHOW_TAB_HEADERS', '1', 'Set this to 1 if you want a header bar to appear under the tabs, above the tab content', @gid, 12, '2007-01-12 22:07:11', '2007-01-12 22:07:11', NULL, 'zen_cfg_select_option(array(''0'', ''1''),');
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
mtncycling
Currently using 1.05 on an old site. I want to use 1.10 now, but I cannot find the uninstall sql for the 1.05 version. This is the install sql in that version. Anyone have a uninstall sql that I could use?
Installing the new version takes care of removing any old versions.. (which is CLEARLY stated in the readme)
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
DivaVocals
Installing the new version takes care of removing any old versions.. (which is CLEARLY stated in the readme)
Thanks, the uninstall sql did it and I have it working.
I have another question on whether the custom tabs 1, 2, and 3 can be made to show on certain products. For example I turned off the globals to all 3 custom define pages. I then tried this "<!--%Custom Tab 1%-->" along with other variations of it to show on only certain products. Cannot get it to show up. I read the readme again along with the globals word document but cannot find any reference. I also searched the file in modules/tabbed product pro.php.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
mtncycling
Thanks, the uninstall sql did it and I have it working.
I have another question on whether the custom tabs 1, 2, and 3 can be made to show on certain products. For example I turned off the globals to all 3 custom define pages. I then tried this "<!--%Custom Tab 1%-->" along with other variations of it to show on only certain products. Cannot get it to show up. I read the readme again along with the globals word document but cannot find any reference. I also searched the file in modules/tabbed product pro.php.
Short answer is I don't know.. I created those tabs to be global tabs and did not test them to be used on specific products.. Accept for customer tabs, I do not use this particular feature of TPP much so I am going to have to defer to someone in the community..
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
mtncycling
...
I have another question on whether the (global) custom tabs 1, 2, and 3 can be made to show on certain products. ...
Selectively enabling "global tabs" (using content from define pages) on a per product basis is not supported in Tabbed Products Pro 1.10. If one wanted such a feature, one could attempt editing "/includes/modules/tabbed_products_pro.php". Perhaps something similar to (starting on line 106):
Code:
$bMainImageOnTab = strpos($proddata, "<!--#MainImageOnTab#-->");
$bCustom1_Tab = strpos($proddata, "<!--#CustomTab1#-->");
//########### SUB TAGS #############
But no "guarantee" it will work 100%.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
lhungil
Selectively enabling "global tabs" (using content from define pages) on a per product basis is not supported in Tabbed Products Pro 1.10. If one wanted such a feature, one could attempt editing "/includes/modules/tabbed_products_pro.php". Perhaps something similar to (starting on line 106):
Code:
$bMainImageOnTab = strpos($proddata, "<!--#MainImageOnTab#-->");
$bCustom1_Tab = strpos($proddata, "<!--#CustomTab1#-->");
//########### SUB TAGS #############
But no "guarantee" it will work 100%.
I appreciate the insight. After some brainstorming with the shop owner, she did not like the idea of having to put in that piece of code for all the products that needed the certain custom tabs. Instead I have admin side controls for each of the 3 custom tabs that can either limit the tab to certain categories or manufacturers along with still making it global.
But if anyone wants the modifications, it just takes a quick sql file to input 3 configs and 9 line adds to the module file. PM me if you would like the feature.
-
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
mtncycling
I appreciate the insight. After some brainstorming with the shop owner, she did not like the idea of having to put in that piece of code for all the products that needed the certain custom tabs. Instead I have admin side controls for each of the 3 custom tabs that can either limit the tab to certain categories or manufacturers along with still making it global.
But if anyone wants the modifications, it just takes a quick sql file to input 3 configs and 9 line adds to the module file. PM me if you would like the feature.
How about you just post the code HERE.. that is after all the POINT of this forum.. People SHARE solutions.. Share yours.. that way if you disappear, someone doens't come along 2-3 years later and reply to your post asking for your solution.. (see this happen ALL the time..)
-
1 Attachment(s)
Tabbed Products Pro and additional images (ZC 1.5.1, TPP 1.10)
Hi,
First of all, THANK YOU for this mod, just what the doctor ordered for my often overcrowded product descriptions, and instructions are great, too. I'm only having a little trouble with the additional images tab. Although in ZC admin I have them set to display 4 per row (and before I installed TPP they were indeed displayed 4 per row) and there's plenty of horizontal room for that, only 3 per row get displayed when there are more than 3 images (2 on first row and 1 on second when there are exactly 3), plus, they are not distributed between rows logically, for instance here's what happens when there are 7 additional images:
Attachment 13942
In the above scenario, I'd want 4 images on row 1 and 3 on row 2.
How do I fix this?
Thank you!
Magz
-
Re: Tabbed Products Pro and additional images (ZC 1.5.1, TPP 1.10)
well to begin with you're going to need to post a link can't help you from an image.
Quote:
Originally Posted by
magz
Hi,
First of all, THANK YOU for this mod, just what the doctor ordered for my often overcrowded product descriptions, and instructions are great, too. I'm only having a little trouble with the additional images tab. Although in ZC admin I have them set to display 4 per row (and before I installed TPP they were indeed displayed 4 per row) and there's plenty of horizontal room for that, only 3 per row get displayed when there are more than 3 images (2 on first row and 1 on second when there are exactly 3), plus, they are not distributed between rows logically, for instance here's what happens when there are 7 additional images:
Attachment 13942
In the above scenario, I'd want 4 images on row 1 and 3 on row 2.
How do I fix this?
Thank you!
Magz
-
Re: Tabbed Products Pro and additional images (ZC 1.5.1, TPP 1.10)
Quote:
Originally Posted by
DivaVocals
well to begin with you're going to need to post a link can't help you from an image.
Thanks DivaVocals,
Well, imagine that - I fixed it! I had left and right padding for .additionalImages set to 5px in stylesheet.css - changing those to 0 fixed the problem. Thank you for your offer to take a look, though. Very much appreciated, as usual!
Take care and talk to you soon on some other thread, I'm certain...,
Magz
-
Re: Tabbed Products Pro and additional images (ZC 1.5.1, TPP 1.10)
Quote:
Originally Posted by
magz
Thanks DivaVocals,
Well, imagine that - I fixed it! I had left and right padding for .additionalImages set to 5px in stylesheet.css - changing those to 0 fixed the problem. Thank you for your offer to take a look, though. Very much appreciated, as usual!
Take care and talk to you soon on some other thread, I'm certain...,
Magz
Thanks for reporting back that the issue isn't with TPP, but with your template's stylesheet..
-
Re: Tabbed Products Pro and additional images (ZC 1.5.1, TPP 1.10)
I've read countless pages of this thread and if there is an answer to this question i must have missed it.
Regarding the reviews tab, if you click the link created by split page results (either the page number or the next) it reloads the page back to the product description tab and you have to click reviews again to see the next bunch of reviews.
Is there a fix so that the next page of reviews will load and stay showing the reviews tab?
I'm using the standard files supplied in the latest version of the module from downloads an zc 1.5.1. There has been no customisation to the reviews code anywhere else that i am aware of.
Thanks