How to change the order number's prefix of a specific store, Magento2
Clash Royale CLAN TAG#URR8PPP
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;
up vote
1
down vote
favorite
Magento2.2.4, php7;
I have multiple stores where I want each one of them to have a different order number's prefix. Is there anyway to realize that?
Thanks!
Edit: I'm trying to avoid using raw queries, any other (safer) way ?
magento2 orders multistore multi-website prefix
add a comment |Â
up vote
1
down vote
favorite
Magento2.2.4, php7;
I have multiple stores where I want each one of them to have a different order number's prefix. Is there anyway to realize that?
Thanks!
Edit: I'm trying to avoid using raw queries, any other (safer) way ?
magento2 orders multistore multi-website prefix
are you using custom module
â Rv Singh
1 hour ago
check this if it helps - magento.stackexchange.com/questions/101341/â¦
â shashank
1 hour ago
@rvSingh no i'm not using a custom module.
â Mer Gh
1 hour ago
@shashank i saw it, i'm trying to avoid using raw queries on db ..
â Mer Gh
1 hour ago
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
Magento2.2.4, php7;
I have multiple stores where I want each one of them to have a different order number's prefix. Is there anyway to realize that?
Thanks!
Edit: I'm trying to avoid using raw queries, any other (safer) way ?
magento2 orders multistore multi-website prefix
Magento2.2.4, php7;
I have multiple stores where I want each one of them to have a different order number's prefix. Is there anyway to realize that?
Thanks!
Edit: I'm trying to avoid using raw queries, any other (safer) way ?
magento2 orders multistore multi-website prefix
magento2 orders multistore multi-website prefix
edited 1 hour ago
asked 1 hour ago
Mer Gh
318
318
are you using custom module
â Rv Singh
1 hour ago
check this if it helps - magento.stackexchange.com/questions/101341/â¦
â shashank
1 hour ago
@rvSingh no i'm not using a custom module.
â Mer Gh
1 hour ago
@shashank i saw it, i'm trying to avoid using raw queries on db ..
â Mer Gh
1 hour ago
add a comment |Â
are you using custom module
â Rv Singh
1 hour ago
check this if it helps - magento.stackexchange.com/questions/101341/â¦
â shashank
1 hour ago
@rvSingh no i'm not using a custom module.
â Mer Gh
1 hour ago
@shashank i saw it, i'm trying to avoid using raw queries on db ..
â Mer Gh
1 hour ago
are you using custom module
â Rv Singh
1 hour ago
are you using custom module
â Rv Singh
1 hour ago
check this if it helps - magento.stackexchange.com/questions/101341/â¦
â shashank
1 hour ago
check this if it helps - magento.stackexchange.com/questions/101341/â¦
â shashank
1 hour ago
@rvSingh no i'm not using a custom module.
â Mer Gh
1 hour ago
@rvSingh no i'm not using a custom module.
â Mer Gh
1 hour ago
@shashank i saw it, i'm trying to avoid using raw queries on db ..
â Mer Gh
1 hour ago
@shashank i saw it, i'm trying to avoid using raw queries on db ..
â Mer Gh
1 hour ago
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
1
down vote
You can manage it like below:
Magento 2 database contains a table name 'sales_sequence_profile' which has prefix column and every row contains a meta_id which relates with table 'sales_sequence_meta'.
Table 'sales_sequence_meta' sequence table names according to stores and type(order, invoice, shipment, creditmemo, rma).
sequence_order_* contains the last inserted order ids
sequence_shipment_* contains the last inserted shipment ids
sequence_invoice_* contains the last inserted invoice ids
sequence_creditmemo_* contains the last inserted creditmemo ids
sequence_rma_item_* contains the last inserted rma item ids
Basically this is just for understanding. You need to update the table 'sales_sequence_profile' and related sequence tables.
add a comment |Â
up vote
1
down vote
You can change this using by changing related store db tables. i.e
if your store id is 1 :
change prefix column value in your sales_sequence_profile table against your meta_id = 1;
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
You can manage it like below:
Magento 2 database contains a table name 'sales_sequence_profile' which has prefix column and every row contains a meta_id which relates with table 'sales_sequence_meta'.
Table 'sales_sequence_meta' sequence table names according to stores and type(order, invoice, shipment, creditmemo, rma).
sequence_order_* contains the last inserted order ids
sequence_shipment_* contains the last inserted shipment ids
sequence_invoice_* contains the last inserted invoice ids
sequence_creditmemo_* contains the last inserted creditmemo ids
sequence_rma_item_* contains the last inserted rma item ids
Basically this is just for understanding. You need to update the table 'sales_sequence_profile' and related sequence tables.
add a comment |Â
up vote
1
down vote
You can manage it like below:
Magento 2 database contains a table name 'sales_sequence_profile' which has prefix column and every row contains a meta_id which relates with table 'sales_sequence_meta'.
Table 'sales_sequence_meta' sequence table names according to stores and type(order, invoice, shipment, creditmemo, rma).
sequence_order_* contains the last inserted order ids
sequence_shipment_* contains the last inserted shipment ids
sequence_invoice_* contains the last inserted invoice ids
sequence_creditmemo_* contains the last inserted creditmemo ids
sequence_rma_item_* contains the last inserted rma item ids
Basically this is just for understanding. You need to update the table 'sales_sequence_profile' and related sequence tables.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
You can manage it like below:
Magento 2 database contains a table name 'sales_sequence_profile' which has prefix column and every row contains a meta_id which relates with table 'sales_sequence_meta'.
Table 'sales_sequence_meta' sequence table names according to stores and type(order, invoice, shipment, creditmemo, rma).
sequence_order_* contains the last inserted order ids
sequence_shipment_* contains the last inserted shipment ids
sequence_invoice_* contains the last inserted invoice ids
sequence_creditmemo_* contains the last inserted creditmemo ids
sequence_rma_item_* contains the last inserted rma item ids
Basically this is just for understanding. You need to update the table 'sales_sequence_profile' and related sequence tables.
You can manage it like below:
Magento 2 database contains a table name 'sales_sequence_profile' which has prefix column and every row contains a meta_id which relates with table 'sales_sequence_meta'.
Table 'sales_sequence_meta' sequence table names according to stores and type(order, invoice, shipment, creditmemo, rma).
sequence_order_* contains the last inserted order ids
sequence_shipment_* contains the last inserted shipment ids
sequence_invoice_* contains the last inserted invoice ids
sequence_creditmemo_* contains the last inserted creditmemo ids
sequence_rma_item_* contains the last inserted rma item ids
Basically this is just for understanding. You need to update the table 'sales_sequence_profile' and related sequence tables.
answered 1 hour ago
Sukumar Gorai
5,3403425
5,3403425
add a comment |Â
add a comment |Â
up vote
1
down vote
You can change this using by changing related store db tables. i.e
if your store id is 1 :
change prefix column value in your sales_sequence_profile table against your meta_id = 1;
add a comment |Â
up vote
1
down vote
You can change this using by changing related store db tables. i.e
if your store id is 1 :
change prefix column value in your sales_sequence_profile table against your meta_id = 1;
add a comment |Â
up vote
1
down vote
up vote
1
down vote
You can change this using by changing related store db tables. i.e
if your store id is 1 :
change prefix column value in your sales_sequence_profile table against your meta_id = 1;
You can change this using by changing related store db tables. i.e
if your store id is 1 :
change prefix column value in your sales_sequence_profile table against your meta_id = 1;
answered 1 hour ago
Naveed Asim
2,0871213
2,0871213
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f245312%2fhow-to-change-the-order-numbers-prefix-of-a-specific-store-magento2%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
are you using custom module
â Rv Singh
1 hour ago
check this if it helps - magento.stackexchange.com/questions/101341/â¦
â shashank
1 hour ago
@rvSingh no i'm not using a custom module.
â Mer Gh
1 hour ago
@shashank i saw it, i'm trying to avoid using raw queries on db ..
â Mer Gh
1 hour ago