Zen Cart Logo
Forums / All Other Contributions/Addons / Tabbed Products Pro (TPP) Contrib - Official Thread

Tabbed Products Pro (TPP) Contrib - Official Thread

Views: 397,366

Results 1,101 to 1,120 of 2,224
5 Feb 2010, 7:32 PM
#1101
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Tabbed Products Pro (TPP) Contrib - Official Thread

You asked a question, I gave you an answer, and you decided that I was trying to intentionally hurt your feelings.. (and then decided I needed a lecture on your perception of my answer) If you chose to interpret my post the way you apparently have, then I will not WASTE any time trying to un-do your perception.. You are entitled to your opinion even if it's incorrect..

You asked "Could it have been a css issue? a java issue? "

Answer: No the issue is unlikely to be a Java or CSS issue. It is MORE likely that you need to make sure that you merge the modules files with your own site files so that the module changes are integrated with your site code. Try THIS and see if you continue to have errors.

jahan:

Diva Vocals,
Thanks for reading my post and replying. Unfortunately, Your answer only poured salt in my wounds. I see i have a problem and I am trying to resolve it. Your post does nothing to help resolve my current software problem.

Telling a child who falls down, "See what happens when....." does nothing constructive and teaches the child nothing. It only serves one's own ego.

** VERY UN-ZEN-LIKE!**

In this case, and in many hundreds more when new users seek assistance with this software in a polite and humble manner, they are responded to in a condescending fashion.

We all must crawl, then walk, before we can run.

If you re-read my post, it clearly states, "Lesson learned." So, if you or any other member has any helpful advice, I am all ears. If you just want to say, "See what you get!", that may be better suited for a teenie-bopper blog.

Although it is harder to be a leader than a detractor, it is much more satisfying.

Sincerely, Jahan

6 Feb 2010, 3:15 AM
#1102
jahan avatar

jahan

New Zenner

Join Date:
Dec 2009
Location:
North Idaho, USA
Posts:
9
Plugin Contributions:
0

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

DivaVocals,
Thank you for the reply. My response was based on hours of frustration and was not necessarily 100% targeted at you. After reading maybe 200+ posts in varies threads, I've noticed a fair amount of unwarranted "sniping" and condescension on behalf of some of the ZC "elite". If someone doesn't make sufficient efforts to solve their problem, then i understand. I am way past my deadline for my shopping cart and just need some answers.

In all seriousness, I spent no less than 4 hours digging through folders, files, code, and this site trying to figure my issue out.

ZC should come with a warning label that reads, "Not For Beginners".

Does anyone have an opinion on which code comparing software to use?

Thank You, Jahan

6 Feb 2010, 7:40 AM
#1103
bobthemolder avatar

bobthemolder

Zen Follower

Join Date:
Nov 2008
Posts:
164
Plugin Contributions:
0

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

jahan:

DivaVocals,
Thank you for the reply. My response was based on hours of frustration and was not necessarily 100% targeted at you. After reading maybe 200+ posts in varies threads, I've noticed a fair amount of unwarranted "sniping" and condescension on behalf of some of the ZC "elite". If someone doesn't make sufficient efforts to solve their problem, then i understand. I am way past my deadline for my shopping cart and just need some answers.

In all seriousness, I spent no less than 4 hours digging through folders, files, code, and this site trying to figure my issue out.

ZC should come with a warning label that reads, "Not For Beginners".

Does anyone have an opinion on which code comparing software to use?

Thank You, Jahan
It is indeed a steep learning curve, and initially the layout of the folder and how everything is linked made no sense to me... but it all starts to come together slowly. Using the "Developer's Toolkit" in
Admin -> Tools -> Developers Tool Kit
is instrumental in learning how ZenCart works, IMHO.

9 Feb 2010, 11:24 AM
#1104
exittheapple avatar

exittheapple

New Zenner

Join Date:
Nov 2005
Posts:
53
Plugin Contributions:
0

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

hi zenners! i am so loving this contribution!!

i'm having a little trouble with the sub_attributes tag, and wonder if anyone can help me.

i'm using the following code:

<!--%About%-->

Product description here

bla bla bla

it's so great

<!--*sub_AddToCart(1)*--> <!--*sub_AttributeOptions(1)*--> <!--%Ing's & Storage%-->

____ contains: ings and contents

bla bla bla, store it this way, etc.

<!--*sub_AddToCart(2)*--> <!--*sub_AttributeOptions(2)*-->

there is also an 'add to cart' tab.

the problem is that, while the attribute drop-down menus are showing up on each of the custom tabs i've created above, they are not functional. when you choose size ABC and flavor XYZ and press add to cart on the 'about' tab, the product that's added to your cart has only the default attributes.

