canal-web/magento-productselector

There is no license information available for the latest version (dev-master) of this package.

Create a block with dynamic filters redirecting to a pre-filtered category page

dev-master 2017-03-06 10:04 UTC

This package is not auto-updated.

Last update: 2024-05-25 17:22:45 UTC


README

Create a block with dynamic filters redirecting to a pre-filtered category page (using Manadev filters).

Howto

After installing the module, you should have two new fields on attributes edit page: "use in product selector" (set yes for each attribute you want to see as an input) and "type of attribute in selector" (let default value unless specific cases like year). The attribute must be used in product listing.

To call the block in your template :

echo $this->getLayout()->createBlock('core/template')->setTemplate('productselector/selector-block.phtml')->toHtml();

or from an xml layout :

<reference name="home">
  <block type="page/template_links" name="product_selector" template="productselector/selector-block.phtml"/>
</reference>

There is some basic configuration in System > Configuration > Canal Web > ProductSelector (important : you will need to specify there the attribute set you want to use).

Important: for accentuated locales, be sure to check the Manadev > SEO url keys (attributes and options should not be accentuated)

Important 2: if you install this module via composer, remember to allow simlinks in System > Config > Developer > Template.

French translation inc.