3.1 Final Released!!!
OK I've tweaked a few more things.
I added the ability to add text below the tabs now :) It was ridiculously simple. Other than that I just cleaned up a few spaces and I think its time for this to go Final.
I've uploaded the 3.1 Final to the downloads section. Here is the link (might take time for mods to approve the file so be patient)
http://www.zen-cart.com/index.php?ma...roducts_id=146
I've also cleaned up my Demo site a bit to show more examples of what can be done and what it looks like. Click Demo link in my signature.
Here is a complete list of all the changes in 3.1 for those just joining us:
- Completely new tab code and setup. Much smaller code and css.
- Completely new images and css. Also using image shifting now so there are less images to load.
- Two Different stylesheets/image sets for different tab looks. Also easy to make your own. The silver style (default) has complete transparent backgrounds so the bg color of your page doesn't matter.
- Complete CSS control on tab text, rollover, and more.
- Added GLOBAL enable/disable of hardcode tabs as well as individual
- Added GLOBAL enable/disable of header bars in tabs. Also added ability to hide headers when javascript is on OR off seperately
- Added ability to add text below tabs. Add <!--@EndTabs@--> to your product description and all text after that will be after tabs :)
- Merged the Cross Sell version with the main version to make it easier to maintain. Now you can set a flag if you have CrossSell installed. Don't enable it if you don't have it installed or you will get errors.
- Merged Add to cart, Attribute Options, Product details (Stock, Model, etc), and Qty Discounts. Now all on same tab in a table. Looks and works 10 times better now and prevents the Add to Cart button from floating off the tab container :)
- Enabled Additional Images, Customers Also Purchased, and Cross Sell to check if there is any content for them. If not, then don't load the tabs for that product even if the global is set to true.
- If there are no tabs at all I hide the entire tab container to prevent extra border lines from the empty shell.
- Added some "\n" to make the HTML source code from the browser look cleaner
- Cleaned up some comments and spacing.
THANK YOU TO ALL OF YOU THAT HELPED ME TEST THE NEW VERSION! I HOPE YOU LIKE IT
@Woody, I will look into adding the More Info and Global Product Description tabs in the next version. I'm not sure yet if I want to make separate tabs for reviews and tell a friend and put the actual form code inside there instead of just the link.
NOTE!! The version I uploaded has the Cross Sell stuff set to true, so if you don't have it, you will get errors right after copying the file. Edit the TPL file and set those settings to false. Sorry. I meant to do that before I uploaded it.
Bookmarks