This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Just go to data base -> sales_invoice -> indexes just remove one rule "SALES_INVOICE_INCREMENT_ID_STORE_ID ' | |
SOLVED Invoice Unique Constraint Violation Magento 2.2.5 when i am generating a invoice facing this error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
We found a duplicate website, tier price, customer group and quantity magento 2 | |
Just edit the product -> Tier price -> remove the duplicate tier price option ( Customer group , Website and qty ) , | |
Like . | |
You set site1 -> QTY 10 -> Customer group retailer -> price $10 | |
Now next price :-> You set site1 -> QTY 10 -> Customer group general -> price $10 | |
Problem : Genral and retailer group will work same so remove anyone , If you need wholesaler customer then you can add next option . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bt CLI command : Run from magneto root | |
php bin/magento admin:user:create --admin-user='new-user' --admin-password='pass' --admin-email='admin@mail.com' --admin-firstname='Admin' --admin-lastname='Admin' | |
–admin-user-> Admin account username (required). | |
–admin-password-> Admin User account password (required). | |
–admin-email-> Admin user account’s email address (required). | |
–admin-firstname-> Admin user’s first name (required). | |
–admin-lastname-> Admin user’s last name (required). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Go to /vendor/magento/module-customer/view/frontend/layout/customer_account_create.xml | |
and add a code : Line no : 20 Under <container name="customer.form.register.fields.before" | |
<action method="setShowAddressFields"> | |
<argument name="show.address.fields" xsi:type="boolean">true</argument> | |
</action> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ROOT directory | |
1. public_html/vendor/magento/framework/Serialize/Serializer/Json.php | |
2. Just replace below fucntion (unserialize) and add new function OR just download attached file and replace with default | |
public function unserialize($string) |