Jump to content


  • Content count

  • Joined

  • Last visited

  1. mbi15


    Hi This is probablt a stupid question, but where do I go to edit and approve rewards points in admin. I can configure how the module runs, but where do I go to actually control the aproval of points and see how many points each customer has etc??
  2. Ok, I have hacked /includes/functions/html_output.php In Function tep_draw_pull_down_menu, before for ($i=0, $n=sizeof($values); $i<$n; $i++) { I have added $field .= '<option value="select"'; $field .= '>Please Select ...</option>'; And this seems to solve the problem, though it is a hack so use at your own risk. I am not sure which other drop down menus this will affect, but I am sure having "Please Select" won't cause too many problems. So the Function will now look like this. // Output a form pull down menu function tep_draw_pull_down_menu($name, $values, $default = '', $parameters = '', $required = false) { global $HTTP_GET_VARS, $HTTP_POST_VARS; $field = '<select name="' . tep_output_string($name) . '"'; if (tep_not_null($parameters)) $field .= ' ' . $parameters; $field .= '>'; if (empty($default) && ( (isset($HTTP_GET_VARS[$name]) && is_string($HTTP_GET_VARS[$name])) || (isset($HTTP_POST_VARS[$name]) && is_string($HTTP_POST_VARS[$name])) ) ) { if (isset($HTTP_GET_VARS[$name]) && is_string($HTTP_GET_VARS[$name])) { $default = stripslashes($HTTP_GET_VARS[$name]); } elseif (isset($HTTP_POST_VARS[$name]) && is_string($HTTP_POST_VARS[$name])) { $default = stripslashes($HTTP_POST_VARS[$name]); } } $field .= '<option value="select"'; $field .= '>Please Select ...</option>'; for ($i=0, $n=sizeof($values); $i<$n; $i++) { $field .= '<option value="' . tep_output_string($values[$i]['id']) . '"'; if ($default == $values[$i]['id']) { $field .= ' SELECTED'; } $field .= '>' . tep_output_string($values[$i]['text'], array('"' => '"', '\'' => ''', '<' => '<', '>' => '>')) . '</option>'; } $field .= '</select>'; if ($required == true) $field .= TEXT_FIELD_REQUIRED; return $field; }
  3. Hi, I'm new to all this, but I used Products Attribute Sort Order 1.0 http://addons.oscommerce.com/info/1822 with no problems installing it after QTPro was installed, just used winmerge to compare the files etc.
  4. Hi I am new to Oscommerce and have installed QTPro on a new install of oscommerce and also added Attribute Sort, both work great. However I would like to have an option which appears forst in the list which says "Select ..." to inform the customer to select the size. I have done this but the two problem I have is that if I don't add stock to this option it shows "out of stock" beside it, which may put the customer off (I find customers can be easily confused) or if I do put in an arbitrary stock level say "1000" then "out of stock" is removed but it is listed below in the available stock, which its not really stock. Does anyone know a way around this. as I do not want to remove it as customers may not select a size and I could be faced with a lot of returns because it will default to the fist size on the list which is "small". I like the little list of what sizes are available below the Drop down list. But I do not want "out os stock" written beside the "Select ..." option, but I do need "Out of stock" to display on options which really are out of stock. Here is a link so you can see what I mean http://littlebuttons.co.nz/osctest/product...?products_id=29 Thank for any help you can offer.