http://wiki.ablecommerce.com/index.php?title=Prevent_the_Top_Sellers_from_showing_in_Shopping_Bar_1&feed=atom&action=historyPrevent the Top Sellers from showing in Shopping Bar 1 - Revision history2024-03-29T10:05:49ZRevision history for this page on the wikiMediaWiki 1.23.17http://wiki.ablecommerce.com/index.php?title=Prevent_the_Top_Sellers_from_showing_in_Shopping_Bar_1&diff=492&oldid=prevSohaib at 03:50, 4 September 20082008-09-04T03:50:10Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 03:50, 4 September 2008</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 7:</td>
<td colspan="2" class="diff-lineno">Line 7:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div></pre></code></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div></pre></code></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>The MiniBasket control will only display the alternate/additional control if the parameter has a value. Setting the parameter to blank prevents both from showing.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>The MiniBasket control will only display the alternate/additional control if the parameter has a value. Setting the parameter to blank prevents both from showing.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">==Reference==</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Originally posted in forums by Joe Payne http://forums.ablecommerce.com/viewtopic.php?f=47&t=6381</ins></div></td></tr>
</table>Sohaibhttp://wiki.ablecommerce.com/index.php?title=Prevent_the_Top_Sellers_from_showing_in_Shopping_Bar_1&diff=385&oldid=prevSohaib at 09:03, 19 August 20082008-08-19T09:03:40Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 09:03, 19 August 2008</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">There is a hidden trick you can do to prevent </del>the Top Sellers <del class="diffchange diffchange-inline">box from </del>displaying <del class="diffchange diffchange-inline">with </del>the <del class="diffchange diffchange-inline">minibasket</del>. <del class="diffchange diffchange-inline">In case you didn</del>'<del class="diffchange diffchange-inline">t realize, the </del>Top Sellers control is a <del class="diffchange diffchange-inline">separate user </del>control <del class="diffchange diffchange-inline">but it automatically appears whenever the MiniBasket </del>control is <del class="diffchange diffchange-inline">used</del>. <del class="diffchange diffchange-inline">This </del>is <del class="diffchange diffchange-inline">the default for the AC7 sidebar Shopping Bar 1.</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">Where there are no items in the cart the mini-basket in </ins>the <ins class="diffchange diffchange-inline">side bar hides itself and instead </ins>Top Sellers <ins class="diffchange diffchange-inline">start </ins>displaying <ins class="diffchange diffchange-inline">in its place.  You can configure </ins>the <ins class="diffchange diffchange-inline">control to display in place of mini-basket when there are no items in the basket</ins>. <ins class="diffchange diffchange-inline">By default </ins>'Top Sellers<ins class="diffchange diffchange-inline">' </ins>control is <ins class="diffchange diffchange-inline">displayed.</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">You may wish to display </ins>a <ins class="diffchange diffchange-inline">different </ins>control <ins class="diffchange diffchange-inline">or no </ins>control <ins class="diffchange diffchange-inline">at all when the basket </ins>is <ins class="diffchange diffchange-inline">empty</ins>. <ins class="diffchange diffchange-inline">There </ins>is a <ins class="diffchange diffchange-inline">simple trick (or </ins>control <ins class="diffchange diffchange-inline">property </ins>to <ins class="diffchange diffchange-inline">be more precise) that </ins>you can use <ins class="diffchange diffchange-inline">to achieve </ins>this.  </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">But like many other AC7 features, you do have some options. You can substitute </del>a <del class="diffchange diffchange-inline">different </del>control to <del class="diffchange diffchange-inline">display by using the syntax described in the ConLib Reference help.</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">Or, </del>you can <del class="diffchange diffchange-inline">trick MiniBasket into not displaying either the default control or an alternate control. Just </del>use this <del class="diffchange diffchange-inline">syntax in your Shopping Bar 1 scriptlet</del>.  </div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">In the Shopping Bar 1 sidebar where mini-basket control is getting used you can substitute the value for AlternateControl property to get your desired results. You can substitute a different control to display or, you can prevent MiniBasket from displaying either the default control or an alternate control. Just use this syntax in your Shopping Bar 1 scriptlet. </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"><code><pre></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>       [[ConLib:MiniBasket AlternateControl=""]]</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>       [[ConLib:MiniBasket AlternateControl=""]]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline"></pre></code></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>The MiniBasket control will only display the alternate/additional control if the parameter has a value. Setting the parameter to blank prevents both from showing.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>The MiniBasket control will only display the alternate/additional control if the parameter has a value. Setting the parameter to blank prevents both from showing.</div></td></tr>
</table>Sohaibhttp://wiki.ablecommerce.com/index.php?title=Prevent_the_Top_Sellers_from_showing_in_Shopping_Bar_1&diff=347&oldid=prevMazhar: New page: There is a hidden trick you can do to prevent the Top Sellers box from displaying with the minibasket. In case you didn't realize, the Top Sellers control is a separate user control but it...2008-08-14T11:34:01Z<p>New page: There is a hidden trick you can do to prevent the Top Sellers box from displaying with the minibasket. In case you didn't realize, the Top Sellers control is a separate user control but it...</p>
<p><b>New page</b></p><div>There is a hidden trick you can do to prevent the Top Sellers box from displaying with the minibasket. In case you didn't realize, the Top Sellers control is a separate user control but it automatically appears whenever the MiniBasket control is used. This is the default for the AC7 sidebar Shopping Bar 1.<br />
<br />
But like many other AC7 features, you do have some options. You can substitute a different control to display by using the syntax described in the ConLib Reference help.<br />
<br />
Or, you can trick MiniBasket into not displaying either the default control or an alternate control. Just use this syntax in your Shopping Bar 1 scriptlet. <br />
<br />
[[ConLib:MiniBasket AlternateControl=""]]<br />
<br />
The MiniBasket control will only display the alternate/additional control if the parameter has a value. Setting the parameter to blank prevents both from showing.</div>Mazhar