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? |
Re: All Products on front page, similar to featured products
1. Yes.
2. By product name, as its the name of the puppy. |
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. |
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. |
Re: All Products on front page, similar to featured products
Ok, thank you. I will post code samples within couple of weeks.
|
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.
|
Re: All Products on front page, similar to featured products
Oh, that is a good option as well :)
|
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. |
Re: All Products on front page, similar to featured products
This one won't enable either.
|
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.
|
All times are GMT -8. The time now is 06:43 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.