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