the attributes on the 'add to cart' tab work fine.

i wish i could show you in action, but i'm going to have to spend 3 hours undoing all the work i did last night, so that my customers can choose product attributes tomorrow. but i'd really love my site to work in this way so i'd love some troubleshooting if anyone has any ideas.

thanks!!

9 Feb 2010, 12:00 PM
#1105
exittheapple avatar

exittheapple

New Zenner

Join Date:
Nov 2005
Posts:
53
Plugin Contributions:
0

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

just an addendum: the quantity boxes on the custom tab aren't working either. i choose 2, add to cart, there is 1 in the cart. curious!

9 Feb 2010, 7:21 PM
#1106
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

Great mod! It installed with ease and I was able (on the 1st try) to get a new tab inserted by following the readme PDF file.

One thing that I found, however, is that if a product has more than one page of reviews and the user presses the 'Next' link the page returns to the first tab (usually Product Description). When you click on the 'Reviews' tab, it's on the next page of reviews.

Is there a way to get the Reviews/Next to wind up with the Reviews tab open?

11 Feb 2010, 12:27 AM
#1107
bobthemolder avatar

bobthemolder

Zen Follower

Join Date:
Nov 2008
Posts:
164
Plugin Contributions:
0

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

Is there a way of using this module without modifying every single product?

11 Feb 2010, 2:42 AM
#1108
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

bobthemolder:

Is there a way of using this module without modifying every single product?I have used custom tabs on a product by product basis.. That said, though I've not done this, I suppose you could turn off all the global tabs and use the custom tabs on whatever products you want to use them on..

13 Feb 2010, 11:52 AM
#1109
gaffettape avatar

gaffettape

Zen Follower

Join Date:
May 2009
Posts:
433
Plugin Contributions:
0

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

I have a minor problem with my TPP install - on initial load of the product info page it takes second or two for the javascript to kick in. Meaning that the page loads as it did before TPP was installed and then within a second or two the whole layout of the page changes into the TPP layout. I did think of enabling Gzip compression on the site which might (?) fix the prob... as the browser waits for the whole page to be downloaded then displays it, however I also read up on this and fpund out a few older browsers don't fully support Gzip compression. I noticed in Kurois post Here that he noticed the same problem when this addon was first released... the author then fixed this prob as stated Here
But unfortunately I'm still having this issue?? :blink:

BTW I didn't install the CJ Loader module as I didn't fully understand it's purpose.. is this essential?

Is their a way to fix this minor prob?

Thanks.

13 Feb 2010, 3:23 PM
#1110
ideasgirl avatar

ideasgirl

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,437
Plugin Contributions:
3

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

Is there a way of using this module without modifying every single product?
If you just want to use the default tabs (description, extra images, reviews, cross sell, we recommend) the answer is YES, you won't have to edit all the products.

But if you want "custom tabs" you will have to edit the product where you want that custom tab.

17 Feb 2010, 2:50 PM
#1111
beep avatar

beep

New Zenner

Join Date:
Nov 2008
Location:
London
Posts:
94
Plugin Contributions:
0

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

About a month ago we installed TPP on our site https://www.queenib.com and after a bit of a fiddle it looked brilliant. Then sadly we had to move to a different web host which we did in the usual manner of copying the database and all the files to the new server...

but for some season since the move Tabbed Products Pro has not worked.
I have checked all the files and the only file which appears to be different is the html_header.php so made a back-up of it then I uploaded the version of the html_header.php which came with the contribution... and it made the site go blank!!
so I restored to the previous version but needless to say TPP will now not work.
Has anyone an idea why the contribution version of the html_header might make my site go blank rather than enable the tabs?
OR does anyone know which lines of code in the contribution version of the html_header file can be merged into my current version and where?

Any help muchly appreciated. It's quite a puzzle!

17 Feb 2010, 3:57 PM
#1112
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

beep:

About a month ago we installed TPP on our site www.queenib.com and after a bit of a fiddle it looked brilliant. Then sadly we had to move to a different web host which we did in the usual manner of copying the database and all the files to the new server...

but for some season since the move Tabbed Products Pro has not worked.
I have checked all the files and the only file which appears to be different is the html_header.php so made a back-up of it then I uploaded the version of the html_header.php which came with the contribution... and it made the site go blank!!
so I restored to the previous version but needless to say TPP will now not work.
Has anyone an idea why the contribution version of the html_header might make my site go blank rather than enable the tabs?
OR does anyone know which lines of code in the contribution version of the html_header file can be merged into my current version and where?

Any help muchly appreciated. It's quite a puzzle!Hard for anyone to say.. There are various mods which change/modify core files.. Only way for you to know what's diffeent is to use a file comparison tool like Winmerge or Beyond Compare and merge the differences..

