ISSUE:
First time after adding the product to the cart and confirm purchase, we can see the order pending, in the LIST ORDER.
immediately on doing the above process for the second time and confirming the purchase, New order is replacing the previous pending order in the ORDER LIST.
On doing the above again, we see only the last generated order as pending and the previous ones are vanished.
Only if we provide a 90 seconds gap between two purchases, we see both the records in the order list as pending.
Kindly advice.
VirtueMart has a feature to delete "pending" orders. To disable this, follow the below steps.
Open - administrator/components/com_virtuemart/virtuemart.cfg
Scroll down to the bottom of the file and add the following line at the very end -
reuseorders=0
Related
is it possible to change the whole order status system so that when a customer buys the order first get set on pending, then when a staff aproved it it goes to in progress and if not approved it refunds the money and deletes the order?
Thanks
I search online but didnĀ“t found what i needed.
It already exists, you may choose not to fulfill automatically an order when it's placed. For that, go to settings page, then checkout tabs and check what's on the image:
Not fulfilled = pending.
I am using Square SDK for dotnet and I am creating an order and then creating invoice and then updating the same order. I am using same api key, same customer and same location for all these operations but it is breaking at update call giving following error.
Category: "AUTHENTICATION_ERROR"
Code: "FORBIDDEN"
Detail: "LineItems cannot be modified for orders owned by another application."
Field: "order.line_items"
The error should be better, but essentially once you actually create the invoice, you can't edit the line items that would affect the amount. Per the documentation:
Updating an order. You cannot update order fields (such as line items, taxes, and discounts) that change the order amount. To update these order fields, you must cancel the invoice, which also cancels the order (sets the order status to CANCELED). You then create a new order and a new invoice. You can update order fields that do not change the order amount.
I am new to MSSQL and creating a website where Customers can place orders.
Each order may have multiple items with any number of quantity.
I am interested in before saving my order to check if the desired quantity is available for each item, if yes then I will place the order and update the items inventory, otherwise I want to rollback.
But at the same time I want that any other order should wait till first transaction is finished. So that up updates don't overwrite the changes and produce inconsistency.
If each order is processed within a transaction, is it enough or do I have to consider something else too?
If you go on any Online retail website, you will notice that you go through the shop, buying stuff (not actually buying but being added to a basket) and once you have completed your shopping you go to Checkout that is, where you are asked to provide payment details etc.
So the idea is, the website shows everything (that has at least 1 stock item) to every customer, At this point no item inventory is being updated or inserted, at the checkout stage a complete order is compiled and submitted to system, (at this stage you will do the actual updates/inserts to item stock inventory) now how you want to handle the orders is entirely up to you.
Do you want to rollback entire order when any one item has less stock than
the quantity ordered?
Do you want to commit all order lines and only rollback those order lines where the items has less stock than quantity ordered?
Or do you want to place a provisional
order regardless of the stock availability and manipulate the delivery date?
Depending on what path you chose to go with (this should be a business decision a developer shouldn't be making these decisions) there is a lot of flexibility, but one thing you never do is as soon as someone has select to buy an item, you update the inventory. All this should be done right in the end of the Purchase process and all should be done at Once.
The products list is dynamically generated while running purchase request. While change the cost or qty it shows the following error, What need to do to modify the record?
Finally I fond the answer for it. I made one of the required field(UOM) in order line. So that only this happens.
I need a JQL filter that matches what's in the backlog, and have the same order as the backlog.
My product owner and I ordered all the backlog, and I need my filter to reflect that.
My current attempt has about five and a half times as many items as the backlog...900 vs 159 actual items in the backlog
project="Project Name" AND issuetype != Epic AND (Sprint is EMPTY OR Sprint not in (openSprints(), futureSprints())) and status != Closed Order by RANK
The order isn't correct either.
How do I filter items to match what the backlog has, and show the same order?
If you check the configuration of your board, it will have a few Filter settings that specify which issues have to be displayed on your board and backlog. Documentation is available here. The screen looks like this:
With the contents of the Saved Filter and Filter Query fields you should be able to build the JQL query that matches your backlog. The Ranking field specifies how issues are ordered, but typically this is done by their Rank, which you already use in your JQL. You can add ASC or DESC to change the direction of the order, ie. ORDER BY RANK DESC.
These rules determine which issues are visible in the backlog for your board:
An issue will only be visible in the Backlog if:
the issue is not a Sub-Task,
the issue matches the board's Saved Filter (see Configuring Filters),
the issue's status maps to one of the board's columns (but not the 'Done' column), and
there is at least a status being mapped to the right most column. Eg. If you have the columns To Do, In Progress , and Done, ensure that you have a status mapped to In Progress at least. If you map all the statuses to the first column (To Do), you will not be able to see any issues in the Backlog.
This is taken from this documentation page.
Here is the answer that worked for me
project = <your project> AND issuetype in (task, "Task ", Story, Improvement, Improvements, Research, Bug, Incident) AND status not in
(Done, CANCELLED, Closed) AND (Sprint in (futureSprints()) OR Sprint
is EMPTY) ORDER BY rank
Changed the parameters according to your project.
Order by rank - gives you the order you see in the backlog
Cheers