Projekt

Allgemein

Aktionen

GX-Abgewiesen #70739

geschlossen

Artikel sind nicht aufrufbar wenn ebenfalls gekaufte Artikel angezeigt werden sollen / Products are not accessible if purchased products should be displayed as well

Von Till Tepelmann vor fast 2 Jahren hinzugefügt. Vor mehr als 1 Jahr aktualisiert.

Status:
Abgewiesen
Priorität:
Dringend
Zugewiesen an:
-
Kategorie:
Frontend
Zielversion:
-
Beginn:
Abgabedatum:
% erledigt:

0%

Geschätzter Aufwand:
Steps to reproduce:
Release Notes Langtext:

Beschreibung

Artikel sind nicht aufrufbar wenn ebenfalls gekaufte Artikel angezeigt werden sollen

kann wie folgt reproduziert werden:

  1. Shop installieren
  2. 2 Artikel gemeinsam in einer Bestellung kaufen
  3. einen der bestellten Artikel im Shopfront aufrufen

Erwartetes Ergebnis:
Artikel sollten normal aufrufbar sein, wenn es ebenfalls gekaufte Artikel gibt.

Tatsächliches Ergebnis:
Artikel sind nicht aufrufbar wenn es ebenfalls gekaufte Artikel gibt.


Articles are not callable if likewise purchased articles are to be indicated

can be reproduced as follows:

  1. install store
  2. buy 2 articles together in one order
  3. call one of the ordered articles in the shopfront

Expected result:
Items should be callable normally if there are also purchased items.

Actual result:
Items are not callable if there are also purchased items.


