Git Product home page Git Product logo

Comments (2)

dnoegel avatar dnoegel commented on May 18, 2024

Hi terwey,

  1. Currently there is no replacement for the core classes and right now I can not tell you, when and how this will happen. So working with the core classes is perfectly fine until we have a transition plan.
  2. You might be interested in this tutorial about our Hook System: http://wiki.shopware.de/_detail_981.html#Hooks
    There is even an example of replacing a method in sArticle with a custom method.

A (very) stripped down example of such a plugin can be found here: http://wiki.shopware.de/_detail_934_487.html Just download the archive (the link is titled "Download: Gepackte Beispiel Plugins aus der Entwicklerschulung") and navigate to /Core/EventsHookExample3.

Right now most of our developer-docs are still german - I hope this will change over time :)

Best regards

from shopware.

terwey avatar terwey commented on May 18, 2024

Hi @dnoegel,

thank you for your reply. I've managed to build a Plugin now instead of hacking on top of Core code :) This is a bit slower (cause it loops twice through data now) but eventually more "Plug 'n Play".

If your interested it's here: https://github.com/terwey/YTCategoryProperties
A license I have not picked yet.

Concerning the docs, yes it's a shame most of them are now in German. It makes sense with Shopware being a German company and all but on a global market it's a bit of a shame cause Shopware is a LOT more modern then the alternatives (which either lack docs or have none at all either haha).

from shopware.

Related Issues (20)

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.