Author Topic: Order number before checkout  (Read 1164 times)

seweryn

  • Jr. Member
  • **
  • Posts: 57
Order number before checkout
« on: February 12, 2013, 11:57:33 am »
Hello,

I have a modification to VM 2.0.8 and Joomla 2.5.8 - any products have possibility to add a files to order.
Script in php add a folder on server and there are the files from customers.

My question is: how get order number before chechout?
I would give the order number as folder name.

It is possible?

Thanks in advance.
I use VirtueMart 2.0.22c & Joomla 2.5.14

reinhold

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 204
Re: Order number before checkout
« Reply #1 on: February 12, 2013, 22:32:17 pm »
The order number is only created after the order has been completed (otherwise any abandoned cart would create an order number, which mean you'd have huge gaps in your order numbers). So, I don't think it's possible to upload to a folder named identical to the order number...