| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
$cat.category..........desc? | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#11
|
|||||||||
|
|||||||||
![]() Replace this
Code:
Code:
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#12
|
|||||||||
|
|||||||||
![]() include/func/func.category.php
__________________
xcart 5.1.2 |
|||||||||
|
#13
|
|||||||||
|
|||||||||
![]() And I'm back
__________________
Moo? Quality Door & Hardware Version X-Cart 4.1.108 Add-ons X-AOM (Advanced Order Management) Ad / Banner X-cart Mod (BCSE) DSEFU Dynamic Image Mod Pre-login Shipping Calculator Power Filter Contact Us Form Shipping Carrier Mod Submit Button Send me a message, I can talk about anything. |
|||||||||
#14
|
|||||||||
|
|||||||||
![]() huh?
__________________
xcart 5.1.2 |
|||||||||
|
#15
|
|||||||||
|
|||||||||
![]() Quote:
DER PROGRESS! Ok, it may not be success, but it's definitely very cool I tried these three to no avail $current_category.category_descr $category.category_descr $cat.category_descr But then I realized, that "cat" was the item holding the description. So I tried {$cat.category.category_descr} What you did must have worked somewhat. It loads "something" http://frozeninksecret.com/tmp/que.gif Some coincidences... There are 14 Categories that it loads, and fourteen 14 Images. Whatever {$cat.category.category_descr} pulls is 14 Characters. So what I'm thinking is that it's pulling one letter of something from the DB.
__________________
Moo? Quality Door & Hardware Version X-Cart 4.1.108 Add-ons X-AOM (Advanced Order Management) Ad / Banner X-cart Mod (BCSE) DSEFU Dynamic Image Mod Pre-login Shipping Calculator Power Filter Contact Us Form Shipping Carrier Mod Submit Button Send me a message, I can talk about anything. |
|||||||||
#16
|
|||||||||
|
|||||||||
![]() Quote:
I'm sorry. I meant where in func.category.php -_-
__________________
Moo? Quality Door & Hardware Version X-Cart 4.1.108 Add-ons X-AOM (Advanced Order Management) Ad / Banner X-cart Mod (BCSE) DSEFU Dynamic Image Mod Pre-login Shipping Calculator Power Filter Contact Us Form Shipping Carrier Mod Submit Button Send me a message, I can talk about anything. |
|||||||||
#17
|
|||||||||
|
|||||||||
![]() Oh wait... No, it doesn't matter what I put after $cat.category.whatever it'll always pull up those fourteen characters. Nevermind. -_-
__________________
Moo? Quality Door & Hardware Version X-Cart 4.1.108 Add-ons X-AOM (Advanced Order Management) Ad / Banner X-cart Mod (BCSE) DSEFU Dynamic Image Mod Pre-login Shipping Calculator Power Filter Contact Us Form Shipping Carrier Mod Submit Button Send me a message, I can talk about anything. |
|||||||||
#18
|
|||||||||
|
|||||||||
![]() $cat.category.something will not work. With the code in your first post you have to use $cat.category_descr.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#19
|
|||||||||
|
|||||||||
![]() Quote:
Ok, a couple more testing. When I use $cat.categoryid it does pull up the IDs however $cat.category_descr does not work after I placed the code. Although when I placed the code, the website functioned but Search and Checkout didn't work. This is really a head scratcher it is, thanks for all of your help so far, it's much appreciated. Ashley --> I added the code to func.php (tested both solutions separately and together) but it also doesn't seem to be pulling anything from $cat.description I also tried changing the [category] to [category_lng] just in case it might be asking for a different database. No such luck -_-
__________________
Moo? Quality Door & Hardware Version X-Cart 4.1.108 Add-ons X-AOM (Advanced Order Management) Ad / Banner X-cart Mod (BCSE) DSEFU Dynamic Image Mod Pre-login Shipping Calculator Power Filter Contact Us Form Shipping Carrier Mod Submit Button Send me a message, I can talk about anything. |
|||||||||
#20
|
|||||||
|
|||||||
![]() Though I don't know exactly what script you're needing, take a look at this post
http://forum.x-cart.com/showthread.php?t=41665&page=2 post #17, and you'll find {$current_category.description}
__________________
______________ version 4.1.9 Gold |
|||||||
|
|
|||
X-Cart forums © 2001-2020
|