Breaking: #380 - TypoScript for countries in uniform format

See Issue 380 and forge#435 and forge#435__

Description

Up to now it was possible to set the country specific configuration of shippings and payments directly under plugin.tx_cart.shippings and plugin.tx_cart.payments. Until the implementation of forge#435 that's how it was done in the extension itself although the documentation already showed the new structure.

This breaking change does no longer allow the old structure. As a result the structure to set options is uniform in different places which makes it easier for Integrators to set up this extension.

The uniform structure are now given for options in:

Affected Installations

All installations which use the old structure ()which is shown below in the migration description) are affected. The TypoScript needs to be adapted as shown below.

Migration

The country configuration needs to be wrapper in a countries level.

The following two snippets show the BEFORE and AFTER implementation.

BEFORE (in e.g. EXT:sitepackage/Configuration/TypoScript/setup.typoscript)
plugin.tx_cart {
   shippings {
      de {
         preset = 1
         options {
            1 {
               title = Standard
               extra = 0.00
               taxClassId = 1
               status = open
            }
         }
      }
   }
   payments {
      de {
         preset = 1
         options {
            1 {
               title = Pay in advance
               extra = 0.00
               taxClassId = 1
               status = open
            }
         }
      }
   }
}
Copied!
AFTER (in e.g. EXT:sitepackage/Configuration/TypoScript/setup.typoscript)
plugin.tx_cart {
   shippings {
      countries {
         de {
             preset = 1
             options {
                 1 {
                     title = Standard
                     extra = 0.00
                     taxClassId = 1
                     status = open
                 }
              }
           }
        }
     }
   }
   payments {
       countries {
          de {
             preset = 1
             options {
                1 {
                   title = Pay in advance
                   extra = 0.00
                   taxClassId = 1
                   status = open
                }
             }
          }
       }
   }
}
Copied!