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

Tabbed Products Pro (TPP) Contrib - Official Thread

Started by qhome on 21 Jan 2008, 7:19 AM · Views: 398,463

Results 781 to 800 of 2,224
10 Jun 2009, 6:52 AM
#781
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Tabbed Products Pro (TPP) Contrib - Official Thread

qhome:

Looks like you figured out the problem you were having?
I dont see duplicates on your site.

Qhome if you need an example you can view source on site in my signature. It definitely looks like Tabbed Products Pro is duplicating description as well as product image.

10 Jun 2009, 10:05 PM
#782
xordox avatar

xordox

Zen Follower

Join Date:
Sep 2008
Location:
Tel-Aviv-New York
Posts:
143
Plugin Contributions:
0

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

qhome:

Looks like you figured out the problem you were having?
I dont see duplicates on your site.
Hi Qhome, thank you for reply!
No, I didnt resolve the problem, I mean that we have duplicate content( all information in tabbs) in sourse of page. The page of product looks good, but in sourse not.
I have deleted from tpl_product_info_display.php this code:

 <!--bof Product description -->
<?php if ($products_description != '') { ?>
<div id="productDescription" class="productGeneral biggerText"><?php echo stripslashes($products_description); ?></div>
<?php } ?>
<!--eof Product description -->

and now in source we have description only 1 time, and page looks good, but this way description do not available for spiders.
Please, can you help with this issue?

11 Jun 2009, 12:30 AM
#783
xordox avatar

xordox

Zen Follower

Join Date:
Sep 2008
Location:
Tel-Aviv-New York
Posts:
143
Plugin Contributions:
0

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

OK. the problem resolved by a_berezin

  1. Please delete from tpl_product_info_display.php:
<!--bof Product description -->
<?php if ($products_description != '') { ?>
<div id="productDescription" class="productGeneral biggerText"><?php echo stripslashes($products_description); ?></div>
<?php } ?>
<!--eof Product description -->
  1. remove this code also:
<!--bof Product details list  -->
<?php
if ( (($flag_show_product_info_model == 1 and $products_model != '') or ($flag_show_product_info_weight == 1 and $products_weight !=0) or ($flag_show_product_info_quantity == 1) or ($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name))) ) { ?>
  <ul id="productDetailsList" class="">
  <?php echo (($flag_show_product_info_model == 1 and $products_model !='') ? '<li>' . TEXT_PRODUCT_MODEL . $products_model . '</li>' : '') . "\n"; ?>
  <?php echo (($flag_show_product_info_weight == 1 and $products_weight !=0) ? '<li>' . TEXT_PRODUCT_WEIGHT .  $products_weight . TEXT_PRODUCT_WEIGHT_UNIT . '</li>'  : '') . "\n"; ?>
  <?php echo (($flag_show_product_info_quantity == 1) ? '<li>' . $products_quantity . TEXT_PRODUCT_QUANTITY . '</li>'  : '') . "\n"; ?>
  <?php echo (($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name)) ? '<li>' . TEXT_PRODUCT_MANUFACTURER . $manufacturers_name . '</li>' : '') . "\n"; ?>
  </ul>
<?php }
?>
<!--eof Product details list -->
  1. Change this code ```php
<?php //BOF :: Tabbed Products Pro :: echo '<div id="tpptabBlock" style="display:none;">' . $tabData . '</div>'; //EOF :: Tabbed Products Pro :: ?>
to this :
```php
<?php 
//BOF :: Tabbed Products Pro ::
echo '<div id="tpptabBlock" style="display:block;">' . $tabData . '</div>';
//EOF :: Tabbed Products Pro ::
?>

now we don't have duplicate content in sourse and also have w3c valid page, example:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.usim.co.il%2Fen%2Fnokia%2Fnokia-e51-p-863&charset=%28detect+automatically%29&doctype=Inline&group=0

13 Jun 2009, 4:06 AM
#784
qhome avatar

qhome

Totally Zenned

Join Date:
Feb 2004
Posts:
1,702
Plugin Contributions:
5

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

Hmm... The javascript "magic" as it were is supposed to hide any other duplicates.

