Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

pallebg

Archived
  • Posts

    11
  • Joined

  • Last visited

Posts posted by pallebg

  1. Thanx alot

     

    I just love this contrib, just what i was looking for as my orders are packed oir of house once a week. Now i just need to make a little change, such that the script generates a batch-id for each time I print a batch, and update the orders, such I can reprint if needed.

     

    osCommerce is probly the best sjoppinmh system i've seen until now.

     

    Best regards

    Palle

  2. well, somewhere you have the statement:

     

    $reorder_result = tep_reorder($_GET['order_id']);

     

    probably in account history info.

     

    if not all items are added, the function will return that and the cause so $reorder_result should have that info.

    simply add this after the statement above:

     

    echo $reorder_result;

     

    and it should show on the screen why certain items were not added.

     

    Got into the code now, to see if I could find the $reorder_result, but nowhere to be found. But in the general.php file, i found a $result that could be echoed, and the print was that there was no stock available. I dont know if i got an old version of the contrib, but the part of the code above, where if asks for if checkout is allowed, is not available in this part of the code. But else it looks quite similar.

    What I have done, is just to comment out, where it checks for available stock, just letting it insert no matter what, and NOW IT WORKS !! Yahooooo.

     

    Thanx for the inspiration and answers.

     

    Best regards

    Palle

  3. Well, from the beginning then ;o)

    As I still havent made any changes to the affected php files for "Order re-order" I copied them in according to the directory structure in the contribution.

    I call the function from where it then is standard implemented, that is in acount_history_info.php.

    I started copying on order, everything was ok. It was a short order with just 3 items, each with a purchase quatity of 1 item.

    And btw. I have allowed checkout without stock available.

    Next was trying a larger order with 27 items, and one of the items had been bought with a quatity of 3, and that item wasn't copied. Did some more investigation, and at the end tried an order with:

    Line 1 2x item

    Line 2 3x another item

    Line 3 4x a third item.

    checked the order out, went to my account again, and tried to re-order that last order, but absolutely nothing was copied to the cart.

     

    So my theory is, that there must be something in the code to prevent copying lines where the number of bought items are different from 1. Could it be like there is a check to see if the item beeing copied are checked agains the standard quatity on the product?

     

    Best regards

    Palle

     

    Sorry, but I am not a code wizard, so it is a little difficult for me.

  4. if products from a previous order are not re-entered in the shopping cart then the function will advice you as to why. That may be changed attributes, not enough stock.

     

    Just testet again, created an order with 3 item, quatity 2, 3 and 4 of each, and when reordering, nothing is put in the cart at all. So the conclusion as I see it: If quantity > 1, nothing is transferred to cart.

     

    It would be nice if someone had solved this problem.

     

    Best regards

    Palle

  5. Hi folks

     

    Dont know if this has been solved.

    I have just installed the contribution, Order Re-Order, i've really missed having this feature.

     

    My problem is, that when I reorder, it seems that all item-lines from the old order, where the quantity is > 1, are not copied. Anyone solved this problem?

     

    Best regards

     

    Palle

  6. Hi all.

     

    I have just installed this much missed contribution, but I do have some questions/problems.

    When I reorder an order, not all the items comes over. It seems like it is all the items where original order number of items are <> 1.

×
×
  • Create New...