Jump to content

Displaying all products on the home page

Madan Kumar

Recommended Posts

Hi Forum,

Can anyone give me some idea on how to display all products (say in alphabetical order) on the home page? How can I generate the full product list using the database query with a new global variable $all_products  and use it in my home page or in a box?

Any clue from anyone?


Many thanks in advance.


Link to comment
Share on other sites

Welcome to the forums, @Madan Kumar!

I can't help with accomplishing this, but maybe I can ask some questions and save a little time when someone knowledgeable is online to see your answers.

1. What CC version are you on and what skin?

2. Is your install stock or has it been edited?

3. What is your store url?

4. Do you use Categories/subcategories?

5. How many products do you want on the homepage?

6. Are you wanting to eliminate the Featured, Latest, Sale Items, and Popular sections?

Link to comment
Share on other sites


I am not running any production site but trying to learn the structure of CubeCart. I have installed version 6.1.7 in my  localhost with MySQL 10.1.8-MariaDB and PHP 5.6.14. Do you or anyone know how the application flows. In which folder, all global variables are kept and how the class functions access these variables to send them to the view for display. I believe it has some kind of MVC structure!

Many thanks in advance


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...