Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
kaddie
This site is not my original site. However, it will be as soon as I upload all images, weight, prices and make sure all works well. Right now my original live store is using OSC and has been for 7 years now. The OSC site is a live store (progroom dot com). I am trying to design ZC store to look the same (plain jane and simple).
I will give your request a try..
I will keep you updated throughout the process.
Thanks Diva Vocals!
Kaddie
Hey Kaddie.. :smile:
I KNOW I KNOW I KNOW you don't want to do this..:no: but you are at the point where the time you are spending on running this issue down could have been spent on a do-over to SOLVE the problem.. I don't give you this advice lightly.. I have been there and done that.. Sometimes a do over SOLVES the problem..:smile: It does suck no doubt.. but if you SOLVE the problem, you will feel good when this exercise is over..
I am going to make another VERY STRONG suggestion.. DO NOT use the classic template or ANY OTHER TEMPLATE YOU HAVE DOWNLOADED if you do this.. Follow the instructions for creating a generic template I posted earlier.. When you are going through this exercise you need to concentrate on FUNCTIONALITY first.. Let em repeat that.. FUNCTIONALITY FIRST!!!:laugh:
Get it all working the way it should work from a functional perspective.. Once you have ALL the add-ons working together the way they should, then (and ONLY then) apply your template..
Now take a deep breath.. get a glass of wine (I like Merlot:laugh:) or your favorite non-alcoholic libation, roll up your sleeves, and be prepared to amaze yourself with what you can do..:smile:
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Merlot is the only wine!! Cheers to ya! But not until 7PM.
Your suggestion. I'll give it a go. I promise! Even though I'm not feeling up to it.:no:
Kaddie
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Quote:
Originally Posted by
kaddie
Merlot is the only wine!! Cheers to ya! But not until 7PM.
Yes it is, but I light to break up the routine with a Cab or Zin as well.. and if I'm feeling spicy, and Syrah will do the trick!!:laugh::laugh:
Quote:
Originally Posted by
kaddie
Your suggestion. I'll give it a go. I promise! Even though I'm not feeling up to it.:no:
I know.. sorry.. the wine helps though!!:laugh::laugh:
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
I have just installed this very nice mod but have a problem with the black line at the end of the description overwriting the text.
To see what I mean, here is the test site:
http://snow.byethost8.com/snowshop2/...&products_id=6
I have Image Handler 2 and Fual Slimbox installed so I had to hack my html_header.php to make them all work together.
The hack was simple, I just added the following lines before the //DEBUG: section at the end so the page brought in the tpp .css and .js files.
$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'];
Ok, back to my problem.....
I can add a blank line to the end of my product description to fix it, but I thought there was probably a better solution rather than going through all my product descriptions!
I did notice the div id for the product description was productDescription_1. I can't find that defined in any .css. Could that be the problem?
Thanks for taking a look!
1 Attachment(s)
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Can anybody tell me how to move my Add to Cart button so it appears above the tabs section?
I'm very new to Zen cart and php and can't figure it out :frusty:
I've attached a screen shot of what my page looks like or you can have a look here:
http://snow.byethost8.com/shop/index...&products_id=1
All I want to do is move the Add to Cart and attribute selection dropdown so it appears above the tab section, but underneath the description because I think it would look better with the tabs at the bottom of the page.
If anybody can help I'd be really grateful because this mod has made my product page look loads better so much thanks to the author!
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
[quote=damiantaylor;799262]
All I want to do is move the Add to Cart and attribute selection dropdown so it appears above the tab section, but underneath the description because I think it would look better with the tabs at the bottom of the page.
[quote]
Here's a starting point, you can always search for "move add to cart button"
http://www.zen-cart.com/forum/showth...VE+ADD+TO+CART
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Many thanks for this great mod.
I have installed it and it is working fine.
I have a question, has anyone attempted to add a custom tab to the set of existing tabs. for example, i want to add a tab for "shipping"...is there an way to do it?
Any help/guidance is much appreciated!
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
Thanks stuff4toys!
I tried to follow the thread you suggested but still have problems.
I should mention I'm not exactly a php programmer lol.
I have moved my add to cart and attributes above the reviews tab but they have suddenly jumped above the description too!
Looking at the HTML page source, there are 2 sections of description....1 above the add to cart and the other one below. The one below seems to be the one that is being displayed even though the style is display:none.
All I have done in the tpl_product_info_display.php file is pick up the following code:
<?php
//BOF :: Tabbed Products Pro ::
echo '<div id="tpptabBlock" style="display:none;">' . $tabData . '</div>';
//EOF :: Tabbed Products Pro ::
?>
And move it after this line:
<!--eof Additional Product Images -->
I'm really struggling with something that I feel should be easy....it's so frustrating :censored: I feel like a dumbo :(
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
I've just tried editing the HTML using dreamweaver and testing...
Here's an extract of the page source, I've highlited the 2 identical descriptions in red.
For some reason only the second description is displaying which is why it is appearing below my add to cart button.
Is there some javascript somewhere that is stopping the first description from displaying?
Thanks for your help
<H1 class=productGeneral id=productName>Pocket Puck</H1><!--eof Product Name--><!--bof Product Price block -->
<H2 class=productGeneral id=productPrices>Starting at: <SPAN
class=productSpecialPrice>£6.00</SPAN><BR>Original Price: <SPAN
class=normalprice>£15.00 </SPAN><SPAN
class=productPriceDiscount><BR>Save: 60% off</SPAN></H2><!--eof Product Price block --><!--bof free ship icon --><!--eof free ship icon --><!--bof Product description -->
<DIV class="productGeneral biggerText" id=productDescription>
<P>Quick, clean and easy! The pocket puck is a reusable hockey puck sized
container with an applicator and 15g of NOTwax enough for 15 applications,
each application lasts for 1-2 days of skiing or snowboarding. The puck
fits conveniently in your pocket for easy application on the slopes. Now
includes Rustblock, a quick coat after snow sliding will help prevent edge
rust!</P></DIV><!--eof Product description --><BR class=clearBoth><!--bof Add to Cart Box -->
<DIV id=cartAdd>Add to Cart: <INPUT maxLength=6 size=4 value=1
name=cart_quantity><BR><BR><INPUT type=hidden value=1
name=products_id><INPUT title=" Add to Cart " type=image alt="Add to Cart"
src="Pocket Puck - £6_00 Snow Republic_files/button_in_cart.gif"> </DIV><!--eof Add to Cart Box--><!--bof Product details list --><!--eof Product details list --><!--bof Attributes Module -->
<DIV id=productAttributes>
<H3 id=attribsOptionsText>Please Choose: </H3>
<DIV class=wrapperAttribsOptions>
<DIV class="optionName back"><LABEL class=attribsSelect
for=attrib-1>Colour</LABEL></DIV>
<DIV class=back><SELECT id=attrib-1 name=id[1]> <OPTION value=1
selected>Red</OPTION> <OPTION value=2>Blue ( +£4.00 )</OPTION></SELECT>
</DIV><BR class=clearBoth></DIV><BR class=clearBoth></DIV><!--eof Attributes Module --><!--bof Quantity Discounts table --><!--eof Quantity Discounts table --><!--bof Additional Product Images --><!--eof Additional Product Images -->
<DIV id=tpptabBlock style="DISPLAY: none">
<DIV class="productGeneral biggerText" id=productDescription_tab>
<P>Quick, clean and easy! The pocket puck is a reusable hockey puck sized
container with an applicator and 15g of NOTwax enough for 15 applications,
each application lasts for 1-2 days of skiing or snowboarding. The puck
fits conveniently in your pocket for easy application on the slopes. Now
includes Rustblock, a quick coat after snow sliding will help prevent edge
rust!</P></DIV>
<DIV id=slidetabsmenu style="DISPLAY: none">
<UL>
<LI><A onClick="expandcontent('sc1', this)"
href="javascript:void(0)"><SPAN>Reviews</SPAN></A> </LI></UL></DIV>
<DIV id=tabcontentcontainer><!--bof Reviews_Tab sc1-->
<DIV class=tabcontent id=sc1 style="DISPLAY: block">
<DIV style="WIDTH: 100%">
<DIV class=centerColumn id=reviewsDefault_tab>
<DIV class="centeredContent back" id=productReviewsDefaultProductImage
style="DISPLAY: none">
<DIV class="centeredContent back" id=productMainImageReview
style="DISPLAY: none"><!-- bof Zen Slimbox v0.1 btyler 2007-12-04 -->
<SCRIPT language=javascript type=text/javascript><!--
document.write('<div id="slimboxWrapper" style="display:block;"><a href="images/waxes/zardoz pocket puck.jpg" rel="lightbox[gallery]" title="Pocket Puck"><img src="bmz_cache/2/21094dd3d4f78f0ed2ff0b008f1c08f0.image.173x240.jpg" alt="Pocket Puck" title=" Pocket Puck " width="173" height="240" /></a><br class="clearBoth" /><a href="images/waxes/zardoz pocket puck.jpg" rel="lightbox[gallery]" title="Pocket Puck"><span class="imgLink">larger image</span></a></div>' );
//--></SCRIPT>
Re: Tabbed Products Pro (TPP) Contrib - Official Thread
ok, I just had a flash of inspiration, but might be on the wrong track!
I suddenly realised, I don't want my description on a tab at all so stopped the javascript looking for it. In the tpp.js file, I commented out the following 2 lines:
//hackArr[8] = document.getElementById('productDescription');
//NewArr[8] = document.getElementById('productDescription_tab');
Which puts my original description back where it should be, but still displays the second description below the buttons.
Can you think of any way to turn off the second description or am I barking up the wrong tree here?