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,470

Results 1,621 to 1,640 of 2,224
19 Oct 2011, 2:16 PM
#1621
denise006 avatar

denise006

New Zenner

Join Date:
Sep 2008
Location:
Essex
Posts:
44
Plugin Contributions:
0

Tabbed Products Pro (TPP) Contrib - Official Thread

denise006:

Hi,

I am using version v1.3.9h and have just tried to install TPP. All I get is the actual text displayed in the product description i.e. :"The name of this tab is "Product Description". This is the text on the product description tab.

http://www.buyandfit.com/shop7141/index.php?main_page=product_info&cPath=3_15_34&products_id=6

This is where the next tab is created. All text from below this tag goes on the "Custom Information" tab."

I have obvioulsy missed something along the way. I have not uploaded the folder called "min" in the installation files as it does not seem to have a place anywhere and is not referred to in any of the documentation - is this my issue?

Many thanks.

Denise.

BTW I am also using the Products Extra Field module so I have modified the tpl_product_info_display.php file to include the 3 minor code snippets as stated in the installation notes.

25 Oct 2011, 12:53 PM
#1622
bonnit avatar

bonnit

Zen Follower

Join Date:
Jun 2009
Location:
Kent, UK
Posts:
350
Plugin Contributions:
0

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

hi, i've recently installed ultimate cross sell, couldn't get the other mod working on my site for some reason, anyway i presume its not the mod intended to be used on the global cross sell tab, is there any way of me modifying this so i can incorporate into the existing cross sell tab please?

http://www.mods.livvylougifts.co.uk Zen Cart Mod Site
http://www.livvylougifts.co.uk Personalised gifts for every occasion

26 Oct 2011, 6:46 AM
#1623
ian avatar

ian

New Zenner

Join Date:
Nov 2003
Location:
Brisbane , Australia
Posts:
44
Plugin Contributions:
0

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

hello
Can i put Tell a Friend and Write a review on the tabs. My page looks messy at the moment and i was hoping to clean this up

thanks
ian

26 Oct 2011, 7:25 AM
#1624
denise006 avatar

denise006

New Zenner

Join Date:
Sep 2008
Location:
Essex
Posts:
44
Plugin Contributions:
0

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

ian:

hello
Can i put Tell a Friend and Write a review on the tabs. My page looks messy at the moment and i was hoping to clean this up

thanks
ian

Hi,

I've managed to get my tabs sorted now and have used a review tab which is <!--#Reviews#-->. Not sure on tell a friend but the format will be the same as it is a pre set Zen tab as per those listed below:-

<!--#MainImageOnTab#--> Use this tag to add Main Image to the first (product description) tab <!--#AttributeOptions#--> Use this tag to create a tab for keeping Attribs on their own tab. <!--#DetailsOnTab#--> Use this tag to create a tab for putting the product details (weight, model #, etc) on its own own tab. <!--#AddToCart#--> This puts the 'Add to Cart', and 'Quantity Discounts' inside its own tab <!--#AdditionalImages#--> Use this tag to create a tab for additional images. This is based on ZC's design <!--#CustomersAlsoPurchased#--> Use this tag to create a tab for the Customers Also Purchased module. This is based on ZC's design <!--#CrossSell#--> Use this tag to create a tab for the Cross Sell module.

DO NOT ENABLE CROSS SELL IF YOU DO NOT HAVE THE CROSS SELL CONTRIB INSTALLED OR THE PAGE WILL NOT LOAD AND SHOW ERROR!!!

<!--#Reviews#--> Use this tag to create a tab for the reviews module. This is based on ZC's design.

Hope this helps.

2 Nov 2011, 1:36 AM
#1625
ian avatar

ian

New Zenner

Join Date:
Nov 2003
Location:
Brisbane , Australia
Posts:
44
Plugin Contributions:
0

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

Tab order has to be changed in the code, dynamic ordering is not yet supported. If you only want the attribs moved to the end I can PM you with a version that has that

<-- I actually want the attribs as the default opening tab, can that be achieved and if so how

thanks
Ian

3 Nov 2011, 4:16 PM
#1626
wellcool avatar

wellcool

New Zenner

Join Date:
Apr 2009
Posts:
23
Plugin Contributions:
0

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

Hi,

I'm having an issue using Multi Cross Sell with TP Lite.

