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

Tabbed Products Pro (TPP) Contrib - Official Thread

Views: 397,336

Results 1,161 to 1,180 of 2,224
30 Jun 2010, 4:24 AM
#1161
rxalex avatar

rxalex

Totally Zenned

Join Date:
Feb 2006
Posts:
588
Plugin Contributions:
0

Tabbed Products Pro (TPP) Contrib - Official Thread

I cant get this mod to work with 1.3.9d , I add the file tpl_product_info_display.php and my product description and add to cart button disappears. My original template tpl_product_info_display.php is:

<?php /** * * @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 */ ?> <div class="centerBoxHeadingDetail"> <div class="dhead"> <span class="float-left"><?php echo HEADING_TITLE_PRODUCT_DETAILS; ?></span> <!--bof Prev/Next bottom position --> <?php if (PRODUCT_INFO_PREVIOUS_NEXT == 2 or PRODUCT_INFO_PREVIOUS_NEXT == 3) { ?> <?php /** * display the product previous/next helper */ require($template->get_template_dir('/tpl_products_next_previous.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_products_next_previous.php'); ?> <?php } ?> <!--eof Prev/Next bottom position --> <div class="clearBoth"></div> </div> </div> <div class="centerColumn centerBoxWrapper" id="productGeneral"> <!--bof Form start--> <?php echo zen_draw_form('cart_quantity', zen_href_link(zen_get_info_page($_GET['products_id']), zen_get_all_get_params(array('action')) . 'action=add_product'), 'post', 'enctype="multipart/form-data"') . "\n"; ?> <!--eof Form start--> <?php if ($messageStack->size('product_info') > 0) echo $messageStack->output('product_info'); ?> <!--bof Category Icon --> <?php if ($module_show_categories != 0) {?> <?php /** * display the category icons */ require($template->get_template_dir('/tpl_modules_category_icon_display.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_category_icon_display.php'); ?> <?php } ?> <!--eof Category Icon --> <!--bof Prev/Next top position --> <?php if (PRODUCT_INFO_PREVIOUS_NEXT == 1 or PRODUCT_INFO_PREVIOUS_NEXT == 3) { ?> <?php /** * display the product previous/next helper */ require($template->get_template_dir('/tpl_products_next_previous.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_products_next_previous.php'); ?> <?php } ?> <!--eof Prev/Next top position--> <table class="product-detail-table" width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td class="left-side-info"> <!--bof Main Product Image --> <?php if (zen_not_null($products_image)) { ?> <?php /** * display the main product image */ require($template->get_template_dir('/tpl_modules_main_product_image.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_main_product_image.php'); ?> <?php } ?> <!--eof Main Product Image--> <!--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="floatingBox back"> <?php echo (($flag_show_product_info_model == 1 and $products_model !='') ? '<li><span class="product-info-label">' . TEXT_PRODUCT_MODEL . '</span>' . $products_model . '</li>' : '') . "\n"; ?> <?php echo (($flag_show_product_info_weight == 1 and $products_weight !=0) ? '<li><span class="product-info-label">' . TEXT_PRODUCT_WEIGHT . '</span>' . $products_weight . TEXT_PRODUCT_WEIGHT_UNIT . '</li>' : '') . "\n"; ?> <?php echo (($flag_show_product_info_quantity == 1) ? '<li><span class="product-info-label">'. TEXT_PRODUCT_QUANTITY . '</span>' . $products_quantity . '</li>' : '') . "\n"; ?> <?php echo (($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name)) ? '<li><span class="product-info-label">' . TEXT_PRODUCT_MANUFACTURER . '</span>' . $manufacturers_name . '</li>' : '') . "\n"; ?> </ul> <br class="clearBoth" /> <?php } ?> <!--eof Product details list -->   </td> <td class="right-side-info"> <!--bof Product Name--> <h1 id="productName" class="productGeneral"><?php echo $products_name; ?></h1> <!--eof Product Name-->   <!--bof Product Price block --> <span id="productPrices" class="productGeneral"> <?php // base price if ($show_onetime_charges_description == 'true') { $one_time = '<span >' . TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION . '</span><br />'; } else { $one_time = ''; } echo $one_time . ((zen_has_product_attributes_values((int)$_GET['products_id']) and $flag_show_product_info_starting_at == 1) ? TEXT_BASE_PRICE : '') . zen_get_products_display_price((int)$_GET['products_id']); ?></span> <!--eof Product Price block --> <!--bof free ship icon --> <?php if(zen_get_product_is_always_free_shipping($products_id_current) && $flag_show_product_info_free_shipping) { ?> <div id="freeShippingIcon"><?php echo TEXT_PRODUCT_FREE_SHIPPING_ICON; ?></div> <?php } ?> <!--eof free ship icon --> <!--bof Product description --> <?php if ($products_description != '') { ?> <div id="productDescription" class="productGeneral biggerText"><?php echo stripslashes($products_description); ?></div> <?php } ?> <!--eof Product description -->     <!--bof Attributes Module --> <?php; if ($pr_attr->fields['total'] > 0) { ?> <?php /** * display the product atributes */ require($template->get_template_dir('/tpl_modules_attributes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_attributes.php'); ?> <?php } ?> <!--eof Attributes Module -->   <!--bof Quantity Discounts table --> <?php if ($products_discount_type != 0) { ?> <?php /** * display the products quantity discount */ require($template->get_template_dir('/tpl_modules_products_quantity_discounts.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_products_quantity_discounts.php'); ?> <?php } ?> <!--eof Quantity Discounts table -->   <br class="clearBoth" /> <!--bof Add to Cart Box --> <?php if (CUSTOMERS_APPROVAL == 3 and TEXT_LOGIN_FOR_PRICE_BUTTON_REPLACE_SHOWROOM == '') { // do nothing } else { ?> <?php $display_qty = ''; if ($products_qty_box_status == 0 or $products_quantity_order_max== 1) { // hide the quantity box and default to 1 $the_button = '<input type="hidden" name="cart_quantity" value="1" />' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); } else { // show the quantity box $the_button = PRODUCTS_ORDER_QTY_TEXT . '<input type="text" name="cart_quantity" value="' . (zen_get_buy_now_qty($_GET['products_id'])) . '" maxlength="6" size="4" /><br />' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '<br />' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); } $display_button = zen_get_buy_now_button($_GET['products_id'], $the_button); ?> <?php if ($display_qty != '' or $display_button != '') { ?> <div id="cartAdd"> <?php echo $display_qty; echo $display_button; ?> </div> <?php } // display qty and button ?> <?php } // CUSTOMERS_APPROVAL == 3 ?> <!--eof Add to Cart Box--> </td> </tr> </table>   <!--bof Additional Product Images --> <?php /** * display the products additional images */ require($template->get_template_dir('/tpl_modules_additional_images.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_additional_images.php'); ?> <!--eof Additional Product Images --> <!--bof Prev/Next bottom position --> <?php if (PRODUCT_INFO_PREVIOUS_NEXT == 2 or PRODUCT_INFO_PREVIOUS_NEXT == 3) { ?> <?php /** * display the product previous/next helper */ require($template->get_template_dir('/tpl_products_next_previous.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_products_next_previous.php'); ?> <?php } ?> <!--eof Prev/Next bottom position --> <!--bof Tell a Friend button --> <?php if ($flag_show_product_info_tell_a_friend == 1) { ?> <div id="productTellFriendLink" class="buttonRow forward"><?php echo ($flag_show_product_info_tell_a_friend == 1 ? '<a href="' . zen_href_link(FILENAME_TELL_A_FRIEND, 'products_id=' . $_GET['products_id']) . '">' . zen_image_button(BUTTON_IMAGE_TELLAFRIEND, BUTTON_TELLAFRIEND_ALT) . '</a>' : ''); ?></div> <?php } ?> <!--eof Tell a Friend button --> <!--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 -->   <!--bof Product date added/available--> <?php if ($products_date_available > date('Y-m-d H:i:s')) { if ($flag_show_product_info_date_available == 1) { ?> <p id="productDateAvailable" class="productGeneral centeredContent"><?php echo sprintf(TEXT_DATE_AVAILABLE, zen_date_long($products_date_available)); ?></p> <?php } } else { if ($flag_show_product_info_date_added == 1) { ?> <p id="productDateAdded" class="productGeneral centeredContent"><?php echo sprintf(TEXT_DATE_ADDED, zen_date_long($products_date_added)); ?></p> <?php } // $flag_show_product_info_date_added } ?> <!--eof Product date added/available --> <!--bof Product URL --> <?php if (zen_not_null($products_url)) { if ($flag_show_product_info_url == 1) { ?> <p id="productInfoLink" class="productGeneral centeredContent"><?php echo sprintf(TEXT_MORE_INFORMATION, zen_href_link(FILENAME_REDIRECT, 'action=url&goto=' . urlencode($products_url), 'NONSSL', true, false)); ?></p> <?php } // $flag_show_product_info_url } ?> <!--eof Product URL --> <!--bof also purchased products module--> <?php require($template->get_template_dir('tpl_modules_also_purchased_products.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_also_purchased_products.php');?> <!--eof also purchased products module--> <!--bof Form close--> </form> <!--bof Form close--> </div> <div class="mainbox-bottom-left"><div class="mainbox-bottom-right"></div></div>

Help please!

1 Jul 2010, 10:52 AM
#1162
rxalex avatar

rxalex

Totally Zenned

Join Date:
Feb 2006
Posts:
588
Plugin Contributions:
0

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

Help cant get tabs to work in 1.3.9d

1 Jul 2010, 3:59 PM
#1163
dkerfoot avatar

dkerfoot

New Zenner

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

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

Any suggestions anyone?

dkerfoot:

Upgrading from ZC 1.3.7 to 1.3.9d.
Also added Tabbed Products Pro contrib

Google Checkout (GCO) was working fine for a long time.

now GCO doesn't work. For starters, I don't get a button anymore. I just get the option on checkout. If I chose it, and click continue checkout - I get to a "Confirm the Order" Page. I click the button and it brings me right back to the shopping cart.

Reinstalled GCO several time - no joy.

Any ideas?

2 Jul 2010, 3:54 PM
#1164
rxalex avatar

rxalex

Totally Zenned

Join Date:
Feb 2006
Posts:
588
Plugin Contributions:
0

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

Help I cant get this mod to work with 1.3.9d , I tried reinstalling and using v1.05 but no luck... Help please

2 Jul 2010, 6:51 PM
#1165
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

rxalex:

Help I cant get this mod to work with 1.3.9d , I tried reinstalling and using v1.05 but no luck... Help pleaseIt's hard for anyone to help you because we don't really have any idea what the issue might be based on the information you've posted.. The only thing I can suggest is to roll back to the backup of your store prior to installing TPP.. Then using Winmerge or Beyond Compare, CAREFULLY merge the files in the TPP mod with your store's files and then upload the module. Items missing on the product information page implies that you missed something when you merged TPP with your store's files..

2 Jul 2010, 7:09 PM
#1166
rxalex avatar

rxalex

Totally Zenned

Join Date:
Feb 2006
Posts:
588
Plugin Contributions:
0

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

I totally understand, I did use winmerg and I still have the same issue coming up... although this mod worked perfectly in 1.3.8a before I reinstalled a new shop 1.3.9d.. I would appreciate help and trouble shoot.

2 Jul 2010, 7:24 PM
#1167
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

rxalex:

I totally understand, I did use winmerg and I still have the same issue coming up... although this mod worked perfectly in 1.3.8a before I reinstalled a new shop 1.3.9d.. I would appreciate help and trouble shoot.And again there isn't enough information here for ANYONE to be able to do anything more than guess what your issue might be.. For example:

  • What went wrong in the Winmerge?
  • Did any other modules affect TPP's behavior?

We can't see your files (and BTW, posting them here in their entirely may or may not be helpful), and that makes it VERY difficult to help your troubleshoot this based on the information we do have..

4 Jul 2010, 3:01 AM
#1168
andreitero avatar

andreitero

Zen Follower

Join Date:
Dec 2009
Posts:
207
Plugin Contributions:
0

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

Will TPP recognize Multi Cross Sell add-on for the global cross sell tab?

5 Jul 2010, 8:09 PM
#1169
abosch avatar

abosch

New Zenner

Join Date:
May 2010
Location:
Albuquerque, NM, USA
Posts:
12
Plugin Contributions:
0

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

kamelion0927:

BTW - I did try this AND I used BeyondCompare to merge my files and it's still not working. :P
I'm running Zen Cart 1.39d and have installed TPP. It doesn't work - my product info page looks just as before with no tabs. I read this entry indicating that this code should be added 'just before the debug section of your origonal file'. Which file? I haven't been able to locate degug, or a degug section anywhere!
I'd really like to figure this out but after reading 6 pages of this discussion I am still lost. Can anyone suggest I try something?
Thanks!

8 Jul 2010, 12:15 PM
#1170
mb1 avatar

mb1

Totally Zenned

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

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

i just attempted the install and got a blank product page and this error

[08-Jul-2010 13:11:52] PHP Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/www/gorillagear.ca/gorilla/includes/functions/extra_functions/class.rlwp.php on line 23

as i don't have wordpress i removed the page and the lank page is gone but i don't see any tabbes in my product pages

8 Jul 2010, 12:30 PM
#1171
mb1 avatar

mb1

Totally Zenned

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

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

getting another stupid error i give up for now

i just restored everything and i'm going to start from scratch again later

8 Jul 2010, 10:41 PM
#1172
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

Try installing ver 1.05.. The truth of the matter is that the only real advantage of the 1.06 installs is twofold:

  1. Adds the ability to create WordPress blog tabs
  2. Add the CSS/Javascript loader app functionality
    Most folks seem to have issues getting the 1.06 flavors of this add-on working.. Ver 1.05 of TPP ain't broke so give it a shot..

MB1:

getting another stupid error i give up for now

i just restored everything and i'm going to start from scratch again later

9 Jul 2010, 12:34 AM
#1173
mb1 avatar

mb1

Totally Zenned

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

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

i was looking at one of the files i had to merge and i was like what is all this extra coding i'll take a peek for v1.05

9 Jul 2010, 12:37 AM
#1174
mb1 avatar

mb1

Totally Zenned

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

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

does cj loader really make things load up faster?

9 Jul 2010, 12:51 AM
#1175
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:

does cj loader really make things load up faster?The better question is this: Is having CJ loader bundled in with this mod worth all the effort you are going through to get it to work??

OR

Is it better to get this mod (TPP) working FIRST and THEN worry about how to get CJ Loader working on your site (you can download the CJ Loader mod directly from Rubik's Integrations siteand configure it separately)

Just my three cents..

9 Jul 2010, 1:02 AM
#1176
mb1 avatar

mb1

Totally Zenned

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

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

no i see your point the 1.05 install was a breeze thank you for all your help

what does the wordpress integration do? i know it's a tab to your word press blog but i'm curious how people are using it to benifit their online stores?

9 Jul 2010, 1:49 AM
#1177
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:

no i see your point the 1.05 install was a breeze thank you for all your helpYou're welcome! I take it that it's all working now???

MB1:

what does the wordpress integration do? i know it's a tab to your word press blog but i'm curious how people are using it to benifit their online stores?
It's in the readme for the version where it was introduced.. I've no particular interest in it as I use a full WordPress integration with Zen Cart courtesy of Numinix..

15 Jul 2010, 6:42 PM
#1178
shazam_nz avatar

shazam_nz

New Zenner

Join Date:
Sep 2009
Posts:
8
Plugin Contributions:
0

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

I've spent all day trying to get 1.06 to work on my site without much luck.. took it off and put 1.05 on and it's working straight away :-)

Anyway - is there a way to set a new tab to each product without having to put it in each products description? I want to add a new tab with shipping info, and a new tab with payment info etc, but I don't want to go through 2000+ products putting it in the description :) Surely there's an easier way?

15 Jul 2010, 8:41 PM
#1179
shazam_nz avatar

shazam_nz

New Zenner

Join Date:
Sep 2009
Posts:
8
Plugin Contributions:
0

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

Nevermind - I should learn to rtfm properly first :cool:

17 Jul 2010, 4:10 PM
#1180
goetch avatar

goetch

New Zenner

Join Date:
Dec 2009
Posts:
37
Plugin Contributions:
0

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

I just installed 1.5 of this mod no problems....... Now on the documentation end I really do not understand much about adding new tabs.....I was wondering if anyone knows if it would be possible to make a tab for each attribute on any given product ........ what I mean is lets say I have 6 different attributes I want to use, so lets say option 1,2,3,4,5,6 each option or attribute has anywhere from 6 to 30 values, instead of all the attributes and attribute values being in the same tab I would like to make tab 1 be attribute 1 with its own values in it ect ect for all the attributes.......I really do not know enough about how the zen cart works to know if this is possible or not with this mod........ This in effect would be a way around the conditional attributes I so need and desire ........