From 3e5a83462325c2d0ad0106934ee85e786d2b1a78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CWillem?= Date: Tue, 7 Apr 2015 18:02:03 +0200 Subject: [PATCH] updated readme (encoded html character) --- README.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 33eb907..cf7a901 100644 --- a/README.md +++ b/README.md @@ -80,17 +80,18 @@ Copy the file /app/design/frontend/base/default/layout/wigman_ajaxswatches.xml t Change '.swatch-current .value img' on line 39 into your custom selector: - <block type="core/template" name="baseurl" template="wigman/ajaxswatches/baseurl.phtml"> - <action method="setData"><name>active_swatch_selector</name><value><![CDATA[.swatch-current .value img]]></value></action> - </block> + + active_swatch_selector + For example, if you are using ManaDev's layered navigation, the selector would become "input[id^=filter_left_color][checked=checked] ~ label span" This selector pickes the <label><span>Attribute Label</span></label> that comes after a checked <input id="filter_left_color_1234"> element. - <li class="m-selected-ln-item"> - <input type="checkbox" id="filter_left_color_1234" value="1000" checked="checked" onclick="setLocation('http://www.url.com');"> - <label for="filter_left_color_1234"><span class="m-selected-checkbox-item" title="Black">Black</span></label> - </li> + +
  • + + +
  • You will probably need to change "filter_left_color" to reflect your attribute name (like filter_left_kleur or filter_left_farbe) if you run a non-english store.