Skip to content

Commit 2dd11c8

Browse files
committed
Update UPGRADE.md
1 parent e80f3df commit 2dd11c8

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

UPGRADE.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@ The v2 is now compatible with Sylius 2.x, so you need to update your Sylius vers
88
- The route `@WebgriffeSyliusTableRateShippingPlugin/Resources/config/admin_routing.yml` has been renamed to `@WebgriffeSyliusTableRateShippingPlugin/config/routes/admin.yaml`.
99
- The route `webgriffe_sylius_table_rate_shipping_plugin_shop` has been removed as it was unnecessary
1010
- The migrations are now stored inside the plugin in `src/Migrations`. These should be idempotent, so if the changes made by these migrations are already present, they will do nothing.
11+
- Important template changes:
12+
- Template `@WebgriffeSyliusItalianInvoiceableOrderPlugin/Common/_invoiceableAddressInfo.html.twig` has been renamed to `@WebgriffeSyliusItalianInvoiceableOrderPlugin/shared/address/billingAddressInfo.html.twig`
13+
- Template `@WebgriffeSyliusItalianInvoiceableOrderPlugin/Checkout/Address/_addressBookSelectInvoiceableDataAttributes.html.twig` has been removed as Sylius 2 uses UI component for this, so you can remove this template as it is no longer needed. If you have customized this template, you can move the customizations to the new UI component. If you are using the [Sylius Legacy Bundle](https://github.com/Sylius/LegacyShopBridgePlugin) you can still use this template, here is the latest implemenation:
14+
```twig
15+
data-billing-recipient-type="{{ address.billingRecipientType }}"
16+
data-tax-code="{{ address.taxCode }}"
17+
data-vat-number="{{ address.vatNumber }}"
18+
data-sdi-code="{{ address.sdiCode }}"
19+
data-pec-address="{{ address.pecAddress }}"
20+
```
1121
1222
## Upgrade from version v1.x to v2.x
1323

0 commit comments

Comments
 (0)