Jump to content
Latest News: (loading..)


  • Content count

  • Joined

  • Last visited

  1. Hi, So on the product info page I've got the main image and then some additional images using the add larger image function. These show as small thumbnails on the product info page. Which file do I have to alter to change the sizes of these? I've had a look and had a google but still can't find it. Am running BS Edge Thanks in advanced!
  2. Hi, Before I install an addon does BS Edge not come with a function to allow customers to submit a testimonials? I see they're gone through the effort of making this through admin etc just doesn't make sense they haven't gone all the way and added a function to let customers submit a testimonial unless I missed it? Thanks in advanced Richard!!
  3. OK thanks for that, I've changed the following code: $products_attributes_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_ATTRIBUTES . " patrib where patrib.products_id='" . (int)$_GET['products_id'] . "' and patrib.options_id = popt.products_options_id and popt.language_id = '" . (int)$languages_id . "'"); to: $products_attributes_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_ATTRIBUTES . " patrib where patrib.products_id='" . (int)$_GET['products_id'] . "' and patrib.options_id = popt.products_options_id and popt.language_id = '" . (int)$languages_id . "' and products_options_id in (1, 2, 3, 4)"); Is that right because I can take out 1,2,3 and it still shows these but if I take out just the 3 on one of my products it removes 2 of my attributes from showing?
  4. Thanks Harald, I got all excited then realised that by limiting it like that it would probably mean that the search function wouldn't work as the product info page would only get A,B,C,D and the search function would need to search for E,F,G,H if that make sense? HOWEVER can we limit the code below to do exactly the same to only show A,B,C,D (while the query would still pull all attributes) <?php echo tep_draw_pull_down_menu('id[' . $products_options_name['products_options_id'] . ']', $products_options_array, $selected_attribute, ''); ?> Thanks bruyndoncx I will take a look at that!
  5. I really do appreciate your suggestions but neither do the search function as well as using the attributes do? I assume by your suggestions that the answer to my question is a big fat NO lol Hmmm I do cause myself a headache don't I! The drop down on the search function can not be changed as it works too well compared to a text box, any ideas how to get this without using product options or am I asking too much?! Can my original question be done if it was a paid job? I realise that you all give advice and time for free so sometimes things are not possible for you to do as such but maybe a paid job it would be possible?
  6. Well my friend wanted a search box with 4 options. So I added 4 attributes with options to each product so now on advanced search all there is, is 4 boxes to search from each attribute, I also hid all the attributes from the product info page as each product only had 1 selection for each option Does this make sense? Now this sorted the search box and function however has made it impossible to add new attributes as they wont show on product info and if they did they would also show on the search page. I have suggested searching by keywords etc but thy want 4 drop down menus with options. The only solution I could come up with was this one with my very limited knowledge!!
  7. Hi, I've adapted the attributes for my needs on a search function however I think this was wrong but I can't go back now as the search function is perfect. does anyone know how to adapt the code below to only show attributes A,B,C and D? Many thanks in advance! <?php $attributes_query = tep_db_query("select * from " . TABLE_PRODUCTS_OPTIONS . " where language_id = '" . (int)$languages_id . "'"); while ($attributes = tep_db_fetch_array($attributes_query)) {?> <div class="form-group"> <label for="dto" class="control-label col-sm-3"><?php echo $attributes["products_options_name"]; ?></label> <?php $option_values_query = tep_db_query('select pv.products_options_values_id as id, pv.products_options_values_name as text from ('. TABLE_PRODUCTS_OPTIONS_VALUES . ' pv, '. TABLE_PRODUCTS_OPTIONS .' po) join ' . TABLE_PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTIONS . ' popv on (pv.products_options_values_id = popv.products_options_values_id) where popv.products_options_id = po.products_options_id and popv.products_options_id =' . $attributes['products_options_id'] . ' and po.language_id ='. (int)$languages_id . ' group by pv.products_options_values_id, products_options_values_name'); $option_values_list = array(); // MySQL5 Fix echo '<div class="col-sm-9">'; $count = 0; $option_values_list[$count] = array('id' => '', 'text' => ''); while ($option_values = tep_db_fetch_array($option_values_query)) { $option_values_list[++$count] = $option_values; } echo tep_draw_pull_down_menu($attributes['products_options_name'], $option_values_list); ?> </div> </div><?php } ?>
  8. Hi, I need to display 2 prices per product so the customer can choose either option but I can not use the attributes for this as I have adapted these for something else. (Which I was warned I would be in this situation by a fellow member!!) Any ideas? Thanks in advance!!
  9. Do you know how to remove the search box in advanced search?

    Finally got this sorted! THANKS TO BURT who on a different unrelated question I asked suggested CSS to hide which I used here too!! So I made the search box have a . in the box already so when searched it searches all products with a . in the description which for me is all of them. I then used the hide style to hide the box and boom I got what I needed!
  10. Burt you bloody legend!!!! I mean I've been at this HOURS and it was a simple case of putting 'style="display: none" :O :O THANK YOU!!
  11. That still produced the same problem, I also tried the code below which produced the same problem, I'll be honest I don't really know what am doing, I've winged most of it so far! <?php echo tep_draw_hidden_field('id[' . $products_options_name['products_options_id'] . $selected_attribute['products_id']['attributes'] ['products_options_id'] .']', 0); ?>
  12. right I see thank you! I will have a crack at that now!
  13. The code below is the code I've been removing but when I do it says the item has been added to the cart but yet hasn't, am I looking at the wrong bit of code? <?php echo $products_options_name['products_options_name'] . ':'; ?></strong><br /><?php echo tep_draw_pull_down_menu('id[' . $products_options_name ['products_options_id'] . ']', $products_options_array, $selected_attribute, 'style="width: 200px;"'); ?><br />
  14. Thanks for the reply, I realise that I'll be in a bind, I do need an attribute to show that isn't part of the search idea but am doing this for a friend and they insist on a page with 4 drop down menus and to select sizes in each, the only way I personally can do this is through attribute search and as such am in this situation. I'll take another look at the product info code thanks
  15. Hi, do you know if its possible to hide the attributes on the product info page but yet still have them attached to products? When I delete the attribute code or part of it from the product info page and add the product to the cart it says product has been successfully added but yet hasn't. Many thanks! The reason for this mod is that I've got a search page to search attributes, all my products only have a single attribute and it doesn't look good with my product attributes so I'd still like for the attributes to be searched but yet not displayed on product info page.