It works by:
Taking normal tpl
Adding tabbed stuff
Jscript finds duplicate ids and destroys them on the main
Then only the tabbed versions are there.

But I don't know what other changes were made that would break that.

13 Jun 2009, 4:57 AM
#785
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

qhome:

Hmm... The javascript "magic" as it were is supposed to hide any other duplicates.

It works by:
Taking normal tpl
Adding tabbed stuff
Jscript finds duplicate ids and destroys them on the main
Then only the tabbed versions are there.

But I don't know what other changes were made that would break that.It doesn't display the duplicates on the product pages, but if you view the source code of the product pages, you will see the suppressed duplicates. (I figured that was just how this mod worked.. didn't seem to harm anything, so I left it alone..) I didn't make any mods to my tpl other than what is suggested in the install instruct for this mod..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

15 Jun 2009, 11:31 AM
#786
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

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

jkennedy:

i love the TPP module.

is there anyway I can make a tab to display the better together marketing offers?

I've just installed this...and I love it...I too would like to know how to display the marketing offers, I have tried following the instructions and get the tab and the title but the content itself didn't appear...what I want to add as a tab is the Product Specials and Discounts bit on the bottom of this page: http://www.havendesignz.com/store/designers/lissae-designz/vivid-memories-page-kit

The code in the info display file that drives this is

<?php 
require($template->get_template_dir('/tpl_bigspender_marketing.php',DIR_WS_TEMPLATE, 
   $current_page_base,'templates'). '/tpl_bigspender_marketing.php');
?>
<?php 
require($template->get_template_dir('/tpl_better_together_marketing.php',DIR_WS_TEMPLATE, 
   $current_page_base,'templates'). '/tpl_better_together_marketing.php');
?>
```Any help would be hugely appreciated :)

HunnyBee Design
"A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

15 Jun 2009, 8:33 PM
#787
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

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

xordox:

OK. the problem resolved by a_berezin

  1. Please delete from tpl_product_info_display.php:
<!--bof Product description --> <?php if ($products_description != '') { ?> <div id="productDescription" class="productGeneral biggerText"><?php echo stripslashes($products_description); ?></div> <?php } ?> <!--eof Product description --> ``` > 2. remove this code also: > ```php <!--bof Product details list --> <?php if ( (($flag_show_product_info_model == 1 and $products_model != '') or ($flag_show_product_info_weight == 1 and $products_weight !=0) or ($flag_show_product_info_quantity == 1) or ($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name))) ) { ?> <ul id="productDetailsList" class=""> <?php echo (($flag_show_product_info_model == 1 and $products_model !='') ? '<li>' . TEXT_PRODUCT_MODEL . $products_model . '</li>' : '') . "\n"; ?> <?php echo (($flag_show_product_info_weight == 1 and $products_weight !=0) ? '<li>' . TEXT_PRODUCT_WEIGHT . $products_weight . TEXT_PRODUCT_WEIGHT_UNIT . '</li>' : '') . "\n"; ?> <?php echo (($flag_show_product_info_quantity == 1) ? '<li>' . $products_quantity . TEXT_PRODUCT_QUANTITY . '</li>' : '') . "\n"; ?> <?php echo (($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name)) ? '<li>' . TEXT_PRODUCT_MANUFACTURER . $manufacturers_name . '</li>' : '') . "\n"; ?> </ul> <?php } ?> <!--eof Product details list --> ``` > 3. Change this code ```php <?php //BOF :: Tabbed Products Pro :: echo '<div id="tpptabBlock" style="display:none;">' . $tabData . '</div>'; //EOF :: Tabbed Products Pro :: ?> ``` > to this : > ```php <?php //BOF :: Tabbed Products Pro :: echo '<div id="tpptabBlock" style="display:block;">' . $tabData . '</div>'; //EOF :: Tabbed Products Pro :: ?> ``` > now we don't have duplicate content in sourse and also have w3c valid page, example: > <http://validator.w3.org/check?uri=http%3A%2F%2Fwww.usim.co.il%2Fen%2Fnokia%2Fnokia-e51-p-863&charset=%28detect+automatically%29&doctype=Inline&group=0>

We currently display model ID on the product page and if the instruction in step 2 is followed, that removes that functionality. Is there an alternative way to solve this problem without removing core codes?

Thanks!

15 Jun 2009, 8:43 PM
#788
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

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

After getting some sleep and looking at this with somewhat fresh eyes LOL I managed to get this....for the person who was wanting to add the better together offers, follow the instructions included in docs/TPP - Adding Global Tabs.pdf

In the --TAB PRE-LOAD SECTION— (second) section where it says to add:

// Pre-load Warranty
$fmtShipEst = "\n" . '<div style="width:100%;">' . "\n";
$fmtShipEst .= "This is warranty information for our products. We want you to know that our products have a 100% guarantee."
$fmtShipEst .= "Thank you for shopping with us. If you have any questions, call us at 1-800-111-2222."
$fmtShipEst .= "\n" . '</div>'. "\n\n";
```Add the following instead:

```php
// Pre-load Specials
$fmtSpecials = "\n" . '<div style="width:100%;">' . "\n";
ob_start();
require($template->get_template_dir('/tpl_bigspender_marketing.php',DIR_WS_TEMPLATE, 
   $current_page_base,'templates'). '/tpl_bigspender_marketing.php');
$fmtSpecials .= ob_get_contents();
ob_end_clean();
$fmtSpecials .= "\n" . '</div>'. "\n\n";
```If you have other mods from That Software Guy in the marketing series add in the extra codes needed like this:

```php
// Pre-load Specials
$fmtSpecials = "\n" . '<div style="width:100%;">' . "\n";
ob_start();
require($template->get_template_dir('/tpl_bigspender_marketing.php',DIR_WS_TEMPLATE, 
   $current_page_base,'templates'). '/tpl_bigspender_marketing.php');
require($template->get_template_dir('/tpl_better_together_marketing.php',DIR_WS_TEMPLATE, 
   $current_page_base,'templates'). '/tpl_better_together_marketing.php');
$fmtSpecials .= ob_get_contents();
ob_end_clean();
$fmtSpecials .= "\n" . '</div>'. "\n\n";
```Please note that I changed all instances of Warranty in the instructions to Specials, and fmtShipEst to fmtWarranty you will need to do the same with whatever word of your choosing lol

Oh and you'll need to remove the code added to the tpl_product_info_display.php so that you don't have the offers displaying twice lol

HunnyBee Design
"A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

24 Jun 2009, 2:56 AM
#789
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

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

I have a question...lol

I currently have all my designers individual terms of use in ez pages displayed in a drop down box on the right, I would like to have these displayed as a tab on the actual product too....I know I can go in and edit each product one by one and add custom tags and the TOU information...mind you I am not sure I have grasped it correctly lol, but if anyone changes their terms this would be time consuming to change...is there a way I can get it to display the text already in each ez page instead?

I.E. instead of

Example:
<!--%Product Description%-->
The name of this tab is "Product Description". This is the text on the product description tab.

<!--%TOU%-->
Type terms in here

have it as

Example:
<!--%Product Description%-->
The name of this tab is "Product Description". This is the text on the product description tab.

<!--%TOU%-->
Include specific EZ Page content

Is this possible?

HunnyBee Design
"A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

24 Jun 2009, 3:08 AM
#790
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

BlessIsaacola:

We currently display model ID on the product page and if the instruction in step 2 is followed, that removes that functionality. Is there an alternative way to solve this problem without removing core codes?

Thanks!This is just a guess.. but I would say that if you are not displaying this data inside a tab, you could simply skip this step..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

30 Jun 2009, 8:13 AM
#793
salaa avatar

salaa

New Zenner

Join Date:
Jan 2009
Posts:
2
Plugin Contributions:
0

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

I hope anybody can help me figure out the problem.

I completely followed the installation, and I can go to the background to configration the tpp -config, but can't go the shop online catalog.

any suggestion will be appreciated.

Thanks in advance.:smile:

4 Jul 2009, 3:52 PM
#794
lindasdd avatar

lindasdd

Zen Follower

Join Date:
Jun 2007
Posts:
474
Plugin Contributions:
0

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

I'm so in love with this module that I would like to use it on some non-product pages.

I took a look at some of the install notes and it seems possible, but I didn't want to mess up my current site without first asking if anyone has already done this somewhere else.

If you have, or know how I'd love to hear about it.

Thanks,
lindasdd

13 Jul 2009, 9:29 AM
#795
miles avatar

miles

Zen Follower

Join Date:
Oct 2006
Location:
At Home
Posts:
357
Plugin Contributions:
0

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

Tabbed Product Pro doesn't appear on internet explorer 6. I believe it was working. But today I noticed it doesn't appear anymore. Firefox works just fine.

Can someone tell me what happened and what should I do? Do I have to re-install TabbedProductsPro.sql file?

- Nothing is impossible. Some things are just less likely than others. -

14 Jul 2009, 4:35 AM
#796
miles avatar

miles

Zen Follower

Join Date:
Oct 2006
Location:
At Home
Posts:
357
Plugin Contributions:
0

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

I noticed that everyone who uses this mod has problem with its display on IE6. It doesn't seem to work on IE6.

Is there anyone who got this mod to work on IE6?

May I know if it works on IE7 and IE8?

- Nothing is impossible. Some things are just less likely than others. -

14 Jul 2009, 5:24 AM
#797
miles avatar

miles

Zen Follower

Join Date:
Oct 2006
Location:
At Home
Posts:
357
Plugin Contributions:
0

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

Ok, I just realized the problem was caused by my IE6 browser. The javascript is disabled. It has appeared after I enable javascript.

:mellow:

- Nothing is impossible. Some things are just less likely than others. -

21 Jul 2009, 6:21 PM
#798
lesposner avatar

lesposner

New Zenner

Join Date:
Mar 2007
Posts:
10
Plugin Contributions:
0

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

Hi.

I have been chasing my tail on this for quite a time so thought I'd post my findings in case it helps anyone else.

Zen Cart 1.3.8a with latest security patch and a number of add-ins including Image Handler 2.

After installing the add-ins I noted that a required text attribute that was previously operating as required was no longer and the product was being added directly into the cart.

After a systematic process of installing all add-ins one at a time on a clean installation, with Tabbed Products Pro being the last, I managed to track the issue down.

In the SQL with version 1.06 the first section of the SQL looks like it is designed to delete any old version entries from the configuration and configuration_groups tables prior to installing the new entries.

If this SQL is run in its entirety where no old version exists the result is that the variable '@gid' gets the value '0' as the select returns no rows.

This causes any entries in the configuration table with a configuration_group_id of '0' to be deleted. In my installation there were no entries in configuration_group with an id of '0' so nothing got deleted from there but I had 4 entries in the configuration table with a configuration_group_id of '0':

configuration_id - title

367 -                    Product option

373 -                    Upload Prefix

374 -                    Text Prefix

596 -                    Image Handler version

ID 367 - Text Prefix being deleted resulted in the checks for a required text attribute coming up empty so the product was added directly to the cart.

As I didn't have an old version installed I just ran the SQL from the first INSERT INTO statement.

Hope this might help someone.

8 Aug 2009, 10:10 PM
#799
autoace avatar

autoace

Totally Zenned

Join Date:
Jun 2009
Posts:
618
Plugin Contributions:
0

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

Hi,

I have installed Tabbed Products Pro and my product info display page is partially blank. Any ideas?

Also, I am a bit confused on the 'How to Use' Page in the readme file. Do I have to install those tags (e.g. <!--%Product Description%--> ) and if so where?

Thanks in advance.

Thank you,
autoace

10 Aug 2009, 2:10 AM
#800
lindasdd avatar

lindasdd

Zen Follower

Join Date:
Jun 2007
Posts:
474
Plugin Contributions:
0

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

You want tabs in addition to those chosen in the admin menu then yes you use that syntax.

For instance, anything lower on the page from:

<!--%Product Description%-->

Will be on the Product Description tab.

The text within the %..% is the tab title.

You don't need the "end tabs" code mentioned in the read me.

-lindasdd