[2023-10-07 21:28:56 | CRITICAL] Could not count total datasets for product ids "27783", "30011", "6723", "29937"
context:
  session ID: session-6521b17889f063.35363755
  exception:
    class: UnexpectedValueException
    message: Could not count total datasets for product ids "27783", "30011", "6723", "29937"
    code: 0
    file: /GambioShop/Modules/ProductListing/App/Data/ProductListingReader.php
    line: 170
    trace:
      0: /GambioShop/Modules/ProductListing/App/Data/ProductListingRepository.php:74
                  $items   = $this->mapper->map($rawData, $settings);
                  
        ├─         $totalItems = $this->reader->fetchTotal($ids, $settings);
                  $meta       = $this->factory->createPaginationMeta($totalItems, $pagination);
                  
      1: /GambioShop/Modules/ProductListing/App/ProductListingService.php:61
              public function getListing(ListingFilter $filter, ListingPagination $pagination): Listing
              {
        ├─         $listing = $this->repository->getListing($filter->getProductIds(),
                                                           $pagination,
                                                           $filter->getSettings(),
      2: /GXMainComponents/Services/Core/ProductListingDisplayService/ProductListingDisplayService.php:66
              {
          
        ├─         $listing = $this->listing->getListing($filter, $this->control->pagination());
                  $data    = $this->display->getListing($listing, $this->control->settings());
          
      3: /GXMainComponents/Services/Core/ProductListingDisplayService/ProductListingDisplayService.php:190
                  $filter = $this->filtersFactory->createAlsoPurchased($productId, $this->control->settings());
          
        ├─         return $this->getListing($original, $filter);
              }
          
      4: /GXMainComponents/View/ThemeContentViews/listing/AlsoPurchasedThemeContentView.inc.php:121
                      
                      $productListingService = StaticGXCoreLoader::getService('ProductListingDisplayService');
        ├─             $products              = $productListingService->getAlsoPurchased($this->data_array,
                                                                                        $this->coo_product->pID);
                      
      5: /GXMainComponents/View/ThemeContentViews/listing/AlsoPurchasedThemeContentView.inc.php:67
              protected function add_data()
              {
        ├─         $this->content_array['module_content'] = $this->generateAlsoPurchasedListing();
              }
              
      6: /GXMainComponents/View/ThemeContentViews/listing/AlsoPurchasedThemeContentView.inc.php:46
                      $this->get_data();
                      if (count($this->data_array) >= MIN_DISPLAY_ALSO_PURCHASED && count($this->data_array) > 0) {
        ├─                 $this->add_data();
                      } else {
                          $this->build_html = false;
      7: /GXMainComponents/View/ThemeContentViews/core/ThemeContentView.inc.php:153
              {
                  $t_html_output = '';
        ├─         $this->prepare_data();
                  if ($this->build_html == true) {
                      $t_html_output = $this->build_html();
      8: /GXMainComponents/View/ThemeContentViews/products/ProductInfoThemeContentView.inc.php:401
                  $view = MainFactory::create_object('AlsoPurchasedThemeContentView');
                  $view->set_coo_product($this->product);
        ├─         $html = $view->get_html();
                  $this->set_content_data('MODULE_also_purchased', $html);
              }
      9: /GXMainComponents/View/ThemeContentViews/products/ProductInfoThemeContentView.inc.php:275
              protected function _assignProductLists()
              {
        ├─         $this->_assignAlsoPurchased();
                  $this->_assignCrossSelling();
                  $this->_assignReverseCrossSelling();
      10: /GXMainComponents/View/ThemeContentViews/products/ProductInfoThemeContentView.inc.php:190
                      $this->_assignWidgets();
                      $this->_assignReviews();
        ├─             $this->_assignProductLists();
                      $this->_assignItemCondition();
                      $this->_assignRichSnippetData();
      11: /GXModules/Gambio/Google/GA4/Shop/Overloads/ProductInfoThemeContentView/GA4ProductInfoThemeContentView.php:30
              public function prepare_data()
              {
        ├─         parent::prepare_data();
                  
                  if (!property_exists($this, 'selling_unit')
      12: /GXModules/Gambio/KlarnaOSM/Shop/Overloads/ProductInfoThemeContentView/KlarnaOSMProductInfoThemeContentView.inc.php:19
              public function prepare_data()
              {
        ├─         parent::prepare_data();
                  
                  if (!$this->_productIsForSale()) {
      13: /GXModules/Gambio/OmnibusPolicy/Shop/Overloads/ProductInfoThemeContentView/GambioOmnibusPolicyProductInfoThemeContentView.inc.php:24
              public function prepare_data()
              {
        ├─         parent::prepare_data();
          
                  $productListingTextPhrase = $productInfoBadge = null;
      14: /GXMainComponents/View/ThemeContentViews/products/ProductInfoThemeContentView.inc.php:213
                      $htmlOutput = $errorView->get_html();
                  } else {
        ├─             $this->prepare_data();
                      $htmlOutput = $this->build_html();
                  }
      15: /product_info.php:135
          $coo_product_info_view->setAppendPropertiesModel(APPEND_PROPERTIES_MODEL === 'true');
          $coo_product_info_view->setShowPriceTax((int)$_SESSION['customers_status']['customers_status_show_price_tax'] === 1);
        ├─ $t_main_content = $coo_product_info_view->get_html();
          
          $coo_layout_control = MainFactory::create_object('LayoutContentControl');
extra:
  request:
    method: GET
    uri: /yogilino-reise-meditationskissen-mini-oval-basic.html?combi_id=5638
    software: Apache
    address: 81.28.228.170
    userAgent: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.5938.132 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
    time: 373
    remoteAddress: fd2dc74f0aa6ef3bcb6be5b67a9b162a
  query:
    gm_boosted_product: yogilino-reise-meditationskissen-mini-oval-basic
    combi_id: 5638
    products_id: 11087
  session:
    tpl: Malibu
    language: german
    languages_id: 2
    language_charset: utf-8
    language_code: de
    currency: EUR
    customers_status:
      customers_status_id: 1
      customers_status_name: Gast
      customers_status_image: guest_status.gif
      customers_status_discount: 0.00
      customers_status_public: 0
      customers_status_min_order: 0
      customers_status_max_order: 0
      customers_status_ot_discount_flag: 0
      customers_status_ot_discount: 0.00
      customers_status_graduated_prices: 1
      customers_status_show_price: 1
      customers_status_show_price_tax: 1
      customers_status_add_tax_ot: 1
      customers_status_payment_unallowed: 
      customers_status_shipping_unallowed: 
      customers_status_discount_attributes: 0
      customers_fsk18_purchasable: 0
      customers_fsk18_display: 0
      customers_status_write_reviews: 1
      customers_status_read_reviews: 1

Checkliste 0/0

Aktionen #1

Von Till Tepelmann vor mehr als 1 Jahr aktualisiert

  • Tracker wurde von GX-Bug zu GX-Abgewiesen geändert
  • Status wurde von Gemeldet zu Abgewiesen geändert
  • Betroffene Versionen 4.9.2.0 beta1 wurde gelöscht
Aktionen