JerseyG Posted January 16, 2013 Share Posted January 16, 2013 (edited) Back Office Manual Order V 1.5.2 (upgrade) Can someone check this out for me please and see if this is a common fault. If I enter an order manually then as the list of items builds I do not have a window to show quantity. Also how do you delete a line if entered incorrectly? Regards G Edited January 30, 2013 by JerseyG (see edit history) Link to comment Share on other sites More sharing options...
devilsown Posted January 16, 2013 Share Posted January 16, 2013 I can't even get it to add the item to the cart and i have quanity instock i have even tried it with require inventory turned off. jerseyg i would guess to say its a new feature and there are many bugs in it so far. Link to comment Share on other sites More sharing options...
sgtbash Posted January 23, 2013 Share Posted January 23, 2013 Hey Guys, I'm having this problem too... It brings the product up but then with a zero next to it... in the following page it shows the price being in place of the, so maybe there is some functionality issues.. =( http://www.inmotionh...rs/create-order Link to comment Share on other sites More sharing options...
sgtbash Posted January 24, 2013 Share Posted January 24, 2013 Ok so I have just done a little testing and installed a fresh 1.5.3.1 install - and this feature works perfectly.... So I'm wondering what has not been updated properly since my upgrade that stops this feature from working =( Anyone know which files this feature uses? Link to comment Share on other sites More sharing options...
sgtbash Posted January 24, 2013 Share Posted January 24, 2013 OK quick update: (Not fixed though I'm afraid) I checked consistency in two files that I could see that were involved (I think) in the 'New Order' feature. Controllers > AdminOrdersController.php [Admin] > Themes > Default > Template > Controllers > Orders > form.tpl And both my version on the updated PS and the version from the newly downloaded 1.5.3.1 from PS website are identical - no problem there. I had a quick look in the files to see if I could fathom what was searching and what was failing with no avail. Checked my databases on both servers in the ps_product and checked them for consistancies also and there is a difference: In my old, updated database (where the feature does not work) the database runs down through the fields until field 5. then the Newly downloaded and installed version has "id_tax_rules_group" and the non working server has "on_sale" and the tax rules related one is right at the bottom as field 46. Could an database field ordering problem cause this? I would have thought it would be querying the DB based on field name and not field reference/numerical position - but I dont know. If anyone can shed some light on this, that would be great! Thanks Dan Link to comment Share on other sites More sharing options...
waynemiller Posted January 30, 2013 Share Posted January 30, 2013 (edited) Im having the same issue. I have no quantity showing, I have no arrows to adjust the quantity and I have no little bin. Im using 1.5.2.0 This is how mine looks: But apparently It should look like this: Edited January 30, 2013 by waynemiller (see edit history) Link to comment Share on other sites More sharing options...
JerseyG Posted January 30, 2013 Author Share Posted January 30, 2013 (edited) Hi wayne I think sgtbash has got the cause of the probem by saying it is the database. I do my upgrades the manual way, so the files should be the same as a new install. I believe that upgrades are not creating the new entries whereas a new installation is. What I would like to see is tool or list of queries that I can run on my database to check if all my fields as correct. Until then I think that upgrades between v 1.4.* and v 1.5.* are never going to happen without errors. G Edited January 30, 2013 by JerseyG (see edit history) Link to comment Share on other sites More sharing options...
waynemiller Posted January 30, 2013 Share Posted January 30, 2013 Hi G, I didn't complete an upgrade. I completed a fresh install Link to comment Share on other sites More sharing options...
JerseyG Posted January 30, 2013 Author Share Posted January 30, 2013 Hi Wayne Well that kills that hope... my faith takes a further hit. where did the good sample come from? G Link to comment Share on other sites More sharing options...
waynemiller Posted January 30, 2013 Share Posted January 30, 2013 (edited) If its an issue with the database then why do I also have an issue with seeing the quantity adjustment arrows and the delete button(bin)? the good sample is an image which I took from the url that was posted above Edited January 30, 2013 by waynemiller (see edit history) Link to comment Share on other sites More sharing options...
bside2234 Posted January 30, 2013 Share Posted January 30, 2013 Try this: Replace in the file classes/Cart.php: $sql->select('0 AS customization_quantity, 0 AS id_customization'); with: $sql->select('NULL AS customization_quantity, NULL AS id_customization'); 3 Link to comment Share on other sites More sharing options...
JerseyG Posted January 30, 2013 Author Share Posted January 30, 2013 Hi bside2234 Again I see you are the best. The change in the cart.php works for me. Thanks G Link to comment Share on other sites More sharing options...
waynemiller Posted January 30, 2013 Share Posted January 30, 2013 BSIDE2234 Your a star! Thank you very much, worked for me. I have been struggling for weeks without this functionality. You do not know how happy I am right now. Wayne Link to comment Share on other sites More sharing options...
bside2234 Posted January 30, 2013 Share Posted January 30, 2013 Glad I could help out! Link to comment Share on other sites More sharing options...
benjamin utterback Posted January 30, 2013 Share Posted January 30, 2013 On 1/30/2013 at 4:11 PM, waynemiller said: Hi G, I didn't complete an upgrade. I completed a fresh install This was a fresh install of 1.5.2? The cart.php has been updated in more recent versions to solve this issue. 1 Link to comment Share on other sites More sharing options...
waynemiller Posted January 30, 2013 Share Posted January 30, 2013 Yes Benjamin, it was a fresh install of 1.5.2.0 Link to comment Share on other sites More sharing options...
hipeq Posted February 14, 2013 Share Posted February 14, 2013 I have a similar issue except I can not even add a product.. Please see attached... Link to comment Share on other sites More sharing options...
devilsown Posted February 15, 2013 Share Posted February 15, 2013 make sure that you turn on errors, might be an issue with your shipping moduals. Link to comment Share on other sites More sharing options...
hipeq Posted February 15, 2013 Share Posted February 15, 2013 I will do that.... here is additional information.. I used a fresh new database from Prestashop 1.5 install and there were no issues with making new orders from back office. So it looks to me like there are some fields missing in the database, or some conflicts.... Any thoughts? Link to comment Share on other sites More sharing options...
hipeq Posted February 15, 2013 Share Posted February 15, 2013 Here is the solution I have found: delete ps_tab and ps_tab_lang and replace them with tables from Prestashop 1.5 fresh install database.. that fixed it... Link to comment Share on other sites More sharing options...
Recommended Posts