Displaying products on home page - php

I've been searching around on Google to find an accurate tutorial that explains how to display products on the home page but so far nothing is working!
The latest products block doesn't work; the only thing that I've managed to get working is a single link to a product which is not very attractive.
Anyone know how to display products, featured products, etc. on the home page?
ps. I'm using Magento 1.5

There are many excellent tutorials on the web on this topic. I would recommend the Inchoo blog post as first option.
If you have specific issues, please report back with a full trace of the errors that you are receiving, what you've tried, etc.

In Admin > System > Configuration > Web > Default Pages you could, say, set catalog/category/view/id/10 to have the default route resolve to a category with entity id of 10.
You'll need to consider duplicate content (SEO) issues if you want this to show elsewhere on your site.

Related

Magento 1.9.2.4 sub-category listing error

I managed to get sub-categories showing on the category page with images, but now since updating 1.9.2.1 up to 1.9.2.4 it no longer works. I cant imagine what may have changed and haven't altered anything.
I followed this tutorial:
http://www.templatemonster.com/help/magento-listing-sub-categories-on-a-category-page.html#gref
Picture of it working in 1.9.2.1:
Picture of it not working in 1.9.2.4:
It's because you are loading a special block type in a cms block. You need to allow the block type catalog/navigation for it to display. It's a very easy fix though;
You can do this in admin, from;
system > permissions > blocks
Or directly in the database in table permission_block.

OpenCart Theme 'MarketShop' slider issue