17 Feb 2010, 4:19 PM
#1113
beep avatar

beep

New Zenner

Join Date:
Nov 2008
Location:
London
Posts:
94
Plugin Contributions:
0

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

DivaVocals:

Hard for anyone to say.. There are various mods which change/modify core files.. Only way for you to know what's diffeent is to use a file comparison tool like Winmerge or Beyond Compare and merge the differences..

Thank you DivaVocals for your quick response...
I have compared the files with winmerge and can identify the differences.. the problem is i don't know what they mean or which bits to change as PHP is rather new and alien to me.
Here is what I discovered:

  • The following lines of code are missing from my current version of the file:
$jscript_files_to_load = $css_files_to_load = array();

if (file_exists(DIR_WS_CLASSES . 'browser.php')) {
include_once(DIR_WS_CLASSES . 'browser.php');
$browser = new browser();
$browser_name = strtolower($browser->Name);
if (($browser_name == 'msie') && $browser->Version <= 6) {
$directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^ie6-/', '.css');
$js_directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'js'), '/^ie6-/', '.js');
} if (($browser_name == 'msie') && $browser->Version >= 7) {
$directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^ie7-/', '.css');
$js_directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'js'), '/^ie7-/', '.js');
} elseif ($browser_name == 'firefox') {
$directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^ff-/', '.css');
$js_directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'js'), '/^ff-/', '.js');
} elseif ($browser_name == 'safari') {
$directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^safari-/', '.css');
$js_directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'js'), '/^safari-/', '.js');
} elseif ($browser_name == 'chrome') {
$directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^chrome-/', '.css');
$js_directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'js'), '/^chrome-/', '.js');
}
while(list ($key, $value) = each($directory_array )) {
$css_files_to_load[$value] = -100;
}
while(list ($key, $value) = each($js_directory_array )) {
$js_files_to_load[$value] = -500;
}
}

- ```
$files = loadCssJsFiles($css_files_to_load, $jscript_files_to_load);
  foreach($files['css'] as $file)
  	if($file['include']) include($file['string']);
  	else echo $file['string'];
  	
  foreach($files['js'] as $file)
  	if($file['include']) include($file['string']);
  	else echo $file['string'];

and the following lines of code are different in each file:

  • line 48 says ```
    echo '<link rel="stylesheet" type="text/css" href="' . $template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css') . '/' . $value . '" />'."\n";
instead of

$css_files_to_load[$value] = -300;

- line 69 says ```
if (file_exists($perpagefile)) echo '<link rel="stylesheet" type="text/css" href="' . $perpagefile .'" />'."\n";

instead of

 if (file_exists($perpagefile)) $css_files_to_load[trim($value, '/').'.css'] = -200;
  • line 86 says ```
    echo '<script type="text/javascript" src="' . $template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/' . $value . '"></script>'."\n";
    }
instead of

$jscript_files_to_load[$value] = -400;
}

- line says ```
echo '<script type="text/javascript" src="' . $page_directory . '/' . $value . '"></script>' . "\n";

instead of

$jscript_files_to_load[$value] = -300;
  • line 106 says ```
    require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/' . $value); echo "\n";
instead of

$jscript_files_to_load[$value] = -200;

- and line 117 says  ```
require($page_directory . '/' . $value); echo "\n";

instead of

$jscript_files_to_load[$value] = -100; 

I hope that sheds some light on the problem as I'm baffled.

17 Feb 2010, 5:09 PM
#1114
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

Honestly I can't go through each one of these changes and tell you what changes to make and which ones to not make.. So I will say this instead.. When I say merge I mean merge.. If it's missing from your file ADD it, if it's different from what's in your file analyze those differences and CHANGE it.. Hopefully you are evaluating each change and have some sense of each the change means as you go through the files.. If you are using a merge program like Winmerge or Beyond Compare it makes seeing these differences and how to merge the files much easier to execute.. If you are not using one of these programs, it will make this entire merging exercise MUCH more difficult for you..

beep:

Thank you DivaVocals for your quick response...
I have compared the files with winmerge and can identify the differences.. the problem is i don't know what they mean or which bits to change as PHP is rather new and alien to me.
Here is what I discovered:

  • The following lines of code are missing from my current version of the file:

$jscript_files_to_load = $css_files_to_load = array();

>
- ```
if (file_exists(DIR_WS_CLASSES . 'browser.php')) {
    include_once(DIR_WS_CLASSES . 'browser.php');
    $browser = new browser();
    $browser_name = strtolower($browser->Name);
    if (($browser_name == 'msie') && $browser->Version <= 6) {
      $directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^ie6-/', '.css');
      $js_directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'js'), '/^ie6-/', '.js');
    } if (($browser_name == 'msie') && $browser->Version >= 7) {
      $directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^ie7-/', '.css');
      $js_directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'js'), '/^ie7-/', '.js');
    } elseif ($browser_name == 'firefox') {
      $directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^ff-/', '.css');
      $js_directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'js'), '/^ff-/', '.js');
    } elseif ($browser_name == 'safari') {
      $directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^safari-/', '.css');
      $js_directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'js'), '/^safari-/', '.js');
    } elseif ($browser_name == 'chrome') {
      $directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^chrome-/', '.css');
      $js_directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'js'), '/^chrome-/', '.js');
    }
    while(list ($key, $value) = each($directory_array )) {
      $css_files_to_load[$value] = -100;                                    
    }
    while(list ($key, $value) = each($js_directory_array )) {
        $js_files_to_load[$value] = -500;                
    }    
  }

