Latest News: (loading..)

pixelhub

Members
  • Content count

    76
  • Joined

  • Last visited

1 Follower

About pixelhub

Profile Information

  • Real Name
    p
  • Gender
    Not Telling
  1. i have installed this contribution into a store with QTPro and Recover Cart Sales in catalog/checkout_payment.php the right column is displayed below the "Continue Checkout Procedure" to the left. this only occurs on this page when i add the contribution. when i click continue to go to catalog/checkout_confirmation.php i get the error Parse error: syntax error, unexpected $end in checkout_confirmation.php on line 430 i have intalled the contribution twice with and without the bug fixes but i get the same results can any one help with this cheers Craig
  2. if any one has managed to do this could you please let us know. i have been trying to do this but i am getting nowhere. cheers Craig
  3. Can you post the solution please. Cheers Craig
  4. <?php echo tep_draw_form('search', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get') . tep_draw_hidden_field('search_in_description','1') . tep_draw_input_field('keywords', '', 'maxlength="30" style="width:100px"') . ' ' . tep_draw_pull_down_menu('categories_id', tep_get_categories(array(array('id' => '', 'text' => BOX_ALL_CATEGORIES)))) . '' . tep_hide_session_id() . '<input type="submit" name="Submit" value="Go">' . tep_draw_hidden_field('inc_subcat', '1', true) . '</form>'; ?> This will search sub categories. i just added a hidden field that acts like the checkbox on the advanced search page. hope this helps someone. ========= I have a question. is it posible to just show the main categories on not the sub categories in the drop down menu? Cheers Craig
  5. This is what i have been after for ages. like says "DCP" said how can you add Sub Categories to the search Thanks Craig
  6. it ok i have it. i just added $sts->start_capture(); echo '<a href=shopping_cart.php>view cart</a> (' . $cart->count_contents(). ')' . $currencies->format($cart->show_total()); $sts->stop_capture('simple_cart'); to sts_user_code.php and used the placment name $simple_cart in the future i will read the instructions before asking a question :blush: cheers Craig
  7. hi, how can i get this code to work in STS <?php echo '<a href=shopping_cart.php>view cart</a> (' . $cart->count_contents(). ')' . $currencies->format($cart->show_total()); ?> it displays the cart content like this "View Cart(0) $0.00" it works fine when i add it to an original osc php file but when i try to use it in a template i get this error "Fatal error: Call to a member function on a non-object in /home/pixelhub/public_html/includes/sts_templates/test/sts_template.php on line 48 " can any one help me with this Cheers Craig
  8. thanks for the reply Sean, i will give that a go. i have been ameing my option names with numbers in front of them like: 1. Size 2. Colour 3. Type which is easy, but your solution looks better :) Is it possible to have the options going horizontally for example: Size: ________ Colour: ________ Type: ________ Thanks Craig
  9. is it posible to add somthing like this <input type="text" name="custom" OnKeyUp="quantity.value = this.value.length"><br> <input type="hidden" name="price" value=".60"> <INPUT TYPE="TEXT" SIZE="2" NAME="quantity" VALUE=""> @ 0.60 i would like to count the letters that are typed and give each letter a value for example: 0.60 per letter so if a five letter word was typed in it would add 3.00 to the basket.
  10. i installed "Product Attrib Sort v1.2" --/catalog/product_info.php-- FIND: $products_options_query = tep_db_query("select pov.products_options_values_id, pov.products_options_values_name, pa.options_values_price, pa.price_prefix from " . TABLE_PRODUCTS_ATTRIBUTES . " pa, " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov where pa.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pa.options_id = '" . (int)$products_options_name['products_options_id'] . "' and pa.options_values_id = pov.products_options_values_id and pov.language_id = '" . (int)$languages_id . "'"); REPLACE WITH: $products_options_query = tep_db_query("select pov.products_options_values_id, pov.products_options_values_name, pa.options_values_price, pa.price_prefix from " . TABLE_PRODUCTS_ATTRIBUTES . " pa, " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov where pa.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pa.options_id = '" . (int)$products_options_name['products_options_id'] . "' and pa.options_values_id = pov.products_options_values_id and pov.language_id = '" . (int)$languages_id . "' order by pa.attribute_sort"); but attributes sets uses order by pa.sort_order i tried adding it order by pa.attribute_sort, order by pa.sort_order"); but i that does not work. Thanks Craig
  11. I have tried Attributes Sort but i can not get it to work with attributes sets. Can any one help Cheers Craig
  12. :-" I mean, I want it to display Size: Colour: Type:
  13. how can you sort the Attribute Sets at the moment onmy site it displays the atributes in alphabetical order depending on the option name. Colour: Size: Type: I want it to display Colour: Size: Type: How is this done? Thanks Craig
  14. Is it posible to set the Atributes (select options) so the is a description between them example: Text about this option, blah blah blah.. ________________ |_____________|_| Text about option 2, blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah ________________ |_____________|_| Hope you get what i mean, Thanks Craig
  15. :D Thanks, that worked a treat. :thumbsup: