Skip to content

Magento extension which allows you to add bestsellers, specials, all products or products based on attribute to your store.

Notifications You must be signed in to change notification settings

KLIGGS/CustomListing

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CustomListing is a Magneto extension that allows you to add the following pages to your Magento store:

- Bestsellers
- All Products
- Specials
- Products By Attribute

Those pages can be added by creating a CMS page and inserting corresponding shortcode. Below are the codes for each page with usage instructions.

**Bestsellers**

	{{block type="custom_listing/bestsellers" name="my_bestsellers" template="catalog/product/list.phtml"}}

This block outputs all store products sorted by ordered quantity.

**All Products**

	{{block type="custom_listing/all" name="my-all-products" template="catalog/product/list.phtml"}}

This block outputs all products of the store.

**Specials**

	{{block type="custom_listing/specials" name="my_specials" template="catalog/product/list.phtml"}}

This block outputs all products that currently have discounts.

**Products By Attribute**

	{{block type="custom_listing/attribute" name="my_manufacturer" template="catalog/product/list.phtml" attribute="ATTRIBUTE_NAME" value="ATTRIBUTE_VALUE"}}

This block outputs all products with specified attribute set to specified value. Replace ATTRIBUTE_NAME with name of your attribute and ATTRIBUTE_VALUE with value of your attribute if attribute type is text or ID of the value of your attribute if the attribute type is select. The example bellow will output all products by manufacturer with ID = 3.

	{{block type="custom_listing/attribute" name="my_manufacturer" template="catalog/product/list.phtml" attribute="manufacturer" value="3"}}

About

Magento extension which allows you to add bestsellers, specials, all products or products based on attribute to your store.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 98.1%
  • CSS 1.9%