$files = loadCssJsFiles($css_files_to_load, $jscript_files_to_load);
foreach($files['css'] as $file)
if($file['include']) include($file['string']);
else echo $file['string'];

foreach($files['js'] as $file)
if($file['include']) include($file['string']);
else echo $file['string'];

>
> 
> and the following lines of code are different in each file:
> - >
- line 48 says ```
echo '<link rel="stylesheet" type="text/css" href="' . $template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css') . '/' . $value . '" />'."\n";
```instead of
> ```
$css_files_to_load[$value] = -300;
  • line 69 says ```
    if (file_exists($perpagefile)) echo '<link rel="stylesheet" type="text/css" href="' . $perpagefile .'" />'."\n";
> ```
 if (file_exists($perpagefile)) $css_files_to_load[trim($value, '/').'.css'] = -200;
  • line 86 says ```
    echo '<script type="text/javascript" src="' . $template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/' . $value . '"></script>'."\n";
    }
> ```
$jscript_files_to_load[$value] = -400;
  }
  • line says ```
    echo '<script type="text/javascript" src="' . $page_directory . '/' . $value . '"></script>' . "\n";
> ```
$jscript_files_to_load[$value] = -300;
  • line 106 says ```
    require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/' . $value); echo "\n";
> ```
$jscript_files_to_load[$value] = -200;
  • and line 117 says ```
    require($page_directory . '/' . $value); echo "\n";
> ```
$jscript_files_to_load[$value] = -100; 

I hope that sheds some light on the problem as I'm baffled.

18 Feb 2010, 12:56 AM
#1115
webkinetic avatar

webkinetic

New Zenner

Join Date:
Nov 2008
Posts:
3
Plugin Contributions:
0

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

Would it be possible to have attributes on separate tabs?
Like size on one tab and color on another.

I am using Zen Cart 1.3.8

28 Feb 2010, 7:25 PM
#1116
mb1 avatar

mb1

Totally Zenned

Join Date:
Jun 2006
Posts:
565
Plugin Contributions:
0

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

i've been running tabbed products pro for a while now but i want to move my additional images right under my main image, i played around with the code to do this but it won't work. i assume it's because of tabbed products pro any suggestions to allow me to do this i assume i'll have to remove additional images coding from the TPP mod but i don't know where to start

http://www.zen-cart.com/forum/showthread.php?t=94131

28 Feb 2010, 7:36 PM
#1117
mb1 avatar

mb1

Totally Zenned

Join Date:
Jun 2006
Posts:
565
Plugin Contributions:
0

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

didn't realize there was a tpp config in the admin problem solved

28 Feb 2010, 8:14 PM
#1118
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

MB1:

didn't realize there was a tpp config in the admin problem solvedHow exactly did you solve your problem (it benefits others to know WHAT your solution was)

9 Mar 2010, 4:27 PM
#1119
andy_gs avatar

andy_gs

Zen Follower

Join Date:
Jun 2008
Posts:
187
Plugin Contributions:
0

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

Hi guys, we've recently added shopzilla reviews and we want to display this as a tab via tpp. Basically its a piece of javascript that displays the module from shopzilla. But how do i setup the tab and put the javascript within that tab?

regards
Andy.

9 Mar 2010, 5:36 PM
#1120
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Tabbed Products Pro (TPP) Contrib - Official Thread

DivaVocals:

MB1:

didn't realize there was a tpp config in the admin problem solved

How exactly did you solve your problem (it benefits others to know WHAT your solution was)I love when after asking for help (with the expectation that a detailed answer will be posted in response of course) people post a follow up which says NOTHING about HOW they solved their issue.. (It's a SHARED community others may benefit form YOUR experience..) sigh

Anywho.... For the benefit of others reading this thread, apparently MB1 apparently solved his "problem" by activating the "Additional Images" tab from the Admin.