-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathquery.xml
44 lines (44 loc) · 2.18 KB
/
query.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?xml version="1.0"?>
<!--
/**
* Copyright 2023 Adobe
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Adobe and its suppliers, if any. The intellectual
* and technical concepts contained herein are proprietary to Adobe
* and its suppliers and are protected by all applicable intellectual
* property laws, including trade secret and copyright laws.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Adobe.
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_QueryXml:etc/query.xsd">
<query name="bundleFixedProductType">
<source name="catalog_product_entity">
<attribute name="sku"/>
<filter glue="and">
<condition attribute="entity_id" operator="in" type="placeholder">ids</condition>
</filter>
<link-source name="eav_entity_type" alias="entity_type">
<using glue="and">
<condition attribute="entity_type_code" operator="eq" type="value">catalog_product</condition>
</using>
</link-source>
<link-source name="eav_attribute">
<using glue="and">
<condition attribute="entity_type_id" operator="eq" type="identifier">entity_type.entity_type_id</condition>
<condition attribute="attribute_code" operator="eq" type="value">price_type</condition>
</using>
</link-source>
<link-source name="catalog_product_entity_int" link-type="inner">
<using glue="and">
<condition attribute="Magento\Catalog\Api\Data\ProductInterface:LinkField" operator="eq" type="identifier">catalog_product_entity.Primary Key</condition>
<condition attribute="attribute_id" operator="eq" type="identifier">eav_attribute.attribute_id</condition>
<condition attribute="value" operator="eq" type="value">1</condition>
</using>
</link-source>
</source>
</query>
</config>