clearString neatComponents 
Documentation

clearString neatComponents 
Documentation

Setting a Sale View to auto-submit

Techniques & KB Articles 

Setting a Sale View to auto-submit

Setting a Sale View to auto-submit

In some cases you may want a Sale View to auto-submit - adding the default quantity of an item to the cart.

Whilst there is no specific setting to do this, you can achieve this by adding the following script to the "<Head> General" script area of the page in which the Sale View is embedded:

<script type="text/javascript"> 
/*<![CDATA[*/ 
window.onload = function(){ 
   if(document.forms.length){ 
      document.forms[0].submit();    
   } 

/*]]>*/ 
</script>

Techniques & KB Articles 

In this section

Techniques & KB Articles 

In this section:

Copyright © 2025 Enstar LLC    All rights reserved