Jump to content

How can I default "Use Stock" and "Latest Products&quot


Recommended Posts

Guest webicon

Hi Jersey Jo -

I did this on mine for the same reason...

Go to: Admin > Products>index.php

Find these lines

<select name="showFeatured" class="textbox">

		<option value="1" <?php if(isset($results[0]['showFeatured']) && $results[0]['showFeatured']==1) echo "selected='selected'"; ?>><?php echo $lang['admin']['yes'];?></option>

		<option value="0" <?php if(isset($results[0]['showFeatured']) && $results[0]['showFeatured']==0) echo "selected='selected'"; ?>><?php echo $lang['admin']['no'];?></option>

	  </select>




then just re-order so that the 'No' option is above the 'Yes' option...




<select name="showFeatured" class="textbox">

		<option value="0" <?php if(isset($results[0]['showFeatured']) && $results[0]['showFeatured']==0) echo "selected='selected'"; ?>><?php echo $lang['admin']['no'];?></option>

  <option value="1" <?php if(isset($results[0]['showFeatured']) && $results[0]['showFeatured']==1) echo "selected='selected'"; ?>><?php echo $lang['admin']['yes'];?></option>

	  </select>

(Hopefully this doesnt qualify as a 'Mod' and won't get into trouble for posting! :) )

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...