| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
DIY Tabbed Content Menu for Product Page | ||||
|
|
Thread Tools | Search this Thread |
#51
|
|||||||
|
|||||||
Quote:
You could try modifying this code... http://www.dynamicdrive.com/dynamicindex1/ddtabmenu2.htm
__________________
xcartmods.co.uk |
|||||||
#52
|
|||||||
|
|||||||
thanks for your help!
__________________
X-Cart 4.0.11 {My simple mods} Adding Market list and % save on product detail Quantity input box |
|||||||
#53
|
|||||||
|
|||||||
thanks for your help!
__________________
X-Cart 4.0.11 {My simple mods} Adding Market list and % save on product detail Quantity input box |
|||||||
#54
|
|||||||
|
|||||||
Hi all,
Here are Boomer codes and the reason why i am posting here because i have sent him many many emails regarding his help/assistant. He returned me with a solution that does not solved... and disappeared. Really disappointed. I hope people in this forum can help me out what's going on wrong: I tried to put 'pricematch' under his tab but whatever i do it just never sync/connect.... Please see in 'bold' Quote:
my website is http://www.directav.com.au/product.php?productid=301&cat=0&page=1 As you can see it does work under "review" and it shown up but does not with it own tab... any ideas plesae? ***I'm sorry boomer for publish your code but i have to get my business going.***
__________________
X-Cart version 4.x (Most likely will be the latest version) |
|||||||
#55
|
|||||||
|
|||||||
First off thanks to PhilJ. This is an excellent mod. Also thanks to Bella Forma for the if statement code to only show the tabs when they have content and to soleag for the main details code.
mffowler was looking for complete code for this mod so here it is. I have taken PhilJ and Bella Forma's code and made a few changes to the CSS to go with my site. I have only used this in v4.0.11 This will open the complete Product Details as the fist tab This will also only show the tabs when they have content. 1) Create a file called skin1/tabs.css Code:
2) Create a file called skin1/tabs.js Code:
3) Now create a new file called "overview.tpl" and save the following into skin1/customer/main/overview.tpl Code:
4) in skin1/customer/home.tpl underneath... Code:
add... Code:
5) find skin1/customer/main/product.tpl add this code to the top of the page... Code:
then right above... (this is to have the main details show) Code:
Add: Code:
Then remove the block of code that this replaces. ie. Code:
Once again.. Awesome mod and thanks to everyone who contributed on it. I hope compiling it all in one spot will help a few people out.
__________________
CopperB XCart Gold -> v4.0.11 PHP -> v4.3.10 MySQL -> v4.0.22 Apache -> v1.3.33 Smarty -> v2.6.3 |
|||||||
#56
|
|||||||
|
|||||||
I made a few changes to this mod to suit my needs. Instead of having the mod be part of the product page, I had the product page show up under the product details tab (book details in my case). Here's an example: http://www.thecrackedbook.com/xcart/customer/product.php?productid=19880&cat=253&page=3
If anyone is interested, here is what I did. Follow the steps stated previously in creating the tabs.css file and a tabs.js file in your skin1 directory. Also add the link in home.tpl to the tabs.css file. Then instead of creating the overview.tpl file, create a file named "custom_product.tpl" with the following code and save it as customer/main/custom_product.tpl Code:
Code:
Code:
Then you still need to remove this code from product.tpl Code:
That's it. If you have installed the previous version of this mod in your product.tpl file then you would need to uninstall it before you install this version.
__________________
4.1.9 (Linux) Live Store www.thecrackedbook.com Find used books and out of print books. |
|||||||
#57
|
|||||||
|
|||||||
Hi, longhorn.
I really like the changes you made to this mod and will give it a try this evening. It sure does look good in your shop. Another thing I noticed in your shop is the way you have the page navigation displayed - really, really awesome looking! Any chance you could share this mod...? Thanks in advance!
__________________
X-Cart 4.0.12 Heavy modified with paid, free and forum mods. PHP 5.2.5 | MYSQL 5.0.51a |
|||||||
#58
|
|||||||
|
|||||||
The page navigation mod is something I purchased from Boomer at cart-lab. Here is link for the mod: http://www.cart-lab.com/lab/customer/product.php?productid=5&cat=0&page=1.
__________________
4.1.9 (Linux) Live Store www.thecrackedbook.com Find used books and out of print books. |
|||||||
#59
|
|||||||
|
|||||||
Thanks for the reply, longhorn.
I knew about the mod from CartLab, but I thought/hoped you made it yourself. Another thing for my own wishlist... Thanks!
__________________
X-Cart 4.0.12 Heavy modified with paid, free and forum mods. PHP 5.2.5 | MYSQL 5.0.51a |
|||||||
#60
|
|||||||
|
|||||||
Thanks for this
Got it working well, and did not take much effort at all. It makes a lot of sense to have the Tabs setup like that rather than seperate. Regards Adam
__________________
www.creydall.com X-Cart version 4.0.11 PHP 4.3.9 MySQL 4.0.22 Apache/1.3.33 Perl 5.008004 Adam Adelaide South Australia |
|||||||
|
|||
X-Cart forums © 2001-2020
|