I'm using an opencart theme called MarketShop and as part of the theme it comes with a featured slider on the top of the website. It was all functioning correctly this morning, I went to edit the pictures by removing the original module and recreating it with a different banner. Now the module has been created but its not showing up on the website.
What have I done wrong?
I believe the two modules have identical information but I could be incorrect.
I've tried reupoloading all files from the theme and just skipping any that were identical in order to try and find the missing file with no luck.
Any suggestions besides doing a factory reset are much appreciated!
UPDATE:
Doesn't seem like anyone is able to determine the fault... Going to do a fresh install unless someone wants to first login themeselves and see if they can find the problem?
I managed to resolve this issue myself finallly after a LOT of playing around!
Steps I took to fix this issue were as follows..
First I uninstalled the module and reinstalled (It deleted all tests I made + the original demo items).
Then I clicked the install button again and went to edit.
I added one slideshow item and choose my banner that I'd setup earlier via the banners link in the admin panel.
I then went to LAYOUTS which is found next to the banners link or after you click save in modules at the top a hyperlink to layouts is offered.
Upon going to the layouts section and playing around here for even more time I worked out I needed to go into the Homepage file and click edit (NOT THE ONE NAME DEFAULT)!
I tried this numerous times with the DEFAULT page (Note that my store is even set so that the default theme is default which led me to believe that was the right page, which it is not.
So go into homepage and click edit.
Then add one module with the blue plus. Select the module you've just created earlier. Position it where you want it on the page (to get it to work for me I selected "Content Top" and Sort Order I set to 1 (The other two modules had sort orders of 2 and 3)
And that was that, problem solved!
Hopefully this will help anyone else with similar issues.

Magento products showing up store front but not under categories

We have Magento 1.8 and everything was working fine until few days ago when we noticed products are showing up fine on the main page but for some reason do not show on any of the categories.
You can click on the product and see the details. You can search for any particular product and once again find it but nothing under categories. We have done all the usual things recommended on most forums we have searched through including reindexing and flushing the cache.
Please help - the page is maxkoldonline.com incase you would like to see the problem we are having.
NOTE: we have upgraded from 1.7 to 1.8 although we have not checked if the problem pre or post dates the upgrade.
Many thanks for your time.
Did you check to make sure the products are assigned to their respective categories? By going into a product, go to the categories tab and make sure it has a category assigned. There are many things that could cause this. But this is where I would start.
Try by enabling error display from index.php and see if any error comes on category page.
ini_set('display_errors', 1);

Magento 1.4.1.1 - Search not working, Cross-Sell, New Products on Home Page, Up-Sell, Related Products Not working

Using 1.4.1.1
I’ve recently changed some php code in header.phtml to align my navigation titles so the wording appears on top of each other.
After I did this I also changed the organization of the categories within the back end under Catalog > Category Management. none of the Cross-Sells, Up-Sells, Related products or New Products on the Home Page are showing up along with the sarch.
I’m not sure if changing the header.phtml is related to these options not working. I don’t see how changing the header.phtml could render those options useless.
The only other things i’ve done since i’ve changed that code was create a sitemap, and a new robot.txt file which should have no effect on the website and change the order of the navigation items up top....meaning, instead of “Navigation Category 4” being in the fourth spot, I put it in the 1 slot then moved it back to the four slot within the back end under Catalog > Manage Categories for a split second… I dragged and dropped them into a new location, but then moved them back to how those two categories were organized before. I also changed the name of an existing category.
yes… i’m sure that all products are instock, with quantity available. All these things (cross-sells, up-sells, new products, etc) were working yesterday so I know they are set up correctly. It seems like something I did changed the file that controls all of those options. I’ve also re-indexed and re-cached everything.
Does anyone have any advice on where to look or what may have changed? All the XML is still set up correctly under CMS > Pages > Home Page. It still shows XML there to call out the new products on the home page but there not displaying. I have a feeling once I fix the home page issue with not displaying new products, that the others will be fixed to.
Please remember that these options were working yesterday. Any advice is greatly appreciated.
Thank you.
P
P.S. I’ve also realized now that searching is not working on the website. I’ve re-indexed everything and it’s not working. The only thing not re-indexing is “Category Products” but that has always said “processing” and won’t re-index. So I dont know why that would now mess anything up. This is seriously killing me. Corrupt DB? I've tried to repair the db but cannot upload large .sql dumps via MYphpAdmin, and don't have shell access.
I will seriously send money to someone who can cure these issues. I'm a man of my word.
Thank you everyone.
Erase everything in /var/locks/ and re-index.

How Can I Make All Navigation Links in JoomGallery Specific to the Component's Root Category?

In this art website I'm working on for a school project, I am using Joomla 1.5 as the CMS of choice and JoomGallery to display artworks. (I tried to install 1.6 several times, but the "Next" buttons would not work for me for some reason. I installed it manually, but had another issue, so finally reverted to 1.5... and then I realized that the "other" issue was easily fixed. I'll migrate it to 1.6 eventually, but not now.)
On the website, there are three primary categories of art, all of which appear in the menu--Traditional, Digital, and Photography. Each one is linked to a respective category in JoomGallery, each with its own subcategories.
What I want in this case is that each one is locked within its own boundaries, essentially. However, when clicking on the "Last Added" and "Most Viewed" links, images are taken from EVERY SINGLE category I have created and is published, not just the current "root" category I set for the page and its sub-categories. Additionally, I'd like "total number of hits" and "total images" to be restricted to that specific category and its sub-categories.
I searched around and I could not find a way to fix this. I'm sure there's a way, but I'm not too keen on Joomla yet... I've tried looking into it and I can't figure out. I just naturally assumed that this would be pretty obvious--if I set a category in a Menu Page, all the links and everything would be restricted to that single category, but its not the case, and I don't like it.
I know there's got to be a way to do this, but again, I'm really not into Joomla much yet. I managed to build the template from scratch (with a tiny bit of help from tutorials), but I haven't started getting into other Extensions yet. How can I go about accomplishing this task which should have been an option to begin with?
Below is a link to the website. Again, the pages I'm referring to are Traditional, Digital, and Photography. The categories are locked down pretty good (can't view any higher/other categories), but the TOP links don't restrict it by category, and neither do the total number of hits/images.
http://aeternalwings.tsr-online.org
And no, I don't hate JoomGallery... in fact, its the best free Open Source Joomla Gallery I've found, and I doubt I'll find a better one without having to pay an arm and a leg. Its mainly this one thing that's bothering me.
P.S. The artwork on this site is not mine, but I DO have permission to use it. This website is for my fiance, and all artwork was drawn by her, and all photos were taken by her (except for perhaps the self-portrait displayed on the "Blog" page). It was built during a school assignment, and she will later use it once it is complete.
If JoomGallery is not set up to display like you want then it's going to be a pretty major task to change it. In order to get the images to filter the way you want you will need to edit the SQL queries in the model to take the current category in to account.

Categories