Доработка yml выгрузки
Есть файл Yml выгрузки.
Он работает по принципу - выгружать все товары, которые в статусе включено и в количестве больше 0.
Но у меня возникла потребность часть товаров от одного поставщика не выгружать после определенной высоты ид товара и из определенных категорий .
Я вижу решение следующим образом:
Создать white list категорий сначала.
У каждого товара есть product_id, в файле выгрузки он же offer id=""
В файле который генерирует файл выгрузки надо написать исключение для Товаров с product_id выше 65000 не выводить.
Но так как нужно не выводить товары только одного поставщика - нужно идентифицировать их по 1 ихз 2 парамтетров:
можно по supplier - YMLd2d4fd6699ba4ad7bb9f7ce6e29abc97
или <stock_quantity>99</stock_quantity>
Тоесть если товар товар относится к одному из критериев или саплаер или stock_quantity, то нужно проверить принадлежит ли он к категориям в white list.
Если да - пропустить в выгрузку
сли нет - проверить его offer id="" и если он выше 65 000 - товар не выводить, ниже - пропустить
Current freelance projects in the category Web Programming
Development of a WebGL/Three.js scene with generation and export of 3D (snapshot) from an animated shaderObject Description:The project is a designer table shaped like a realistic, deep whirlpool (a central vortex that smoothly transitions from a wide horizontal tabletop to a thin elegant leg). Task Essence:A WebGL / Creative Coding developer is required to create an interactive 3D… Javascript and Typescript, Web Programming ∙ 13 hours 25 minutes back ∙ 18 proposals |
Create a website on WP, without a builder.
356 USD
Need to create a catalog (most likely without a cart) just a product request form without using Elementor and others there should be a main page, product page, catalog, supplier catalog, and possibly a few others design and style like this… Web Programming ∙ 13 hours 32 minutes back ∙ 76 proposals |
Shopify developer for sushi delivery website (Poland)We are looking for an experienced Shopify developer to implement a food delivery website (sushi) for a client from Katowice, Poland. What needs to be done: Set up the site on a ready-made Shopify template (template to be agreed upon) Menu with photos of dishes and descriptions… Web Programming ∙ 14 hours 57 minutes back ∙ 34 proposals |
Webflow developer for filling portfolio pages on the websiteA website custom-built on Webflow for a construction company needs to quickly fill project pages using one template (replace images and texts) For 2 languages Quantity - 6 pieces Ready to start asap, thank you! HTML & CSS, Web Programming ∙ 1 day 6 hours back ∙ 38 proposals |
LearnWorlds Administrator-ConfiguratorTask Set up the ready-made LearnWorlds platform for an elite online course. Do not develop the architecture — implement the already prepared structure manually in the admin panel. ———————— What needs to be done: Branding ⦁ Connect your domain ⦁ Upload the logo, set up… Content Management Systems, Web Programming ∙ 1 day 9 hours back ∙ 10 proposals |