Jump to content

ShaGGy

Members
  • Content count

    111
  • Joined

  • Last visited

Everything posted by ShaGGy

  1. ShaGGy

    [Contribution] Option Types v2

    @@Tsimi in addition to my post above I have just noticed if I adjust qty up or down it updates and if i set qty to zero it removes it which is working using the product_id only. If I use the remove item on the line it then includes the {XX} after the products_id example = shopping_cart.php?products_id=29{txt_6}&action=remove_product I think the remove function in application top needs modifying to allow for the {XX} for item that have attributes? Apart from this the addon appears to be working fine.
  2. ShaGGy

    [Contribution] Option Types v2

    I tried his also with same results on @@fotogaaf site if you add two items then remove one the one disapears but then when you remove the remaining one the first reappears :) this appears to be installed incorrectly somewhere.
  3. ShaGGy

    [Contribution] Option Types v2

    Remove all works fine on mine. I only have issue with any item that has an attribute attached to it (does not need to have attribute added to it in cart just the item has a attribute assigned in admin) If it had No attributes it will update qty and remove as it should. If it has a attribute it will update qty but will not remove. I noticed that the remover url contains contains products_id=xx{xx} and does not work but items that have no attributes use url products_id=xx (it appears it has something to do with the {xx} part? Also tried removing {xx} from basket in database but it still inserted it so it appears to be getting the url from the session?
  4. ShaGGy

    [Contribution] Option Types v2

    Keep in mind the new edge no longer supports filenames.php and the shopping_cart.php is now stripped out and you need to install the module for shopping cart http://addons.oscommerce.com/info/9466 My installl is the newest edge release.
  5. ShaGGy

    [Contribution] Option Types v2

    Having a small issue with the cart when updating qty or removing it appears that the remove function is trying to remove or update the url it is trying to process is shopping_cart.php?products_id=29{txt_6}testing&action=remove_product this only happens where (i have only used text part) their is a attribute attached to the item If I add an item to the cart that does not have any attribute the remove button works and I think it is related to the ... {txt_6}testing ... it adds in the url (and session) any suggestions?
  6. ShaGGy

    [Contribution] Option Types v2

    Just tried it in Edge and works fine
  7. ShaGGy

    Modular Shopping Cart

    Not sure if this is a change in EDGE since you released this or not but there appears to ne filenames.php file in the new edge i downloaded from github and none of the files included in the package refer to FILENAME_XXX as they have always done in OSC. Is this an oversight on your part or has whoever updated the new EDGE to no longer use filenames.php (which it appears to be the case).
  8. can anyone tell me how i can add a parameter to the Orders In-Progress list What I mean is the Orders In-Progress stores the customer date time firstname lastname and total I would also like to store another field from the customers table along with the above so when selected from the list this variable is included. (I am in the progress of getting SPPC with QTY price breaks working) and have it mostly working (in a hacked way) thanks in advance
  9. ShaGGy

    Seperate Pricing Per Customer v3.5

    where is $cd_id set ? I have 5 groups and the default $cg_id is 0 I want to change this to another number as default so when a customer is not logged in they see the default group i set as default. I have tried function get_customer_group_id() { if (isset($_SESSION['sppc_customer_group_id']) && $_SESSION['sppc_customer_group_id'] != '0') { $_cg_id = $_SESSION['sppc_customer_group_id']; } else { $_cg_id = 5; } return $_cg_id; } in both PriceFormatterStore.php and PricFormatter.php but this does not appear to have any affect?
  10. ShaGGy

    [Addon] Shopping List

    Yes that was what i was confused about there seemed to be two things doing the same :)
  11. ShaGGy

    [Addon] Shopping List

    Hi Jim, any luck with the qty not updating? I have tried fixing it myself but couldnt get it working.
  12. ShaGGy

    [Addon] Shopping List

    @@kymation Jim Nice module but think i have found a bug? if you update qty in the shopping list it does not appear to update the table (if I manually alter the qty in the table it reads the correct qty) just the update does not appear to do anything, also the products_name is not being populated in the shopping_lists_products table.
  13. thanks @@raiwa tried || substr(basename($PHP_SELF), 0, 6) == 'search' but seems to ignore it ? but if i disable ajax (for all mobile site) in the admin it then works? is the line above correct.
  14. @@raiwa Is there a way to stop the caching ? The reason is I have modified the search.php to auto focus on the search box (which then pops up the keypad automatically on a mobile) but the focus does not work unless you refresh the page. The code I am using is <script> $(document).ready(function(){ $('#keywords').focus(); }) </script> I have tried various variations to get the focus to work but in all cases it will only focus after a refresh. Any suggestions on how to get this to work with the need to refresh?
  15. Jus to add general.php line is header('Location: ' . $url); header.php is <meta charset="<?php echo ((CHARSET == 'utf-8')? CHARSET : MOBILE_CHARSET); ?>" />
  16. tried your suggestion but no joy :( I have created a new file called products2.php and changed advanced_search_results.php to point to this instead of products.php my new file is <?php $prod_query = tep_db_query("select products_id, products_model, products_barcode from " . TABLE_PRODUCTS . " where (products_barcode like '%" . tep_db_input($keyword) . "%' or products_model like '%" . tep_db_input($keyword) . "%' )"); while ($listing = tep_db_fetch_array($prod_query)) ////// test for outputs ////// //$test1 = tep_mobile_link('product_info.php?products_id=' . $listing['products_id'], '', 'NONSSL'); // path displays correctly //echo $test1. '<br><br>'; //tep_redirect('product_info.php?products_id=' . $listing['products_id'], '', 'NONSSL'); // headers already sent error $site = ('http://www.mysite.com/showroom/product_info.php?products_id=' . $listing['products_id']); $test2 = tep_mobile_link(FILENAME_REDIRECT, 'action=url&goto=' . $site, 'NONSSL', true, false); // path displays correctly echo $test2 . '<br><br>'; tep_redirect(FILENAME_REDIRECT, 'action=url&goto=' . $site, 'NONSSL', true, false); // headers already sent error ?> the error is Warning: Cannot modify header information - headers already sent by (output started at /xxx/xxx/public_html/showroom/includes/header.php:3) in /xxx/xxx/public_html/includes/functions/general.php on line 52 any ideas how to fix this ?
  17. Can anyone think of a way of passing search result straight through to product_info.php I have modified search to auto focus on search box so I scan a barcode, and as the barcode is unique only one result is found. in products.php i have tried tep_redirect with the value tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $listing['products_id']) but this give error Warning: Cannot modify header information - headers already sent by (output started at /xxx/xxx/public_html/showroom/includes/header.php:3) in /xxx/xxxx/public_html/includes/functions/general.php on line 52 I have checked for white spaces but this does not seem to be the issue. If you can point me on how to get the single result from search to open the product_info page for the single result would be a great help. Thanks BTW Rainer (raiwa) V7 is excellent, massive improvement on earlier versions.
  18. Looking for a bit of help with this add on Multi Vendor Feed Manager Importer I have got it installed and it is downloading the file from the FTP and placing it within the feeds dir but then I get an error Warning: Invalid argument supplied for foreach() in /home/xxxxxxxx/public_html/feed_import.php on line 118 DONE ::Row Count:: 0 ::Redirects:: 0 But line 118 in feed_import.php is a blank line ? any suggestions as I really could do with getting this add on working. thanks for any help in advance.
  19. Its okay schoolboy error I had edited the addproducts to submit model number instead of PID so it could not link the two together. :) Anyone got the cron to work? I get a blank response from the cron <html> <head></head> <body> </body> </html> 0K ???
  20. Has anyone got the Update all Quantity button to work? When I try this button it makes no changes to quantity either on sandbox or on the site (but if I use the change quantity button on each item they work) If i print the request & responses it lists the correct item numbers and quantity but does not make any changes? Also the cron does nothing but I see this uses the same 'updateebayquantityall' action as the button does so this would explain why the cron does nothing.
  21. ShaGGy

    osCommerce VTS

    Yeah geoff done that it appears to be working if i use the Grep function and search for a string in a specified folder it finds the files but when I run a full scan the page just continuously loads displaying Loaded 300 virus definitions Loaded 64 files definitions Loaded 687 valid file name what out put should be showing after it has loaded in the def files ?
  22. ShaGGy

    osCommerce VTS

    Geoff Installed all okay but when I run I get Loaded 300 virus definitions and nothing else Browser just stays loading the page, Am i missing something?
  23. Thanks, managed to get it working I was editing the wrong part of mobile_catalogue.php.
  24. raiwa I have been trying to get empty categories to not show but am having issues working out how to do it do you have and clues on how/if it does a count of products and if =0 not to add the empty categorie to the array? Thanks for any help in advance.
  25. Anyone know how to hide empty categories? I have this working on main site but cannot see where/how to do it in IOSC
×