| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Menu with Tabs for Product page | ||||
|
|
Thread Tools | Search this Thread |
#31
|
|||||||
|
|||||||
Re: Menu with Tabs for Product page
One thing. When i activate this this MOD, and the the FancyCat. at the same time the MOD will make not show my TABs. how can i change that? Any ideas?
__________________
Pedro
digitalnotions.i2u.shop shop.modestclassy.com.au4.1.9 X-Cart
X-Cart Business 5.3.6.0 Multi-vendor 5.3.6.0 |
|||||||
#32
|
|||||||
|
|||||||
Re: Menu with Tabs for Product page
Wow, really cool add-on, thanks.
I am having an issue however as I want to have a Warranty tab and a Shipping tab specific to each product. I wish to include a file based upon its SKU (from a code I came across from RyanDesignStudios, http://forum.x-cart.com/showthread.php?t=28266&highlight=SIFR which is well worth a look !!) So, I have created folders and in them put my content SKU(whaterver it is).tpl. I am then trying to use the include file to fetch them. <div class="tabbertab"> <h2>Full Description</h2> {include file="$product.productcode.tpl" } </div> And here is my issue. No matter how I try and escape the variable it seems to throw an error. I am new to this code, but have scoured over the internet and used the suggestions for this include (http://www.smarty.net/manual/en/language.function.include.php) The error, if it helps is: Smarty error: unable to read resource: "Array.productcode.tpl" in..... etc, so it seems that it is not resolving the variable. Help would be appreciated. Many Thanks
__________________
Welcome to my world !! (I use version 4.1. |
|||||||
#33
|
|||||||||
|
|||||||||
Re: Menu with Tabs for Product page
will this help?
Code:
Thats what my "Full Desription" tab looks like
__________________
Doug Rock X-cart Gold 4.1.9 _____________________________________ Altered Cart: 1-Page checkout Firetank: Feed Manager Website CM: CDSEO PRO Website CM: Product A-Z Map Website CM: Review Approval Website CM: Site Map Pro Qualiteam: Sales & Stats (free version) |
|||||||||
#34
|
|||||||||
|
|||||||||
Re: Menu with Tabs for Product page
Quote:
My guess is if you want it specific to certian products is you will need {if} statements for those products. This is an example for a specific category and not an individual product, but you get the picture. Code:
__________________
Doug Rock X-cart Gold 4.1.9 _____________________________________ Altered Cart: 1-Page checkout Firetank: Feed Manager Website CM: CDSEO PRO Website CM: Product A-Z Map Website CM: Review Approval Website CM: Site Map Pro Qualiteam: Sales & Stats (free version) |
|||||||||
#35
|
|||||||
|
|||||||
Re: Menu with Tabs for Product page
chadweston,
Quote:
The most likely culprit for that error would be the period after $product. See if this works. Change your code so it looks like this: Code:
Hope that works. Let me know if it doesn't. - MoonDog -
__________________
X-CART Gold v4.1.8 |
|||||||
#36
|
|||||||
|
|||||||
Re: Menu with Tabs for Product page
Thanks heaps MoonDog
I am incredibly grateful for your help. I was starting to suffer from word blindness staring at that one. Fabulous contribution. Just for future, was it the dot notation or the double variable or just smarty rules that i am not familiar with. Thanks again, have a great great great day
__________________
Welcome to my world !! (I use version 4.1. |
|||||||
#37
|
|||||||
|
|||||||
Re: Menu with Tabs for Product page
Hi chadweston,
Quote:
I'm not really sure if it was the dot notation or the double variable. It works ok if you use that notation for a graphics file. But for a .tpl file it just doesn't seem to work correctly. Anyway, I'm glad you got it working and thanks for the compliments. - MoonDog -
__________________
X-CART Gold v4.1.8 |
|||||||
#38
|
|||||||||
|
|||||||||
Re: Menu with Tabs for Product page
Doesn't work with the version 4.1.9
NOt sure if your mod conflicts with the 'recently viewed' mod or something wasn't right about the home.tpl code?
__________________
_____________ Capture Your Mini-Me Look! - X-CART Gold (Current Version) V4.6 - Reboot - CDSEO |
|||||||||
#39
|
|||||||
|
|||||||
Re: Menu with Tabs for Product page
I am not quite sure why there MythNReality.
I have upgraded to 4.1.9, and it still works, however I have noticed that not all of the files have upgraded properly. If you want to look at any of my files just let me know. Thanks Chris
__________________
Welcome to my world !! (I use version 4.1. |
|||||||
#40
|
|||||||||
|
|||||||||
Re: Menu with Tabs for Product page
Quote:
__________________
_____________ Capture Your Mini-Me Look! - X-CART Gold (Current Version) V4.6 - Reboot - CDSEO |
|||||||||
|
|||
X-Cart forums © 2001-2020
|