![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/app/code/Soon/Core/etc/ |
<?xml version="1.0"?> <!-- /** * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * @author Hervé Guétin <[email protected]> <@herveguetin> * @copyright Copyright (c) 2016 Agence Soon (http://www.agence-soon.fr) */--> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd"> <default> <general> <locale> <code>fr_FR</code> <timezone>Europe/Paris</timezone> <firstday>1</firstday> <weekend>0,6</weekend> <weight_unit>kgs</weight_unit> </locale> <country> <eu_countries>DE,AT,BE,BG,CY,DK,ES,EE,FI,FR,GR,HU,IE,IT,LV,LT,LU,MT,NL,PL,PT,RO,GB,CZ,SK,SI,SE</eu_countries> <optional_zip_countries>IE,PA,HK,MO</optional_zip_countries> <allow>FR</allow> <default>FR</default> </country> <store_information> <merchant_country>FR</merchant_country> <name>Project Name</name> <country_id>FR</country_id> <region_id>257</region_id> </store_information> </general> <design> <head> <default_title>Project Name</default_title> <title_suffix>| Project Name</title_suffix> </head> <header> <logo_alt>Project Name</logo_alt> <welcome>Bienvenue !</welcome> </header> <search_engine_robots> <default_robots>NOINDEX,NOFOLLOW</default_robots> </search_engine_robots> </design> <dev> <template> <allow_symlink>1</allow_symlink> </template> </dev> <cms> <wysiwyg> <enabled>hidden</enabled> </wysiwyg> <content> <versioning>0</versioning> </content> </cms> <customer> <account_share> <scope>0</scope> </account_share> </customer> <catalog> <frontend> <flat_catalog_category>1</flat_catalog_category> <flat_catalog_product>1</flat_catalog_product> </frontend> <product> <default_tax_group>2</default_tax_group> </product> <search> <min_query_length>2</min_query_length> <search_type>3</search_type> </search> <seo> <category_canonical_tag>1</category_canonical_tag> <product_canonical_tag>1</product_canonical_tag> <product_use_categories>0</product_use_categories> </seo> </catalog> <payment> <checkmo> <active>1</active> <title>Paiement par chèque</title> </checkmo> <free> <active>1</active> <title>Pas de paiement nécessaire</title> </free> </payment> <shipping> <option> <checkout_multiple>0</checkout_multiple> </option> <origin> <country_id>FR</country_id> <postcode>75001</postcode> <region_id>257</region_id> <city>Paris</city> </origin> </shipping> <multishipping> <options> <checkout_multiple>0</checkout_multiple> </options> </multishipping> <carriers> <flatrate> <active>1</active> <model>Magento\OfflineShipping\Model\Carrier\Flatrate</model> <name>Forfait</name> <price>5.00</price> <title>Livraison</title> <type>O</type> <specificerrmsg>Ce mode de livraison n'est pas disponible.</specificerrmsg> <handling_type>F</handling_type> <handling_fee/> <specificcountry/> <showmethod>0</showmethod> <sort_order>0</sort_order> </flatrate> </carriers> <checkout> <options> <guest_checkout>0</guest_checkout> <customer_must_be_logged>1</customer_must_be_logged> <enable_agreements>1</enable_agreements> </options> </checkout> <sitemap> <generate> <enabled>1</enabled> </generate> </sitemap> <tax> <classes> <shipping_tax_class>2</shipping_tax_class> <wrapping_tax_class>2</wrapping_tax_class> </classes> <calculation> <algorithm>ROW_BASE_CALCULATION</algorithm> <apply_after_discount>1</apply_after_discount> <!-- The line below throws an error: [Magento\Framework\Exception\LocalizedException] More than one node matching the query: /config/default/tax/calculation/discount_tax So we populated the core_config_data: @see \Soon\Core\Setup\Taxes::setDiscountTaxConfig --> <!--<discount_tax>1</discount_tax>--> <based_on>shipping</based_on> <price_includes_tax>1</price_includes_tax> <shipping_includes_tax>1</shipping_includes_tax> <apply_tax_on>0</apply_tax_on> <cross_border_trade_enabled>0</cross_border_trade_enabled> </calculation> <defaults> <country>FR</country> <region>0</region> <postcode>*</postcode> </defaults> <display> <type>2</type> <shipping>2</shipping> </display> <cart_display> <price>2</price> <subtotal>2</subtotal> <shipping>2</shipping> <discount>1</discount> <grandtotal>1</grandtotal> <full_summary>0</full_summary> <zero_tax>0</zero_tax> <gift_wrapping>2</gift_wrapping> <printed_card>2</printed_card> </cart_display> <sales_display> <price>2</price> <subtotal>2</subtotal> <shipping>2</shipping> <discount>1</discount> <grandtotal>1</grandtotal> <full_summary>0</full_summary> <zero_tax>0</zero_tax> <gift_wrapping>2</gift_wrapping> <printed_card>2</printed_card> </sales_display> <weee> <enable>0</enable> </weee> </tax> <web> <url> <redirect_to_base>301</redirect_to_base> </url> <session> <use_frontend_sid>0</use_frontend_sid> </session> </web> <wishlist> <general> <active>0</active> </general> </wishlist> </default> </config>