News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Virtuemart order status

Started by ernst007, November 11, 2020, 11:34:03 AM

Previous topic - Next topic

ernst007

I created a new order status and put the stock status reserved.
Therefore, the goods should be reserved in the warehouse. But not it. when I switch from this state to the state of processing, for example, the goods are reserved. When I switch the status back, the reservation for the goods is canceled, although I also have the stock status reserved here.

Can anyone advise please?

bratamic

Did you remember to change the "stock handling" to "its reserved"?

AH

Regards
A

Joomla 4.4.5
php 8.1

ernst007

#3
I have it set correctly according to the instructions.
Look at the picture.
However, the goods are not reserved for me in this state, and if they are already reserved, the reservation will be released when switching to this state.

Now I have installed a new installation of joomla (3.9.22), php 7.3.3 and virtuemart 3.8.4 and the problem is still the same.

Jörgen

You CANNOT use this status, the letter N is used inernally and will mess with Your order.

Choose another letter that is not used internally !

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

ernst007

You're right, thank you.
Where can I find out what the internal statuses are?

Jörgen

I an not 100% sure, but i think this is the only hidden status. Do not think this is documented.
Jörgen
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

pinochico

#7
function handleStockAfterStatusChangedPerProduct
in
administrator/components/com_virtuemart/models/orders.php

Order status code ="N" is for a new product
Stock handles for new product is "A" = avalaible


For status "Čeká se" I use everytime "COM_VIRTUEMART_ORDER_STATUS_WAITING" with char "W" and "Reserved" for stock handling

www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

ernst007