Jump to content

is there a bug in admin/orders/orderbuilder.php? productid updated to


Guest mrdave

Recommended Posts

hi,

im not sure if ive broken something, but when i update existing orders orderbuilder/add a new product or apply a discount or something in orderbuilder, the productid in order_inv table in the database is updated to the value of '0'. so when you come to print it out, there is no text for the product details, just numbers. i seem to have had this problem ever since being on version 4 so im not sure if its me or the orderbuilder.php file not updating order edits correctly

the productid is present in order_sum, just appears to dissapear from the order_inv table, if i manually update the order_inv table with the right productid corrects the error.

i had a look for where this might be posted to from orderbuilder.php and cant find it, it is as though the productid is not resent in the update, which might explain the problem..

does anyone else have this issue, is it a bug, how do i fix it or have i messed something up..

run this in your database, if you get results, then we have a problem, this messes up reporting and allsorts of important stuff.

SELECT * FROM `CubeCart_order_inv` where `productId`='0'

merry christmas

mrdave

Link to comment
Share on other sites

  • 4 weeks later...

Yes it appears to be a bug. I have raised the issue in the bug tracker here: http://bugs.cubecart.com/view.php?id=1698

I have received no response yet. But I have fixed it myself in the .js file.

Adam

This isnt really a bug as this is designed to allow anything to be put into the product fields which does make it flexible but also pretty unusable for most people because there is no lookup or validation done on the product details entered.

Link to comment
Share on other sites

Guest Brivtech

Actually, it's neither a bug nor deliverate, it was a section where the programming was never completed. lus side it allows customisation on manual order entry, downside, manual orders can't work with stock control. I remember hearing that the manual functionality would be retained, but also with the stock control added.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...