X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   DIY Tabbed Content Menu for Product Page (https://forum.x-cart.com/showthread.php?t=11094)

taltos1 05-11-2005 05:52 PM

Do I put that code in home.tpl? And does that replace some of the code or just add to it?

Thanks again

markwhoo 05-11-2005 07:04 PM

This is the code that you placed in the product.tpl for the tabs to appear.

What I showed you is the art you need to adjust to make the tabs themselves appear. Simply modify the names for what you want and ensure you change the layout of the remaining tabs in the lower part of the code to match.

Also the tab nubering is critical. It must match as well.

snorocket 05-21-2005 04:56 PM

impressive mod
 
How do you get the tabs to look like x-onlines here:

http://www.directav.com.au/product.php?productid=301&cat=0&page=1

zardos 05-21-2005 06:18 PM

Hi snorocket

Tabbed Product Menu at:

www.cart-lab.com

snorocket 05-21-2005 11:38 PM

This Thread
 
Hi Zardos, the topic of this thread is about the Tabbed Product Menu and best of all its FREE. I would just like to have the tabs look like the ones posted in the link above, its just a matter of formatting but can't get it to look quite the same, oh well, how it is works great as is, Thanks guys

Maree 05-31-2005 04:50 AM

My Hair is falling out
 
I'm very tired.

I am running 4.0.13 and have modified tpls as per CopperB's instructions on p4 of this thread.

The following error message appears indicating problems in product.tpl.

I have been over the steps several times. Finally restored the original product.tpl and modified it following those steps again.


Fatal error: Smarty error: [in customer/main/product.tpl line 209]: syntax error: unclosed tag {else} (opened line 11). (Smarty_Compiler.class.php, line 308) in /www/clientweb/au/o/ozquilts.com.au/xcart/Smarty-2.6.3/Smarty.class.php on line 1082


Can someone please point me to a solution? I plan to learn Smarty php but am flat out like a lizard drinking getting the damn site to a point where it can go live as well as running the normal business (I'm having my own little pity party here.....will this website ever be live).

Maree

4.0.13
AOM, Fancy Cats, Easy Checkout, Easy Upsell
Neon Lights template

longhorn180 05-31-2005 05:23 AM

I believe this means that you're likely missing an {/if} tag somewhere, but without seeing the code I can't tell you for sure.

Maree 06-01-2005 04:26 AM

Thanks Longhorn
 
Thanks Longhorn
Yes you were right :). I found the missing endif.

Now the appearance of my product.tpl page is thown out - I suspect it may be because I have the Neon Lights addon but I am not sure. Rather than back out of the modification I want to work this out because I would much prefer the compact layout of the tabbed menu than scrolling down a long page.

I appreciate the time you took to respond to my post - It was one of those X moments (rolleyes).

Ok..back to checking my code

Maree 06-01-2005 05:36 AM

I need some help please.

My website is http://www.ozquilts.com.au/xcart/home.php

I'm hoping to go live soon and still working on gifs in Photoshop.

I cannot get this mod working. My product.tpl looks like this -(EEEK!)
http://www.ozquilts.com.au/xcart/product.php?productid=16855&cat=0&page=1

The only difference I noted in this mod was in step 4 -
My customer.home.tpl has thin line

<LINK rel="stylesheet" href="{$SkinDir}/{#CSSFile_c#}">
<LINK rel="stylesheet" href="{$SkinDir}/tabs.css">

CssFile_c refers to my custom neon lights skin.


The code is not pulling up my skin for the product page though and I cannot see why not. I have the Smarty php manual and am goin thru that and have stepped thru the file pointers but am getting nowhere.

Can anyone give me some idea of the problem?
Thanks

Maree
4.0.13, Eazy Upsell, Easy Checkout, AOM, Fancy Cats, Neon Lights

TelaFirma 06-01-2005 06:59 AM

You have a serious problem with your /customer/home.tpl file.

As best that I can tell you are calling the /customer/main/product.tpl file at the very begining of it. This causes all that extra code before you ever get to the <HEAD> tag....


All times are GMT -8. The time now is 07:56 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.