Browse Source

fixed home pricing variation add to cart display

bach 2 years ago
parent
commit
713f02b678

+ 1 - 1
web/modules/custom/materio_home/src/Plugin/Field/FieldType/ComputedCommerceProductReferences.php

@@ -39,7 +39,7 @@ class ComputedCommerceProductReferences extends EntityReferenceFieldItemList
         ->condition('status', 1)
         ->sort('created', 'ASC')
         // ->exists('field_visuel')
-        // ->condition('type', 'article')
+        ->condition('type', 'materio_product_license_type')
         ->range(0,12);
     $ids = $query->execute();
     $i = 0;

File diff suppressed because it is too large
+ 0 - 0
web/themes/custom/materiotheme/assets/dist/main.css


BIN
web/themes/custom/materiotheme/assets/dist/main.css.gz


+ 4 - 0
web/themes/custom/materiotheme/assets/styles/main.scss

@@ -1386,6 +1386,10 @@ article.node--type-frontpage{
                     text-align: left;
                     padding-left: 1em;
                     // position: relative;
+                    .field--name-purchased-entity,
+                    .field--name-quantity{
+                      display: none;
+                    }
                     .form-actions{
                       margin:0;
                     }

Some files were not shown because too many files changed in this diff