Questions tagged [sequence]
The sequence tag has no usage guidance.
19 questions
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 ...
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 ...
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 ...
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.
...
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 ...
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(
...
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 ...
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 ...
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" ...
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\...
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.
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 ...
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
...
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 ...
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/...
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 ...
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.
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="...
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?