canal-web / magento-productselector
Create a block with dynamic filters redirecting to a pre-filtered category page
Installs: 86
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 0
Open Issues: 0
Type:magento-module
This package is not auto-updated.
Last update: 2024-11-09 19:35:33 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.