Comments (2)
Hi terwey,
- 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.
- 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.
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)
- GetAvailableSerialsOfEsd function is very slow
- Special character "<" cuts off article names in documents and shopping cart
- Exchange JsMinify with libary
- Malfunction of notes (wishlist) when cookie consent is missing
- Product Images with wrong sorting
- Multiple Database Connection per Request HOT 2
- Remove unnecessary variables from Widgets call
- No translation after category duplication
- ShopPageHydrator ignores attribute translations
- Note / Compare operations should only be possible with POST
- Sorting by release date is actually sorting by date of creation
- Shopping Worlds: Youtube Settings
- Add ESD item to order afterwards
- Sort cross-selling products
- Static fallback to 19% in basket
- make createModelGenerator in ModelManager extensible
- ComponentInstaller creates always new components on plugin reinstallation
- install.sql & snippt.sql file missing in /data/sql/install.sql HOT 5
- How I can fetch Voucher Code in Order details HOT 1
- “Redeemable vouchers per customer” option does not work correctly HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shopware.