i.ahmed Posted October 3, 2014 Share Posted October 3, 2014 I have an item with quantity 5. I can create orders fine, taking it from processing to complete. Admin > Orders > Create Order Revisiting the item, the stock is still on 5, does creating orders manually not affect stock? Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted October 3, 2014 Share Posted October 3, 2014 What version are you on? As far as I know 5.2.13 does correctly change inventory on a created order when I change it from processing to complete (after they pay via PP invoice ). Quote Link to comment Share on other sites More sharing options...
i.ahmed Posted October 3, 2014 Author Share Posted October 3, 2014 I'm on Cubecart 5.2.13. I created an order to my own test account, changed it from processing to complete, still showing as 5. *update* When creating an order I did it again by creating it as Pending first, then changed it to Processing, and stock has decreased. As stock is set to reduce when changed to processing, i'm guessing since i created the order as processing default, it didn't run the command to reduce stock, Thanks for replying as it made me look into the order creation again. Quote Link to comment Share on other sites More sharing options...
i.ahmed Posted October 6, 2014 Author Share Posted October 6, 2014 On manual create order when adding a discount, the discount is successully applied but the field value resets. Example adding a discount of 50% will affect the total sum, but when printing the order, the discount is reset to 0 as is the field. Is that how its intended to work or is there a fix? Cheers Quote Link to comment Share on other sites More sharing options...
bsmither Posted October 6, 2014 Share Posted October 6, 2014 "the field value resets" and "when printing the order, the discount is reset to 0 as is the field" I assume the sequence of steps is that you have entered 50 and chose Percentage Discount from the selector. Then clicked Save and Reload. When looking at the Inventory tab, the value is zero? Does this behave the same if you once again enter 50 and choose Percentage Discount, and Save and Reload? If you can, use a database utility such as phpMyAdmin and look at the CubeCart_order_summary table directly. For this order, is there a value in the discount column? Quote Link to comment Share on other sites More sharing options...
i.ahmed Posted October 7, 2014 Author Share Posted October 7, 2014 Save and Reload does apply the discount whether it be fixed or percentage, but doesn't seem to be writing the discount value to the field. Here is a screenshot from phpmyadmin Sub total = £14.99 Discount = 100% but showing as 0.00 Total = £0.00 (correct as 100% discount was applied) Quote Link to comment Share on other sites More sharing options...
bsmither Posted October 7, 2014 Share Posted October 7, 2014 Have you verified that you can adjust the discount amount on the second (or later) viewing and saving of this Order Summary? Hint: When editing this existing order, choose a discount that does not make the total zero. My point is to differentiate between adding a new Order versus updating an existing order. Quote Link to comment Share on other sites More sharing options...
i.ahmed Posted October 7, 2014 Author Share Posted October 7, 2014 I have updated existing order, no luck. Quote Link to comment Share on other sites More sharing options...
bsmither Posted October 9, 2014 Share Posted October 9, 2014 If this hasn't resolved itself, I would like to investigate. I'll send you a PM. Quote Link to comment Share on other sites More sharing options...
bsmither Posted October 10, 2014 Share Posted October 10, 2014 Conducting experiments on i.ahmed's installation revealed Noodleman's "Customer Rewards" plugin interferes with the admin's ability to manually set an order's discount. Quote Link to comment Share on other sites More sharing options...
i.ahmed Posted October 10, 2014 Author Share Posted October 10, 2014 Noodleman has said he will further enhance the plugin. He will create an internal ticket to have this improved in the next release and is looking to release it soon. Would recommend his products, great service. Thanks bsmither for taking the time out to help Quote Link to comment Share on other sites More sharing options...
Noodleman Posted October 18, 2014 Share Posted October 18, 2014 Hi Guys, thanks for pointing out this issue, I am working on fixing it at the moment and will publish a new version of the plugin next week. Quote Link to comment Share on other sites More sharing options...
Noodleman Posted November 1, 2014 Share Posted November 1, 2014 This is solved, it turned out to be an issue with the install of the plugin. One of the custom hooks was in the wrong place. All good now Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.