Varianten als Tabelle - Plugin-Konfiguration über Freitextfelder steuern

Das Plugin erlaubt es, einzelne Einstellungen auf Artikelebene per Freitextfeld zu überschreiben.

Die Zuweisungen werden über die config.php im Shopware-Hauptverzeichnis definiert.

Beispiel:

<?php return [
  'db' =>
  [
    'host' => 'localhost',
    'port' => '3306',
    'username' => 'shopware',
    'password' => 'XXXXXX',
    'dbname' => 'shopware-5',
  ],

  'MaxiaVariantsTable' => [
    'configMapping' => [
      's_articles_attributes' => [
        // Attribute name => Config key
        'attr1' => 'limitEntries', // attr1 = Maximum number of rows
      ]
    ]
  ]
];

Mögliche Konfigurationen:

enableQuickBuy = true/false  
hideUnavailablePrices = true/false  
limitEntries = 6  
measurementUnit = "cm"  
percentDecimals = 0  
position = "above_description" / "below_description" / "tab"  
responsiveMode = "scrollable"  
disallowEmptyQuantity = true/false  
showArticleImage = true/false  
showArticleImageAll = true/false  
showBasePrice = true/false  
showBasePriceContent = true/false  
showBuyAllButton = true/false  
showConfiguratorGroups = true/false  
showConfiguratorGroupsSingle = true/false  
showConfiguratorGroupsSingleList = true/false  
showDeliveryInfo = true/false  
showDeliveryUnderPrice = true/false  
showDiscount = true/false  
showMeasurements = true/false  
showMeasurementsSingle = true/false  
showMinimalBuyBox = true/false  
showNoteButton = true/false  
showNotifyModal = true/false  
showNumberInput = true/false  
showOrderNumber = true/false  
showOutOfStock = "show"  
showPackUnit = true/false  
showPriceSymbol = true/false  
showProperties = true/false  
showPseudoPrice = true/false  
showPurchaseUnit = true/false  
showPurchaseUnitReferencePrice = true/false  
showStock = true/false  
showSupplierNumber = true/false  
showTable = true/false  
showWeight = true/false  
sortable = true/false  
sortField = "name of the field"  
sortOrder = "desc" / "asc"  
attributeColumn1 = "attr1"  
attributeColumn2 = "attr2"  
attributeColumn3 = "attr3"  
attributeColumn4 = "attr4"  
attributeColumnName1 = "Attribute column name 1"  
attributeColumnName2 = "Attribute column name 2"  
attributeColumnName3 = "Attribute column name 3"  
attributeColumnName4 = "Attribute column name 4"