Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Buesi

Members
  • Content count

    23
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Pandora
  • Website
  1. Great! Thanks for that - I hadn't realised that the contribution would take care of so much in the frontend that you can leave the allow checkout setting at "true". This really is a good contribution!
  2. When I add the stock levels for a product and say 3 attributes have zero and 1 attribute has 1 item in stock, when I go back to the product it has suddenly been turned to inactive! What can I do so that the product remains active even if only 1 item is left? Thanks!
  3. it seems this contrib isn't very popular as there's not much support available. If I can't get it to work properly I might have to uninstall it, install QTPro and update the whole thing.... hours of work :( What's happening is: - the product quantity is being updated after an order but the attribute quantity remains unchanged. So now after every order you have to go into the product and update the attribute quantity manually, which sort of defeats the purpose. Does anyone have this working properly? I think it's got something to do with the checkout_process.php file but my php skills just aren't up to finding out what the solution is... Thanks for any help!
  4. I think I'm going crazy and it's definitely time to get out and have some fresh air! It's all working fine now.... I'm sorry about bombarding this thread but perhaps some of it will help someone else in the future not to make the same mistakes as me :blush: feeling silly, I sign off for today
  5. sorry about this, but I'm at my wits' end.... Naturally my previous posting about general.php is wrong and first bit of code is correct because it's testing the result of stock minus product quantity... Now I'm completely lost and don't know how to fix my problem - is this contrib functioning properly for you? Help :(
  6. Found it - how strange, it actually had nothing to do with the contribution and it's something that's never happened to me before :blink: In includes/functions/general.php it read: if ($stock_left < 0) { $out_of_stock = '<span class="markProductOutOfStock">' . STOCK_MARK_PRODUCT_OUT_OF_STOCK . '</span>'; } instead of if ($stock_left < 1) { $out_of_stock = '<span class="markProductOutOfStock">' . STOCK_MARK_PRODUCT_OUT_OF_STOCK . '</span>'; } I've no idea how that could have happened but I'm glad it had nothing to do with the contrib. cos it's very practical. :thumbsup:
  7. Update to my previous posting: when product quantity is zero, there is no out of stock warning when I want to order 1 of that product but when I want to order 2 of that product, I get the out of stock warning. So, it seems to me that somewhere there is something wrong with calling or assigning to an array - i.e. 0 is being looked as 1, 1 as 2 etc... Now, to find out where! Has this happened to anyone else?
  8. Hi thanks for that but it doesn't seem to have helped because when I click "back" the attribute list disappears and the product quantity is empty :( - perhaps because of the other tweak I made. I just won't use the "back" link! I'm now having another major problem and I think it's due to this contrib - I have allow checkout when out of stock set to false. But even when a product is out of stock, I can still go to checkout. furthermore, the products don't get the little *** out of stock sign. Also when I order the last unit of a product, it gets deactivated in the system instead of getting that little *** sign - which would be more desirable. Does the stock work properly for you? Anyone have any ideas what the problem might be - This is driving me crazy! :angry:
  9. I don't know if you're still having the same problem but it was happening to me today and, after a frustrating few hours :angry: I found how to stop the products_quantity being reset when you update the product info: file: admin/categories.php find: $sql_data_array = array('products_quantity' => tep_db_prepare_input($HTTP_POST_VARS['products_quantity']), 'products_model' => tep_db_prepare_input($HTTP_POST_VARS['products_model']), and comment out the products_quantity bit: $sql_data_array = array(//'products_quantity' => tep_db_prepare_input($HTTP_POST_VARS['products_quantity']), 'products_model' => tep_db_prepare_input($HTTP_POST_VARS['products_model']), it doesn't work when you hit the back button after doing a preview because then somehow the whole product attribute bit disappears (aaargh) so I guess just don't hit the back button! Seems to be working so far but I've still got a bunch of testing to do - hope it helps!
  10. Are you looking to sort the attribute values by their id or alphabetically? I spent ages looking for this too and found that the solution lies in product_info.php (around line 133 in my file): replace $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 . "'"); 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 products_options_values_id"); That orders the values by id, to order them by name simply change the last bit to products_options_values_name and if you use STS then in sts_product_info.php do the same as above (around line 65 in my file) Hope that helps!
  11. Are you looking to sort the attribute values by their id or alphabetically? I spent ages looking for this too and found that the solution lies in product_info.php (around line 133 in my file): replace $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 . "'"); 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 products_options_values_id"); That orders the values by id, to order them by name simply change the last bit to products_options_values_name and if you use STS then in sts_product_info.php do the same as above (around line 65 in my file) Hope that helps!
  12. Buesi

    Active Countries

    I was having the same problem and that fixed it but now when I double click on a tax zone I get this error: Have I missed something? thanx (BTW - great contribution :thumbsup: )
  13. Buesi

    Official PayPal IPN Support Thread

    I've used this one in the past and it works fine because it just adds to the order total and so I don't think it will interfere with this contrib: http://www.oscommerce.com/community/contri...arch,payPal+fee (PayPal Fee by Marco Falcini - MARCUS) However, I still think it's best to add the fee to the price of the actual product, I think it's less off-putting for customers. :)
  14. Buesi

    Official PayPal IPN Support Thread

    I know this is quite some time back, but I just encountered the same problem with the "Must Agree to Terms" contrib. I've worked out that the problem was the code "disabled javascript fix" added to checkout_process.php - this was sending the browser back to checkout_confirmation.php because it wasn't receiving "agreed=true" from PayPal. So, just either comment out or remove these lines from checkout_process.php if you've previously added the javascript disabled fix: // BEGIN OF MUST AGREE TO TERMS - JAVASCRIPT DISABLED FIX - By Phliplip // if(empty($HTTP_POST_VARS['agree'])) { // include(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CHECKOUT_PROCESS); // tep_redirect(tep_href_link(FILENAME_CHECKOUT_CONFIRMATION, 'terms_not_agreed='.urlencode(CONDITION_AGREEMENT_ERROR), 'SSL')); // } // END OF MUST AGREE TO TERMS - JAVASCRIPT DISABLED FIX - By Phliplip After that use the Auto Return URL that this contribution recommends - ie: checkout_process.php - and everything works fine! :thumbsup:
  15. I have the newest STS and the newest Ultimate SEO installed and links work fine up until the product page which just appears empty.... http://www.rhinestoneclothing.co.uk/womens...irts-c-1_7.html (site in dev) and then click on the product. I added the fix to sts_display_output from May 2005 but makes no difference. I'd be very grateful for any help in solving this :) Thanks a lot in advance!
×