Re: Tabbed Products ''LITE'' version - Delimiter based
OK! I've added this to the Downloads Section as a released contrib! Thanks to all of you who helped make this contrib better! I hope you find it somewhat easy to modify for your needs.
There are some things added to the todo list and based on how many features it's getting, it may not be LITE for long!
Thanks all!
Re: Tabbed Products ''LITE'' version - Delimiter based
I think this contrib is wonderfull. I have installed it on a site I am working on.
I am trying to figure out the best way to get my attributes and add to cart box to fit under the tabbed products box. Right now they are right at the bottom with lots of white space at inbetween.
http://skintightrubber.myzen.co.uk/s...products_id=91
I also have some products that I have added the
<!--#ProductDetails#-->
into the product desciption but the tabbed box doesn't display. These products have lots and lots of attributes.
Any ideas?
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by mrmarcus66
I think this contrib is wonderfull. I have installed it on a site I am working on.
I am trying to figure out the best way to get my attributes and add to cart box to fit under the tabbed products box. Right now they are right at the bottom with lots of white space at inbetween.
http://skintightrubber.myzen.co.uk/s...products_id=91
I also have some products that I have added the
<!--#ProductDetails#-->
into the product desciption but the tabbed box doesn't display. These products have lots and lots of attributes.
Any ideas?
You know, I was thinking about adding an option for moving the add button and attribs inside the tabs too. I'll work on that.
And looking at your source code on that page, I dont see the tag for ProductDetails.
Re: Tabbed Products ''LITE'' version - Delimiter based
Look at the link below and check the source code on that page, you should see the tag for ProductDetails.
http://skintightrubber.myzen.co.uk/s...products_id=20
For some reason I the tabs do not show.
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by mrmarcus66
Ok, now I see the productdetails tag, but the rest of the tabs have been removed. I guess there is a limitation I didn't think about. You need to have at least one custom tab in order to pass the logic of using tabs. I should add some code to allow having only the hardcode tags if you dont want other custom tabs
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
OK, I cleaned up and commented the code the best I could.
Wow! Just did a compare on v.2.6 tpl_product_info_display.php and I note some major code changes. Indeed you put in much work implementing all the new features.
Merging previous versions of Tabbed Products ''LITE' mod code into my heavily customized but well documented tpl_product_info_display.php was a straight forward process. But that is no more with v.2.6. I am not complaining and understand that is the price of progress. I think I will remain with the previous Tabbed Products Lite version for awhile longer ;)
Woody
Re: Tabbed Products ''LITE'' version - Delimiter based
Houston we have a bug!
When I combined the two layout files of main image above tabs and main image inside tabs, I completely lumped the main image loading into the tag check. So currently if you have "show_main_image_in_tabs = true" in the tpl file, but you have a product with no tags at all. It will not show the image.
I'm also going to change the way the main image call works to make it a hardcode tag. If you use the tag, then the image is in the tabs. If you don't use the tag, then the image is out of the tabs.
For now, the fix is below:
FIND (around line 81):
Code:
If ($show_main_image_in_tabs == false) {
REPLACE WITH:
Code:
$chkTabStart = strpos($proddata, "<!--%");
$chkTabEnd = strpos($proddata, "%-->");
If ($show_main_image_in_tabs == false || $chkTabStart === false || $chkTabEnd === false) {
That should fix the problem until the next release
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by Woodymon
Wow! Just did a compare on v.2.6 tpl_product_info_display.php and I note some major code changes. Indeed you put in much work implementing all the new features.
Merging previous versions of Tabbed Products ''LITE' mod code into my heavily customized but well documented tpl_product_info_display.php was a straight forward process. But that is no more with v.2.6. I am not complaining and understand that is the price of progress. I think I will remain with the previous Tabbed Products Lite version for awhile longer ;)
Woody
Really? I thought I made it easier with 2.6. Well to save you the trouble you should probably hold off until the next patch release. It will include:
- Above Fix for non-tabbed products
- <!--#MainImage#--> hardcode tag for when you want the main image on tabs
- Additional Hardcode tags for 'add to cart' and 'attribute options' being inside the tabs.
- ability to use hardcode tags for things like 'Product Details', 'Additional Images', and 'Customers also Purchased', without having any custom tabs.
That will probably be it for a while then.... until I have more visions.
I am looking at some css based tabs like nifty tabs and ruzee with rounded corners. That will probably be the next big release.. omitting images and transparency problems making them look more like: http://cssplay.co.uk/menus/doors-two.html
Re: Tabbed Products ''LITE'' version - Delimiter based
I am looking to make the tabs use only 50% of the space and have my attributes next to the tabs. Can anyone advise me how to do this?
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
I am looking to make the tabs use only 50% of the space and have my attributes next to the tabs. Can anyone advise me how to do this?
contain to tabs in a div that has a width of 50% and give it a class of forward or back this shoulds make all the other stull on the screen that was below the tabs be on the side 'wrapping' the tabs div.
JOsh