Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Sivasamy 13 posts 33 karma points
    Apr 03, 2013 @ 13:18
    Sivasamy
    0

    Setting up the seed for order number on uCommerce

    In the project that we are developing now, customer has requested us to create the order numbers in the following format.

    HWUS1000,HWUS1001,HWUS1002,etc.

    But on the order number section of uCommerce we only have the option to change its prefix, suffix and increment. 

    I would like to know how to change the seed value for the order number so it would generate the number from 1000?

    Note: We are using uCommerce 3.0.0.12320.

  • Morten Skjoldager 440 posts 1499 karma points
    Apr 03, 2013 @ 15:01
    Morten Skjoldager
    0

    The only thing i can come up with is to replace the order number generator with your own. Order number is assigned in the AssignOrderNumberTask configured in uCommerce in the checkout pipeline. You can replace it with your own order number generator.

  • Dima Stefantsov 100 posts 225 karma points
    Apr 04, 2013 @ 16:52
    Dima Stefantsov
    0

    Simple solution: make step=999, make one test order. Change step to 1. From now on, orders will be 1000, 1001, 1002 etc.

    I guess current 'seed' is stored in database somewhere, you might find the place and change it there as well.

  • Søren Spelling Lund 1797 posts 2786 karma points
    Apr 09, 2013 @ 12:38
    Søren Spelling Lund
    0

    You can also change the counter value directly in the database in the table uCommerce_OrderNumberSeries.

Please Sign in or register to post replies

Write your reply to:

Draft