This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Document 1: | |
| { | |
| "pageContent": "You can use the getField function to get the properties of a field.\n\njs\n\nwindow.dp.methods.getField(field_name);\nvar props = window.dp.methods.getField(\"width\");\n\nThe value of props will have this shape\n\njs\n\n{\n active: 1\n common: 0\n description: \"\"\n dir: \"/dynamicproduct/images/field\"\n ext: \".jpg\"\n favorite: 0\n force_id: false\n id: 66\n id_group: \"0\"\n id_product: 11\n id_unit: 0\n image_url: null\n init: 0\n label: \"Width\"\n linked: \"0\"\n name: \"width\"\n options: []\n position: \"2\"\n settings: {\n color: null\n dir: null\n display_in_popup: null\n display_secondary_value_price: null\n display_value_price: null\n ext: \".jpg\"\n extensions: null\n extra: null\n force_id: false\n hide_when_empty: 1\n id: null\n id_field: 66\n id_unit: null\n init: null\n max: null\n max_date: null\n max_size: null\n min: null\n min_date: null\n min_height: null\n min_width: null |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| You are a helpful assistant for managing DynamicProduct logic and answering questions about DynamicProduct. | |
| Available tools: | |
| <tools> | |
| [46]: | |
| - name: create_field | |
| description: Create a new dynamic field | |
| parameters: | |
| type: object | |
| properties: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Product Configuration: | |
| active: true | |
| required: false | |
| exclude: false | |
| displayed_price: 0 | |
| displayed_price_label: | |
| display_starting_from: true | |
| display_dynamic_price: false | |
| display_customization_cost: false | |
| recalc: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "nodes": [ | |
| { | |
| "parameters": { | |
| "jsonMode": "expressionData", | |
| "jsonData": "={{ $json.documentation }}", | |
| "textSplittingMode": "custom", | |
| "options": {} | |
| }, | |
| "id": "0a52ad6e-9c9c-415f-b1ec-f1782678cdd5", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "nodes": [ | |
| { | |
| "parameters": { | |
| "jsonMode": "expressionData", | |
| "jsonData": "={{ $json.data }}", | |
| "textSplittingMode": "custom", | |
| "options": {} | |
| }, | |
| "id": "38837bb1-6a07-4a22-b400-072aac4af3ac", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "nodes": [ | |
| { | |
| "parameters": {}, | |
| "id": "071695a2-8238-4f65-864d-d7600c30895b", | |
| "cid": "Ikx1Y2FzIFBleXJpbiI", | |
| "name": "Simple Memory", | |
| "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow", | |
| "creator": "Lucas Peyrin", | |
| "position": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT o.id_order, | |
| d.id_design, | |
| d.id_product, | |
| fl.label as label, | |
| layer_lang.label as selected, | |
| CONCAT('https://myshop/', dp.preview) as image | |
| FROM `pr_orders` o | |
| JOIN `pr_productdesigner_design` d ON o.id_cart = d.id_cart | |
| JOIN pr_customized_data cd ON cd.value = d.id_design | |
| JOIN pr_customization c ON c.id_customization = cd.id_customization AND c.in_cart |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "nodes": [ | |
| { | |
| "parameters": { | |
| "jsonMode": "expressionData", | |
| "jsonData": "={{ $json.data }}", | |
| "textSplittingMode": "custom", | |
| "options": {} | |
| }, | |
| "id": "38837bb1-6a07-4a22-b400-072aac4af3ac", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "nodes": [ | |
| { | |
| "parameters": { | |
| "modelName": "models/gemini-2.5-pro", | |
| "options": {} | |
| }, | |
| "id": "a32c839f-144b-47a0-b6a4-bd619e645c81", | |
| "cid": "Ikx1Y2FzIFBleXJpbiI", | |
| "name": "Gemini 2.5 Flash", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "nodes": [ | |
| { | |
| "parameters": {}, | |
| "id": "aa837d1f-f1ab-4d17-8709-ebf99161fc1c", | |
| "name": "On clicking 'execute'", | |
| "type": "n8n-nodes-base.manualTrigger", | |
| "position": [ | |
| -256, | |
| -520 |
NewerOlder