Giter Site home page Giter Site logo

connecticus / spree_yandex_market Goto Github PK

View Code? Open in Web Editor NEW

This project forked from youroff/spree_yandex_market

0.0 1.0 0.0 115 KB

Export to YandexMarket Language format for Spree

License: BSD 3-Clause "New" or "Revised" License

Ruby 61.27% JavaScript 0.43% CoffeeScript 5.27% CSS 0.73% HTML 32.30%

spree_yandex_market's Introduction

spree_yandex_market

Little extension for exporting products into Yandex Market Language format. This extension is interested mostly for cyrilic users.

Особенности:

  • Соответствие формата требованиям Яндекс.Маркет на май 2013
  • Полное управление через админ-интерфейс (ищите вкладку "Экспорт в YandexMarket" в разделе конфигурации)
  • Возможность выбора таксономии, которая будет отражать категории
  • Возможность частичного экспорта (Путем выбора таксонов первого уровня)
  • Экспортирует отсутствующие товары, если в настройках Spree выбрано показывать их на сайте
  • Обрабатывает опции вариантов и склеивает их в параметры (напр.: цвет - зеленый, красный, синий)
  • QuickFix генератора ссылок. Оригинальная версия превращает угловые кавычки в << и оставляет обратный апостроф, что не нравится парсеру на стороне Яндекса.

TODO:

  • Другие модели данных, кроме vendor.model
  • Получение производителя и модели из других источников (таксоны, ...?)
  • Контроль ставок
  • ТЕСТЫ

Установка

  1. В Gemfile добавляем строку: gem 'spree_yandex_market', github: 'youroff/spree_yandex_market'

  2. Запускаем bundle

  3. Запускаем rails g spree_yandex_market:install

  4. PROFIT :)

Примечания

  • Яндекс требует заполнения полей производитель и модель, их можно выбрать из свойств продукта.
  • Не забудьте установить site_url с http://, это значение используется для генерации полных ссылок на товары и изображения.

Copyright (c) 2013 Ivan Youroff, released under the New BSD License

spree_yandex_market's People

Contributors

youroff avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.