read out order-id in the checkout process

  • Philipp
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 7 months ago #68898 by Philipp
Hey there,

I'm customizing the checkout process a little and therefore I need to read-out the current order-id in the "shipping_method.php".

Can you help?

Thanks alot in advance

Best

Please Log in or Create an account to join the conversation.

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
8 years 7 months ago #68922 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic read out order-id in the checkout process
Hello Philipp,

In the shipping_method.php, the order-id is not existed. The order-id is only generated after the step 6 confirm.php of checkout.

Sincerely, Giang
The following user(s) said Thank You: Philipp

Please Log in or Create an account to join the conversation.

  • Philipp
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 7 months ago #68925 by Philipp
Replied by Philipp on topic read out order-id in the checkout process
Thanks giang,

I studied the confrim.php but im having trouble generating the order-id in Shipping-method.php. Can u help me how to generate the order-id in shippping-method?

That would be amazing

Please Log in or Create an account to join the conversation.

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
8 years 7 months ago #68939 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic read out order-id in the checkout process
Hi Philipp,

Sorry, that is impossible. Order can be only generated after final step.

Sincerely, Giang
The following user(s) said Thank You: Philipp

Please Log in or Create an account to join the conversation.

  • Philipp
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 7 months ago #68945 by Philipp
Replied by Philipp on topic read out order-id in the checkout process
hey giang,

okey, that makes sense. But the order-id isn't necessary, in fact the product-id would be just fine! It should be possible to read-out this one, no?

best

Please Log in or Create an account to join the conversation.

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
8 years 7 months ago #68994 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic read out order-id in the checkout process
Hi Philipp,

There are multiple products in the cart at checkout and you can get ID of any products that you want from any steps of checkout.

Sincerely, Giang

Please Log in or Create an account to join the conversation.

Moderators: Giang Dinh Truong