Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ShaGGy

Pioneers
  • Posts

    111
  • Joined

  • Last visited

Posts posted by ShaGGy

  1. @@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. @@fotogaaf

     

    Roy

     

    Forget about the shopping_cart.php file.

    What ever is going on in your shop has probably nothing to do with the Option Types BS addon.

    Did you change anything on your session or cache settings in your admin?

    I tried to add various products from your shop to the cart and I enter a number and click the cart button but it won't add anything to the shopping cart "unless" i click another product link or go away from the product_info.php page. Same goes for the shopping_cart.php page, I click on the remove all button and nothing happens then I click on any link to go to some other page and if I go back to the shopping_cart.php page the products are all gone.

     

    That is weird behaviour which sure requires some attention otherwise you won't be able to sell anything like that.

    Can you once create a test product without any options and let's see if that one behaves weird too. 

     

    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. @@fotogaaf @@ShaGGy

     

    So I installed this into a local, brand new, today downloaded Edge osC shop and I created various options and added them to a product. I then added that product to the cart and I can update/remove or even add multiple products and remove them all with that Remove All button. So no issue at all here.

    I have no clue what is not working in your guys shops.

    I must admit that this is only tested in a local (XAMPP) environment and not on a real server but I think that shouldn't really matter.

     

    The only thing I can tell you guys right now is to double check your codes inside the application_top.php and if possible go quickly over the install manual and re-check if the code pieces are still there inside all the other files.

    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. @@fotogaaf

     

    Did everything work before?

    I can remove the product from your cart when I click on the X button next to the update button.

     

    What I cannot do in your shopping cart is update the product quantity and remove all items by clicking on the large red button.

     

    I will install this into a clean Edge store and see what the issue is.

     

    My current guess would be something in the application_top.php

     

    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. 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. 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).

  7. 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

  8. 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?

  9. @@ShaGGy  I'm testing the fix now. The problem was that the forms on that page were overlapping, which causes one of them to fail. The tricky part is getting the quantity field to work in both forms without overlapping the forms. This requires using Javascript to copy the field value.

     

    Regards

    Jim

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

  10. The update form seems to have the wrong action attached. I'll fix that. I'll take a look at the products_name field as well.

     

    Thanks for the bug reports.

     

    Regards

    Jim

     

    Hi Jim,

     

    any luck with the qty not updating?

    I have tried fixing it myself but couldnt get it working.

  11. @@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.

  12. @@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?

  13. Hello @@ShaGGy,

     

    I didn't check this in a store, but try to use the same code as for the product URL.

    (without the button code)

    echo tep_button_jquery(IMAGE_BUTTON_WEBPAGE, tep_mobile_link(FILENAME_REDIRECT, 'action=url&goto=' . $product_info['products_url'], 'NONSSL', true, false), 'b', 'button', 'data-inline="true" data-ajax="false" data-icon="info" data-mini="true"');
    

     

    For the header alredy sent error, sometimes it gets fixed just erasing your browsers cache.

     

    regards

    Rainer

     

    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 ?

  14. 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.

  15. 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.

  16. 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 ?

  17. Any ideas why it is not finding the image?

    I have managed to fix all my constant errors but can not see why it is not finding the image it looks like images/ is being put in in place of the actual image name?

     

    Notice: getimagesize() [function.getimagesize]: Read error! in /XXXX/XXXXX/public_html/includes/modules/pdf_datasheet/pd_description.php on line 54

    TCPDF ERROR: [image] Unable to get image: images/

    Fatal error: Call to a member function store() on a non-object in /XXXX/XXXXX/public_html/includes/modules/ultimate_seo_urls5/main/usu5.php on line 78

×
×
  • Create New...