| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
All Products on front page, similar to featured products | ||||
|
|
Thread Tools | Search this Thread |
#51
|
|||||||
|
|||||||
Re: All Products on front page, similar to featured products
I want to show a page of all top level categories ... with an image on a page
but not the home page ? Just a top level store page ? There must be a way - I must be missing something. thanks Donna (XC4.something not sure) |
|||||||
#52
|
|||||||
|
|||||||
Re: All Products on front page, similar to featured products
Duh - never mind - Mike already showed me how to do this here - and I did it - I just cuoldn't find it since it's been like 6mo since I worked on this
http://forum.x-cart.com/showthread.php?t=69144 thanks DonnaNJ |
|||||||
|
#53
|
|||||||
|
|||||||
Re: All Products on front page, similar to featured products
Tony,
Any thought's on how to place all Products on the front page similar to how we've done this, but instead of the Grid, we do it as the List format?
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
#54
|
|||||||||
|
|||||||||
Re: All Products on front page, similar to featured products
You need to decorate your viewer class (I believe, you decorated \XLite\View\ItemsList\Product\Customer\Category\AC ategory one) and add following line into setWidgetParams() function:
PHP Code:
Please, let me know if it works out for you.
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#55
|
|||||||
|
|||||||
Re: All Products on front page, similar to featured products
Tony,
At the very end of the php file is this: PHP Code:
Are you saying all I need to do is change: PHP Code:
to: PHP Code:
I tried that and it didn't do anything.
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
#56
|
|||||||
|
|||||||
Re: All Products on front page, similar to featured products
I have an issue when doing this:
PHP Code:
The display options are gone (that's what I wanted). The Sort menu is displayed but does not work, When I try to sort, let say by newest, it does not display any product at all. Any idea what it is happening? I have also tried: PHP Code:
but no change Thanks
__________________
X-Cart Business 5.0.12 |
|||||||
#57
|
|||||||||
|
|||||||||
Re: All Products on front page, similar to featured products
Quote:
This code should be placed into setWidgetParams() method, not into defineWidgetParams() one.
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#58
|
|||||||||
|
|||||||||
Re: All Products on front page, similar to featured products
@juancho and @minfinger, you should not use construction like this:
PHP Code:
instead you have to use it like this: PHP Code:
Again, setting your own values for widget parameters must be done in the setWidgetParams() method, not in the defineWidgetParams() one. @juancho, if you have more questions about your task, let us discuss it in this thread: http://forum.x-cart.com/showthread.php?t=70749 I would prefer this thread to be dedicated to @minfinger's task.
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
|
#59
|
|||||||
|
|||||||
Re: All Products on front page, similar to featured products
Tony,
I finally have time to get back to where I can work on this site again. I've had a heck of a couple of months. I've been trying to get this List View Mode to work and I'm not having any success. Right now this is the code I'm working with and all it does is screw up the front page. PHP Code:
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
#60
|
|||||||||
|
|||||||||
Re: All Products on front page, similar to featured products
PHP Code:
Do you want to create a new widget, or modify the existing one? To hack into the existing widget you should declare your class as follows: PHP Code:
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
|||
X-Cart forums © 2001-2020
|