Skip to content

Commit 3e5a834

Browse files
committed
updated readme (encoded html character)
1 parent 40af567 commit 3e5a834

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,17 +80,18 @@ Copy the file /app/design/frontend/base/default/layout/wigman_ajaxswatches.xml t
8080

8181
Change '.swatch-current .value img' on line 39 into your custom selector:
8282

83-
<block type="core/template" name="baseurl" template="wigman/ajaxswatches/baseurl.phtml">
84-
<action method="setData"><name>active_swatch_selector</name><value><![CDATA[.swatch-current .value img]]></value></action>
85-
</block>
83+
<block type="core/template" name="baseurl" template="wigman/ajaxswatches/baseurl.phtml">
84+
<action method="setData"><name>active_swatch_selector</name><value><![CDATA[.swatch-current .value img]]></value></action>
85+
</block>
8686

8787
For example, if you are using ManaDev's layered navigation, the selector would become "input[id^=filter_left_color][checked=checked] ~ label span"
8888

8989
This selector pickes the &lt;label&gt;&lt;span&gt;Attribute Label&lt;/span&gt;&lt;/label&gt; that comes after a checked &lt;input id=&quot;filter_left_color_1234&quot;&gt; element.
90-
&lt;li class=&quot;m-selected-ln-item&quot;&gt;
91-
&lt;input type=&quot;checkbox&quot; id=&quot;filter_left_color_1234&quot; value=&quot;1000&quot; checked=&quot;checked&quot; onclick=&quot;setLocation('http://www.url.com');&quot;&gt;
92-
&lt;label for=&quot;filter_left_color_1234&quot;&gt;&lt;span class=&quot;m-selected-checkbox-item&quot; title=&quot;Black&quot;&gt;Black&lt;/span&gt;&lt;/label&gt;
93-
&lt;/li&gt;
90+
91+
<li class="m-selected-ln-item">
92+
<input type="checkbox" id="filter_left_color_1234" value="1000" checked="checked" onclick="setLocation('http://www.url.com');">
93+
<label for="filter_left_color_1234"><span class="m-selected-checkbox-item" title="Black">Black</span></label>
94+
</li>
9495

9596
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.
9697

0 commit comments

Comments
 (0)