This is the Cross Sell Mod - http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=1677

As soon as a Cross Sell is added to a product, this happens: http://tinyurl.com/66awmb8

Compared to a product without a Cross Sell:http://tinyurl.com/5tytrw4

You'll see on the former the tabs aren't displayed and the page stops as soon as the Cross Sell content should be displayed, i.e. after:

<div id="sc2" class="tabcontent" style="display:block;">

Any help would be much appreciated.

Thanks.

3 Nov 2011, 5:17 PM
#1627
wellcool avatar

wellcool

New Zenner

Join Date:
Apr 2009
Posts:
23
Plugin Contributions:
0

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

Sorted my own issue!

I suspect I was using the incorrect Cross Sell mod, so had to amend a reference to the Cross Sell template.

16 Nov 2011, 5:26 PM
#1628
webmart avatar

webmart

New Zenner

Join Date:
Nov 2011
Posts:
34
Plugin Contributions:
0

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

bonnit:

hi, i've recently installed ultimate cross sell, couldn't get the other mod working

I've installed ultimate_cross_sell too, but i've many problems to replace it with the original cross sell.

in

includes/modules/tabbed_products_pro.php

i've replaced:

//Check if CrossSell contrib is installed and enabled to create its tab data
      if (file_exists(DIR_WS_MODULES . 'xsell_products.php') or file_exists(DIR_WS_MODULES . $template_dir . '/' . 'xsell_products.php')) {
			$bCrossSell_Tab = strpos($proddata, "<!--#CrossSell#-->");
			if ($bGblCrossSell_Tab == true && $IgnoreGlobals === false) {
				$bCrossSell_Tab = 1;
			}
		} else {
			$bCrossSell_Tab = 0;
		}

with

//Check if CrossSell contrib is installed and enabled to create its tab data
//		if (file_exists(DIR_WS_MODULES . 'xsell_products.php') or file_exists(DIR_WS_MODULES . $template_dir . '/' . 'xsell_products.php')) { 
      if (file_exists(DIR_WS_MODULES . 'ultimate_cross_sell_products.php') or file_exists(DIR_WS_MODULES . $template_dir . '/' . 'ultimate_cross_sell_products.php')) {
			$bCrossSell_Tab = strpos($proddata, "<!--#CrossSell#-->");
			if ($bGblCrossSell_Tab == true && $IgnoreGlobals === false) {
				$bCrossSell_Tab = 1;
			}
		} else {
			$bCrossSell_Tab = 0;
		}

and

