| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
All Products on front page, similar to featured products | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||||
|
|||||||||
Re: All Products on front page, similar to featured products
1) Shall we remove current Featured Products section from front-end or we should simply populate it with the products you need?
2) How these products should be sorted in new section?
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#12
|
|||||||
|
|||||||
Re: All Products on front page, similar to featured products
1. Yes.
2. By product name, as its the name of the puppy.
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
#13
|
|||||||||
|
|||||||||
Re: All Products on front page, similar to featured products
Sorry, I did not quite get the answer to the first question. Would you prefer option 1 (remove current featured products section) or option 2 (populate it with all products)?
Anyway, I will prepare code samples during next week and will post them here.
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#14
|
|||||||
|
|||||||
Re: All Products on front page, similar to featured products
Apologies,
I see what you're asking now. I do not need the Featured Products Section at all, I only want the front page to be populate with all products and sorted by product name. I really appreciate your help.
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
#15
|
|||||||||
|
|||||||||
Re: All Products on front page, similar to featured products
Ok, thank you. I will post code samples within couple of weeks.
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#16
|
|||||||
|
|||||||
Re: All Products on front page, similar to featured products
As I'm sure you're busy with other projects, I'm willing to pay for this to happen much sooner.
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
#17
|
|||||||||
|
|||||||||
Re: All Products on front page, similar to featured products
Oh, that is a good option as well
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#18
|
|||||||||
|
|||||||||
Re: All Products on front page, similar to featured products
Hi Michael!
So, here is the instruction how to do this mod: 1) Create an empty module according to http://kb.x-cart.com/display/XDD/How+to+create+a+module Do not forget to adjust your namespace. 2) In your module add the View/Custom/ProductsOnHome.php file with the following content: PHP Code:
Again, do not forget to adjust your namespaces. 3) Rebuild the cache and you will see the needed results.
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#19
|
|||||||
|
|||||||
Re: All Products on front page, similar to featured products
This one won't enable either.
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
#20
|
|||||||||
|
|||||||||
Re: All Products on front page, similar to featured products
Please make sure that you have Main.php file in your module, not main.php that starts with small letter.
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|