-
- A Joyful Affair

-
Total Posts: 7
Joined: 2008-03-26
|
Hi,I just wanted toshare that the easiest way I found to figure out the category id numbers for a bunch of categories at once was to go into your database with phpmyadmin and export the catalog_category_entitiy_varchar table. You can pull it out of there as a spreadsheet or csv using phpmyadmin and get all the category ids matched up at once..
|
| |
|
 |
 |
 |
|
|
-
- cal

-
Total Posts: 8
Joined: 2007-10-03
|
Moshe - 14 December 2007 12:42 PM You can use
{{block type="catalog/product_list" category_id="123"}}
where 123 is your featured category id
So does this code get pasted directly into the CMS page you select? I’ve tried to put it in the home page but it doesn’t seem to do anything. Do I need to create a block first or something?
My basic issue is I have an empty homepage and am not sure how to start featuring products there.
|
| |
|
 |
 |
 |
|
|
-
- TechBundle

-
Total Posts: 51
Joined: 2008-03-26
|
In one of the recent releases before 1.0, the needed syntax changed. Try the following:
{{block type="catalog/product_list" category_id="123" template="catalog/product/list.phtml"}}
Where “123” is the ID of your desired category.
EDIT: This just shows the category using the default category listing template. You will have to make your own if you want it formatted differently. It is not hard to do so by just editing list.phtml and saving it under a different name and calling that instead of list.phtml.
|
| |
|
 |
 |
 |
|
|
-
- cal

-
Total Posts: 8
Joined: 2007-10-03
|
That worked, thanks for the fast response.
|
| |
|
 |
 |
 |
|
|
-
- jullio

-
Total Posts: 2
Joined: 2008-03-22
|
I would like to create a block that integrates with a flash slideshow. I basically need a php file that out puts the xml for the slideshow. What functions do I need to call to loop through a list of products in a specific category to get the product image path, product name and product price?
The slide show I want to use is the carousel by airtight.
|
| |
|
 |
 |
 |
|
|
-
- tonyhhisc

-
Total Posts: 7
Joined: 2008-02-04
|
For those looking to hide the category from navigation. If I’m not mistaken, you should be able to select “No” from the “Is Active” menu on the category manager page to accomplish this. This seemed to work for me.
|
| |
|
 |
 |
 |
|
|
-
- buffalokill

-
Total Posts: 15
Joined: 2007-12-12
Coeur d'Alene, Idaho
|
A Joyful Affair - 30 March 2008 07:58 PM Hi,I just wanted toshare that the easiest way I found to figure out the category id numbers for a bunch of categories at once was to go into your database with phpmyadmin and export the catalog_category_entitiy_varchar table. You can pull it out of there as a spreadsheet or csv using phpmyadmin and get all the category ids matched up at once..
A much easier way would be to just edit that category in the admin center, and read the ID in the address bar.
yourdomain.com/index.php/admin/catalog_category/edit/store/2/id/14/
|
| |
|
 |
 |
 |
|
|