if ($bCrossSell_Tab != 0) {
				$xsell_query = $db->Execute("select distinct p.products_id, p.products_image, pd.products_name
									 from " . TABLE_PRODUCTS_XSELL . " xp, " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd
									 where xp.products_id = '" . $_GET['products_id'] . "'
									  and xp.xsell_id = p.products_id
									  and p.products_id = pd.products_id
									  and pd.language_id = '" . $_SESSION['languages_id'] . "'
									  and p.products_status = 1
									 order by xp.sort_order asc limit " . MAX_DISPLAY_XSELL);
				$num_products_xsell = $xsell_query->RecordCount();

          if ($num_products_xsell != 0) {
					$tabstrip .= "\n" . '<li><a href="javascript:void(0)" onclick="expandcontent(\'sc'.$g.'\', this)"><span>'.$cross_sell_tab_name.'</span></a></li>' . "\n";
					$g++;
				}
			} 

with

if ($bCrossSell_Tab != 0) {
			/*	$xsell_query = $db->Execute("select distinct p.products_id, p.products_image, pd.products_name
									 from " . TABLE_PRODUCTS_XSELL . " xp, " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd
									 where xp.products_id = '" . $_GET['products_id'] . "'
									  and xp.xsell_id = p.products_id
									  and p.products_id = pd.products_id
									  and pd.language_id = '" . $_SESSION['languages_id'] . "'
									  and p.products_status = 1
									 order by xp.sort_order asc limit " . MAX_DISPLAY_XSELL);
				$num_products_xsell = $xsell_query->RecordCount();      */
          
        
  $cross_sell_sort_by = CROSS_SELL_SORT_ORDER . $mxsell=="sort_order"?" order by xp.sort_order asc ": " order by rand() ";
  $cross_sell_query = $db->Execute("select distinct p.products_id, p.products_image, pd.products_name
  from " . TABLE_PRODUCTS_CROSS_SELL . $cross_sell . " xp, " .
  TABLE_PRODUCTS . " p, " .
  TABLE_PRODUCTS_DESCRIPTION . " pd
  where xp.products_id = '" . $_GET['products_id'] . "'
  and xp.cross_sell_id = p.products_id
  and p.products_id = pd.products_id
  and pd.language_id = '" . $_SESSION['languages_id'] . "'
  and p.products_status = 1 ".
    $cross_sell_sort_by." limit " . constant(MAX_DISPLAY_CROSS_SELL . $cross_sell) );    
  $num_ultimate_cross_sell = $cross_sell_query->RecordCount();
                  
		//		if ($num_products_xsell != 0) {
          if ($num_ultimate_cross_sell != 0) {
					$tabstrip .= "\n" . '<li><a href="javascript:void(0)" onclick="expandcontent(\'sc'.$g.'\', this)"><span>'.$cross_sell_tab_name.'</span></a></li>' . "\n";
					$g++;
				}
			}

at last

// Pre-load Cross Sell
        if ($bCrossSell_Tab != 0 && $num_products_xsell != 0) {
				ob_start();
'tpl_modules_xsell_products.php');
      	require($template->get_template_dir('tpl_modules_xsell_products.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_xsell_products.php'); 'tpl_modules_ultimate_cross_sell_products.php');
  

with

// Pre-load Cross Sell
		 // if ($bCrossSell_Tab != 0 && $num_products_xsell != 0) {
        if ($bCrossSell_Tab != 0 && $num_ultimate_cross_sell != 0) {
				ob_start();
		//	require($template->get_template_dir('tpl_modules_xsell_products.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_xsell_products.php');
      	require($template->get_template_dir('tpl_modules_ultimate_cross_sell_products.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_ultimate_cross_sell_products.php');
  

I've no php errors but tpl_product_info_display page is "empty", any help?

26 Nov 2011, 12:33 AM
#1629
wizer avatar

wizer

Zen Follower

Join Date:
Jul 2010
Location:
London, UK
Posts:
135
Plugin Contributions:
0

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

I have a couple of issues with this mod. It's broken another mod that I was using called "Product Special Order'. The mod basically replaces the quantity code with:

<!--bof Product Special Order Mod  -->
  <?php 
	if ($products_quantity > 0) {
	  echo (($flag_show_product_info_quantity == 1) ? '<li>' . TEXT_PRODUCT_QUANTITY . $products_quantity . '</li>'  : '') . "\n"; 
	} elseif ($products_quantity < -99)  {
	  echo (($flag_show_product_info_quantity == 1) ? '<li>' . TEXT_PRODUCT_QUANTITY . '<span id="stockindi"><a href="javascript:popupWindow(\'' . zen_href_link(FILENAME_POPUP_PRODUCT_STOCK) . '\')">' . TEXT_SPECIAL_ORDER . '</a></span></li>'  : '') . "\n"; 
	} else {
	  echo (($flag_show_product_info_quantity == 1) ? '<li>' . TEXT_PRODUCT_QUANTITY . '<span id="stockindi"><a href="javascript:popupWindow(\'' . zen_href_link(FILENAME_POPUP_PRODUCT_STOCK) . '\')">' . TEXT_BACK_ORDER . '</a></span></li>'  : '') . "\n"; 
	}
  ?>
<!--eof Product Special Order Mod  -->

But TPP changes that code and this doesn't slot in so easy. This is how the TPP code looks:

     // Preload Details
			if ($bDetailsOnTab != false) {
                $fmtDOT = '<div style="width:100%;">' . "\n";
    			$fmtDOT .= '<ul id="productDetailsList" class="floatingBox back">';
    			$fmtDOT .= (($flag_show_product_info_model == 1 and $products_model !='') ? '<li>' . TEXT_PRODUCT_MODEL . $products_model . '</li>' : '') . "\n";
    			$fmtDOT .= (($flag_show_product_info_weight == 1 and $products_weight !=0) ? '<li>' . TEXT_PRODUCT_WEIGHT .  $products_weight . TEXT_PRODUCT_WEIGHT_UNIT . '</li>'  : '') . "\n";
    			$fmtDOT .= (($flag_show_product_info_quantity == 1) ? '<li>' . $products_quantity . TEXT_PRODUCT_QUANTITY . '</li>'  : '') . "\n";
    			$fmtDOT .= (($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name)) ? '<li>' . TEXT_PRODUCT_MANUFACTURER . $manufacturers_name . '</li>' : '') . "\n";
    			$fmtDOT .= '</ul>';
    			$fmtDOT .= "\n" . '<br class="clearBoth" />';
    			$fmtDOT .= "\n" . '</div>';
			}
			

Any idea how I merge the 2 bits of code to get this working?

1 Dec 2011, 11:01 AM
#1630
discoverytdi avatar

discoverytdi

Totally Zenned

Join Date:
May 2011
Location:
Sunny Rossendale (not)
Posts:
562
Plugin Contributions:
0

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

Hi just installed this on my local server test site running zen 1.5rc2 and Admin->Configuration->TPP Config is not showing is there a fix available also if I install the 3 code snippets in the my comstock/includes/templates product info display php file it kills the page yet if I remove them it works so I assume I can ignore those instructions.
comstock template no mods
nice mod by the way

What ever your doing remember to KISS ( Keep It Simple Stupid )

1 Dec 2011, 3:09 PM
#1631
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

discoverytdi:

Hi just installed this on my local server test site running zen 1.5rc2 and Admin->Configuration->TPP Config is not showing is there a fix available also if I install the 3 code snippets in the my comstock/includes/templates product info display php file it kills the page yet if I remove them it works so I assume I can ignore those instructions.
comstock template no mods
nice mod by the way
You should post this in the threads setup for v1.5 testing/questions as v1.5 is still a beta version..

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.

1 Dec 2011, 8:38 PM
#1632
discoverytdi avatar

discoverytdi

Totally Zenned

Join Date:
May 2011
Location:
Sunny Rossendale (not)
Posts:
562
Plugin Contributions:
0

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

DivaVocals:

You should post this in the threads setup for v1.5 testing/questions as v1.5 is still a beta version..
I posted here cause I thought it may be an sql patch issue.
I also got to the bottom of the blank screen when I inserted the 3 code snippets they are not needed it works fine without them so could do with the instructions being edited on next mod update just thought I'd give you the heads up. still think it's a great mod hats off to the Devs

What ever your doing remember to KISS ( Keep It Simple Stupid )

3 Dec 2011, 4:45 AM
#1633
the_sr5 avatar

the_sr5

New Zenner

Join Date:
Dec 2011
Posts:
6
Plugin Contributions:
0

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

Great addition to the start of my ZC, but would like to know if anyone has attempted to add a default new product description and how... I will have 2 employees that will be inputing data and the redundancy of adding the commands over and over again would drive "ME" nuts plus when it comes to me inputing new products i dont want to have to remember what syntax i used for every page hence (specifications or specs) I want to set it up so you hit "add new product" and in the description field there is already:

General description here

<!--%Features%-->
Add all the features here.

<!--%Specs%-->
Add all the specs here.

Thanks in advance!!

4 Dec 2011, 11:24 AM
#1634
wizer avatar

wizer

Zen Follower

Join Date:
Jul 2010
Location:
London, UK
Posts:
135
Plugin Contributions:
0

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

It's a good idea, but a more intelligent solution for your company would be to have your own internal process document. Something that everyone follows and anyone new to the company can pickup quickly.

5 Dec 2011, 12:49 PM
#1635
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

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

discoverytdi:

Hi just installed this on my local server test site running zen 1.5rc2 and Admin->Configuration->TPP Config is not showing is there a fix available also if I install the 3 code snippets in the my comstock/includes/templates product info display php file it kills the page yet if I remove them it works so I assume I can ignore those instructions.
comstock template no mods
nice mod by the way

discoverytdi:

I posted here cause I thought it may be an sql patch issue.
I also got to the bottom of the blank screen when I inserted the 3 code snippets they are not needed it works fine without them so could do with the instructions being edited on next mod update just thought I'd give you the heads up. still think it's a great mod hats off to the Devs

Yes same issue here. v1.50 has additional security features and existing mods need to be upgraded so that they comply.

Mods written for v1.50 will automatically appear in the configuration menu, however old mods that haven't been upgraded will still install but will not appear.

Admin>Admin Access Management>Admin Page Registration can be used to register mods that don't comply - although this can be risky re security.

I've successfully registered 'newsletter_subscribe_2-2-2' using this facility. However TPP doesn't seem to be written such that this method can be used. At least I can't find a way.

'Admin Page Registration' calls for
BOX_MY_MOD_PAGE_NAME
FILENAME_PAGE_NAME

I can see no reference to these in the TPP installation files.

Maybe someone a little more intelligent than me can suggest a way to successfully register this program.

btw, my installation works fine, editing the tpl_product_info_display.php causes no problems although I think it took a couple of goes to get it right. It is possible to access the Admin/Configuration/TPP-config by navigating to it via url. My path is http://.../YOUR_ ADMIN/configuration.php?gID=32 although I gues your gID could be different.

Simon

16 Dec 2011, 11:59 AM
#1636
raunharman avatar

raunharman

Zen Follower

Join Date:
Dec 2005
Posts:
165
Plugin Contributions:
0

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

An excellent module.
Very well documented. Worked in the 1st install itself.

I am using 1.3.9 with TPP, Ceon URI, etc.

Somehow, I wish to place the TPP module to the right of the big image as in this website http://www.mytheresa.com/int_en/bracelet-set-113719.html

My website where the module is installed is at http://raunharman.com/eco-friendly-treasures/diamond-center-artwork-runner

Can you suggest how I can shift the module. I guess it has been discussed a number of times, but I am unable to find it.

Also, if I wish to remove the header line (Product Description, underlined and in Purple font) in the 1st line of the Description Tab, how do I go about?

Thanks for your time.

[QUOTE=qhome;493649]New Release:

Tabbed Products Pro is the superior replacement of Tabbed Products 'Lite'. I have completely rewritten the tab code to make the tabs more optimzed, use less files, and be easier than ever to instantly tab your products display page. Although it is now actually more "lite" than ever, I feel that pro is a good evolutionary step in the naming convetion. I also renamed it so that we could get away from that old TPL thread as it was getting a big large and unruly. A new contrib name and a new thread to go with it for a fresh start.

http://www.raunharman.com
http://www.raunharman.net
Website Development, E-Book Solutions & Handicraft Exports

17 Dec 2011, 2:46 PM
#1637
discoverytdi avatar

discoverytdi

Totally Zenned

Join Date:
May 2011
Location:
Sunny Rossendale (not)
Posts:
562
Plugin Contributions:
0

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

btw, my installation works fine, editing the tpl_product_info_display.php causes no problems although I think it took a couple of goes to get it right. It is possible to access the Admin/Configuration/TPP-config by navigating to it via url. My path is http://.../YOUR_ ADMIN/configuration.php?gID=32 although I gues your gID could be different. tried this on my wamp test site and it worked :clap: not tried on my live site don't wan't to mess it up, Still could do with a way of accessing it from 1.5s admin the same way as in 1.39h. anyone :smartalec:

What ever your doing remember to KISS ( Keep It Simple Stupid )

17 Dec 2011, 11:58 PM
#1638
ironkladpc avatar

ironkladpc

New Zenner

Join Date:
Dec 2011
Posts:
5
Plugin Contributions:
0

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

hello using version 1.39h with tpp and edit cart i notice edit cart stops working anyone else have this problem?

18 Dec 2011, 2:02 PM
#1639
jameszxc avatar

jameszxc

New Zenner

Join Date:
Nov 2011
Posts:
12
Plugin Contributions:
0

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

I installed tabbed product pro V1.07 on zencart 1.39H, everything works well on my computer! when I upload it to server, it comes error!without it my site works well, too!anyone knows what happened? is it anything about my server? I am hosted on bluehost!
my site:https://www.fesmall.com
anyone can help will be appreciated!
I have checked many times, and test on my computer many times, it works well! Just not work on server!

18 Dec 2011, 2:11 PM
#1640
jameszxc avatar

jameszxc

New Zenner

Join Date:
Nov 2011
Posts:
12
Plugin Contributions:
0

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

I installed Tabbed product pro V1.07 on zen-cart 1.39H english version! It works well on my computer! but when I uploads it to server(bluehost), my site cannt open! I checked many times both on my computer and server! It works fine on computer, many times try but not work on server, and I am sure I am doing no wrong! My site:https://www.fesmall.com anyone kindly show me how I cam make it work?
many thanks!
James