Jump to content

Need fast HELP with out of stock and "please select" option

Recommended Posts

Wrrr.... I have problem:


1) I add default value to select group "Please select"


<select name="{$groupName}" id="group_{$id_attribute_group|intval}" onchange="javascript:findCombination();{if $colors|@count > 0}$('#wrapResetImages').show('slow');{/if};">
{if $id_attribute_group|intval == 2}
<option value="-1" title="Wybierz rozmiar" selected="selected">{l s='Wybierz rozmiar'}</option>

{foreach from=$group.attributes key=id_attribute item=group_attribute}


And now, when I want display "Out of stock" message it's always give me it, because any combination and product with "Please select" attribute doesn't exist!!!!!!!!!!!!!!!!!!!!!!!!!!!




Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More