cost 97 ms
Shopware 6 - 自定義 CMS 元素:如何將數據從兩個存儲庫獲取到自定義 CMS 塊中?

[英]Shopware 6 - Custom CMS elements: How to get the data from two repositories into a custom CMS block?

我們正在開發自定義 shopware 6 插件。 此插件包含一個帶有兩個 CMS 元素的自定義 CMS 塊。 CMS 元素需要來自兩個彼此不關聯的不同自定義存儲庫的數據。 我們嘗試設置兩個 DataResolver(每個 CMS 元素一個),但它們正在相互覆蓋。 所以我們試圖將所有內容都放在一個 ...

Shopware 過濾器也對僅使用變體的產品使用父價格

[英]Shopware filter is using parents price also for products where only variants are being used

我們對 shopware 6 進行了明智的集成。它們也集成了產品變體。 但是:對於變體產品的父產品 - 他們在價格字段中輸入 999.999€。 產品變體確實具有正確的價格。 問題是:我們使用 client-api 來獲取一個類別的所有產品以及它們的過濾器。 (參見https://shopware ...

在 Shopware 6 中使用 associationField 擴展購物車

[英]Extend Cart with an associationField in Shopware 6

我的 Shopware 6 購物車有問題。 我需要擴展它,添加一個字段以與我創建的“商店”實體建立關聯,但我沒有在文檔中看到執行此操作的方法。 在開始之前,我雖然在 Shopware 中使用 Entity 和 EntityDefinition class 中的 EntityDefinition cl ...

Shopware 6 按發票編號搜索

[英]Shopware 6 search by invoice number

是否可以按發票號搜索? 當我按發票 ID 搜索時,我想顯示發票。 已在搜索首選項中選擇文檔編號。 例如,當我按 2090 年搜索時,我想顯示發票。 ...

在一個 Shopware 購物車中實現多次發貨的最佳方式?

[英]Best way to realize multiple shipments in one Shopware cart?

我用 Shopware 6 建立了一個市場,每個供應商都有自己的物流和倉庫。 我想讓客戶在一個購物車中從多個供應商處訂購。 構建這個的最聰明的方法是什么? 我應該將來自一個供應商的所有 CartItem 放在容器類型的 CartItem 中嗎? 每個人都這樣做嗎? 我的意思是有這個容器 CartI ...

由於缺少列“order_line_item.order.order_line_item_version_id”,在 Shopware 6 中獲取 OrderLineItems 的查詢失敗

[英]Query for getting OrderLineItems in Shopware 6 fails due to missing column 'order_line_item.order.order_line_item_version_id'

我正在嘗試獲取 Shopware 6.4.18.1 中的所有 OrderLineItems,它們是某個制造商的產品並且: 支付(如果使用預付款) 或者: 部分支付付款中付款開放以下代碼:<?php declare(strict_types=1); namespace MyBundle\Ap ...

如何從 Symfony 捆綁包中添加 Shopware 6 管理配置?

[英]How do I add Shopware 6 Administration configuration from inside a Symfony bundle?

我正在嘗試從 Symfony 包中向 Shopware 6 的管理區域添加配置。 我已經按照官方文檔進行操作,但是管理區域中沒有顯示任何內容。 捆綁配置位於路徑下 與文檔中的內容<?xml version="1.0" encoding="UTF-8"?> <config xmln ...

如何在Shopware 6 App中添加實體擴展?

[英]How to add entity extension in Shopware 6 App?

我想查詢某個Shopware app的商品listing中商品的分類,這樣就可以查詢到所有分類的customFields。 這甚至可以通過應用程序實現嗎? 我已經嘗試通過導航頁面加載。 當我覆蓋 box-standard.html.twig 並訪問產品時,我無法訪問那里的類別。 對於每個產品,我都 ...

如何確保我的擴展程序將在另一個擴展程序之后加載?

[英]How to make sure that my extension will be loaded after the another one?

我有兩個插件:我自己的 Plugin1 和 Plugin2 來自 store.shopware.com 我正在使用 Plugin1 從 Plugin2 覆蓋管理面板中的一些 function,並且由於加載此擴展的順序,覆蓋每次都不起作用。 我添加了 console.log 的 onCreated ...

當我在 testenv 中通過管理員 API 創建新訂單時,項目和總四舍五入是 NULL

[英]Item & total rounding is NULL when I'm creating new order by Admin API in testenv

我正在通過管理員 API創建新訂單。 它適用於除testenv之外的所有環境。 創建了訂單,但數據庫中的item_rounding和total_rounding是NULL 。 所以在管理面板中我看不到訂單詳細信息,因為 Vue 由於缺少舍入信息而拋出錯誤。 2 個訂單,第一個是由管理員 API ...

是否可以為自定義實體創建配置文件以使用 CSV 導入/導出數據?

[英]Is it possible to make a profile for a custom entity to import/export data with a CSV?

在 shopware 中,可以使用配置文件導入/導出數據。 請參閱以下鏈接。 https://docs.shopware.com/en/shopware-en/settings/importexport 現在唯一的問題是我想上傳自定義實體的數據。 我在配置文件中找不到自定義實體。 所以我的問題 ...

Shopware 6 API Bulk Update entity product and other issue single error don't update all

[英]Shopware 6 API Bulk Update entity product and other issue single error dont update all

在 API 更新產品中需要一點幫助 https://shopware.stoplight.io/docs/admin-api/faf8f8e4e13a0-bulk-payloads#performance 我們有產品 1、2、3..... 最多 100 種,我們從我們的 ERP 中批量更新數量(單 ...

Shopware 6 更改計划任務間隔值的自定義插件

[英]Shopware 6 Custom plugin that changes the schedule task interval value

我想創建一個可以設置計划任務間隔的插件。 Shopware 在 Schedule_task 表中有一個名為 run_interval 的數據庫字段。 管理員將輸入一個值,該值將更改 scheduled_task 表中的 run_interval。 這可能嗎? 我怎樣才能做到這一點? ...

如何在側邊欄導航中包含服務菜單?

[英]How to include Service-Menu in Sidebar Navigation?

我試圖將服務菜單塊包含到邊欄的 twig 文件中,該文件加載到類別頁面中,但由於某種原因,這不起作用。 它的代碼相同,這在頁腳部分有效。 如果我在那里寫一些 static html 它會顯示,但是菜單中的頁面沒有列出。 有人可以幫忙嗎? 這是服務菜單中的代碼: {% sw_include '@St ...

在 Shopware 6 應用程序中與店面客戶的 session 互動

[英]Interact with storefront customer's session in Shopware 6 app

我需要檢索連接到店面后端的客戶,以不同的方式獎勵他。 我創建了一個擴展插件系統的plugin.class的插件。 它使用路由store-api/account/customer在商店 api 上獲取客戶,然后將其標識符發送到我的后端。 我還將管理員 api 的shop_url解析為window.lo ...

Showpare 6 個自定義片段未顯示在店面

[英]Showpare 6 custom snippets not shown on storefront

我最近將 shopware 更新到 6.4.18 並注意到所有自定義片段在店面上都是空的。 因此,只給出了片段名稱而不是值。 有人知道原因以及如何解決嗎? 編輯:我向我正在使用的主題的插件制造商的支持團隊詢問。 他們已經知道這個錯誤並為此錯誤編寫了文檔: https://themedocs-sw6. ...

如何獲得 Shopware 6 中文檔的持久鏈接?

[英]How to get a persistent link to document in Shopware 6?

是否有可能獲得指向文檔媒體 object 的持久 static 鏈接? 如果我們使用新的詳細信息更新文檔並通過管理界面執行“更新和替換”,文檔仍會獲得新的 ID,因此會破壞指向 Shopware 文檔的任何外部鏈接。 SHOPWARE_CDN_STRATEGY_DEFAULT選項都沒有幫助解決這 ...

Shopware Paypal模塊導致的JS構建錯誤

[英]JS building Error caused by Shopware Paypal Module

因為我通過作曲家安裝了 SwagPayPal 模塊,所以在使用build-storefront.sh構建店面時出現以下錯誤: 有誰知道是什么原因造成的以及如何解決這個問題? ...


 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM