Skip to main content

Questions tagged [sequence]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
721 views

How to have common order sequence for multiple stores (under the same website)?

Magento 2 uses table sales_sequence_meta and sales_sequence_profile for defining the entity prefix for stores. If 2 and 3 are the store_id of two store views of the same website, the table data may ...
MagePsycho's user avatar
  • 4,650
0 votes
1 answer
143 views

error when doing setup install on clean database magento2

Here is an error that occurs when I run setup:install command on clean database magento2 SQLSTATE[42S02]: Base table or view not found: 1146 Table 'clean.core_confi g_data' doesn't exist I added ...
Giga Todadze's user avatar
0 votes
1 answer
212 views

Magento 2 - Order ID always ZERO

When I click "Place Order" the order ID is always 0 and therefore fails after the first order as the order id already exists. TABLE SEQUENCE_ORDER_1 gets 0 appended to it I have no idea why and I've ...
William Oakley's user avatar
0 votes
0 answers
425 views

How to set custom invoice number

What I would like to achieve is to have the invoice number defined as so: YYYYMMDDD Where YYYY represents the current year, MM the current month and DDD the number that increments for each invoice. ...
Dim13i's user avatar
  • 141
1 vote
1 answer
2k views

Magento 2 - How to automatically regenerate sequence tables?

The situation is: some dude at my workplace migrated the project's database to a new server and somehow, some sequence tables such as sequence_order_xx, sequence_invoice_xx and so on, are missing ...
Tailtiu's user avatar
  • 372
0 votes
2 answers
780 views

How to override vendor\magento\module-sales-sequence\Model\Sequence.php

I want to override file in vendor\magento\module-sales-sequence\Model\Sequence.php Magentsales\Modulesequence\registration.php <?php \Magento\Framework\Component\ComponentRegistrar::register( ...
Priya's user avatar
  • 589
3 votes
1 answer
8k views

Magento 2 Module Observer Sequence order and Sales Order Event

We have two modules which fire the same event checkout_submit_all_after.But i need to give a preference for this , i tried giving sequence in module b but it won't work.For ex Module A and Module B ...
Prasanth's user avatar
  • 147
6 votes
2 answers
1k views

Does <sequence> also affect the load order of plugin?

According to magento devdocs declares the list of components that must be loaded before the current component is loaded. It’s used for loading different kind of files: configuration files, view ...
Jazz's user avatar
  • 151
3 votes
2 answers
2k views

Magento 2: If a module depends on 2 module which loads first?

In magento there is a module C and it depends on two module A and B. the module.xml of C is as follows: <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
Jazz's user avatar
  • 151
2 votes
0 answers
128 views

Magento2 Admin Backend Category Brand Sort Order changes like A...B....C..D...E..F First A Second B Like that [closed]

Magento2 Admin Backend Category Brand Sort Order changes like A...B....C..D...E..F First A Second B Like that Give ME Answer Emizentech ShopByBrand plugin i will be used Emizentech\ShopByBrand\view\...
MehulKanjariya's user avatar
4 votes
2 answers
3k views

Magento2: Order Number increment issue

I have got a issue with Order Number in Magento2. Order Number not increment by 1 it should be like this 000000241 000000240 000000239 but not.kindly identify the issue.
Hafiz Arslan's user avatar
1 vote
2 answers
3k views

Magento 2 Sequence - Multiple Modules Overriding Same Template

I am using Magento Commerce 2.2.6 running in developer mode. I have multiple modules that are overriding the same template via the setTemplate action in layout xml. I am using sequence in the ...
poor_documentation's user avatar
1 vote
1 answer
4k views

Magento 2, filter product collection by sku while preserving the given array sequence

Using below code, collection is filtered. If $productSkus array is like Array ( [0] => 5714156000153 [1] => 8690604469871 [2] => 6412616365413 ) after filtering I see the collection is in ...
Zinat's user avatar
  • 2,079
1 vote
0 answers
225 views

Changing order of shopping cart totals is not working after changed the sequence from admin panel

I appreciate your solution for resolving my problem. I have changed the cart totals sequence from my admin panel but it is not reflecting on the front end. Steps for changing a sequence from admin ...
Mohd Zahid's user avatar
2 votes
3 answers
1k views

<sequence> not working?

I've made a script in a custom module that is dependent on customer-data.js, a .js file initiated by Magento_Customer. So, what I did in my module.xml: <config xmlns:xsi="http://www.w3.org/2001/...
Condor's user avatar
  • 647
1 vote
0 answers
141 views

Ensure module is loaded after all magento 2 modules

I want to create a module that is loaded first after all the magento modules are loaded. Is there a list somewhere of all them magento 2 module sequence? Or is there any way to set a module to load ...
Spencer Rohan's user avatar
5 votes
4 answers
13k views

What is the use of <sequence> Tab in magento2?

How is the tag defined and handled and when we want to use this tag? I prefer https://mage2.pro/t/topic/1186 but can't get actual idea.
Kushal Dani's user avatar
  • 2,134
0 votes
1 answer
513 views

How to have InstallData run before another module?

I would like my module's Setup\InstallData be run before another module's Setup\UpgradeData. Is that achievable? In my module's etc/module.xml I've added: <sequence> <module name="...
Jānis Elmeris's user avatar
7 votes
3 answers
1k views

Filters move to bottom in admin grid

I have created a custom column to filter in sales order and the filters have been move to the bottom of the page. How could I move to the top?
raumatbel's user avatar
  • 1,275