Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
shocker
As far as I know it is usually a side box. :lookarounI searched and searched but I found no option to turn this on for product info even though it is product dependent.:unsure:
It looks like I got my PNg problem sorted out.:clap:
Ahh now i know what you are talking about. Its basically the same premise, copy the structure from the sidebox template file and paste it under the tell a friend section. Only difference is that you need to change the content = part to echo.
Try this:
PHP Code:
<?php
echo '<div style="width: 200px; float: left;">';
echo '<a href="' . zen_href_link($_GET['main_page'], zen_get_all_get_params(array('action')) . 'action=notify', $request_type) . '">' . zen_image(DIR_WS_TEMPLATE_IMAGES . OTHER_IMAGE_BOX_NOTIFY_YES, OTHER_BOX_NOTIFY_YES_ALT) . '<br />' . sprintf(BOX_NOTIFICATIONS_NOTIFY, zen_get_products_name($_GET['products_id'])) .'</a>';
echo '</div>';
?>
You might want to play with the style for floating on different sides and stuff.
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
This is sweet!
If you want to check it out
http://www.nahidfashions.com/test_bo...&products_id=6
:bigups: to you
thanks
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
shocker
The buttons are floating off the main tab area. If you are using version 1.02 be sure that you re-upload all of the tpp/css files (all 37 of them) as there were changes to the float property to fix the floating problem
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Hi,
We've installed this on our website in build. On each of the tabs at the bottom it says 0 Units In Stock.
How do we turn this off?
Thanks in advance!
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Hi all! I have read about 75% of this thread and I havent found an answer to my question yet...I hope I haven't overlooked it.
What I want to do is move the "Add To Cart" button up above the tabs, to the right of the image, title and price. I assume this isn't too hard to do...I tried adjusting it in tpl_product_info_display.php and it doesnt seem to be moving. Any help would be greatly appreciated! Thanks!
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
timkay
Hi,
We've installed this on our website in build. On each of the tabs at the bottom it says 0 Units In Stock.
How do we turn this off?
Thanks in advance!
Got a link? Are you sure it is on the tabs? or perhaps it is just under the tabs? It is one of the Product Details that is turned off in one of the admin configuration menus.
Quote:
Originally Posted by
dave_nextexit
What I want to do is move the "Add To Cart" button up above the tabs, to the right of the image, title and price. I assume this isn't too hard to do...I tried adjusting it in tpl_product_info_display.php and it doesnt seem to be moving. Any help would be greatly appreciated! Thanks!
Got a link? Assuming you have the global add to cart set to 0, then simply editing the tpl_product_info_display.php file should work fine. Many people, including my live site are doing it that way.
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Thanks for the updated version, fixed the "extra" rectangle around the ATC button:clap:
I have added a custom field to my product layout. It is a simple text field. I'm hoping you can point me in the direction of calling that field onto a tab.
Thanks!
Audra
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
dave_nextexit
Hi all! I have read about 75% of this thread and I havent found an answer to my question yet...I hope I haven't overlooked it.
What I want to do is move the "Add To Cart" button up above the tabs, to the right of the image, title and price. I assume this isn't too hard to do...I tried adjusting it in tpl_product_info_display.php and it doesnt seem to be moving. Any help would be greatly appreciated! Thanks!
You should be able to move the Add to Cart very easily.
If you haven't done so already, be sure to copy the templates/template_default/tpl_product_info_display.php to your template override folder before making any changes to it.
Find the (around line 88 in the original Zen Cart 1.3.8)
Code:
<!--bof Add to Cart Box -->
<?php
if (CUSTOMERS_APPROVAL == 3 and TEXT_LOGIN_FOR_PRICE_BUTTON_REPLACE_SHOWROOM == '') {
// do nothing
} else {
?>
<?php
$display_qty = (($flag_show_product_info_in_cart_qty == 1 and $_SESSION['cart']->in_cart($_GET['products_id'])) ? '<p>' . PRODUCTS_ORDER_QTY_TEXT_IN_CART . $_SESSION['cart']->get_quantity($_GET['products_id']) . '</p>' : '');
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-->
cut and past it after
Code:
<!--eof free ship icon -->
or play around with where you want it to go.
You can turn Add To Cart off in the TPP configuration
Hope this helps
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
The method shocker shows is correct, tho you could also just move the main tab block. The main code for the tabs to display are in the section (of your tpl_product_display_info.php file):
PHP Code:
<?php
//BOF :: Tabbed Products Pro ::
echo '<div id="tpptabBlock" style="display:none;">' . $tabData . '</div>';
//EOF :: Tabbed Products Pro ::
?>
So whatever you want above or below the tabs, you can move this snippet around the page until it is where you like it
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
I want to do the same thing. I haved move the block of code for the tab display below the attributes as suggested. :cool:
But now how do I get the attributes to display at the right side of the image? I also want to put the [add to cart] button in the attribute box at the bottom (just below the last attribute). *And if the item doesn't have attributes, the add to cart will just display to the right of the image.
link: http://www.allk-9.com/test/service-d...html?cPath=128
Thanks!