Heute hatte ich die kleine Herausforderung in Shopware 5 URL's per Freitextfeld-Attribut (z.B. attr20) SEO-URLs diverser Seitentypen manuell zu übersteuern. Dies erfolgt über die Einstellungen > Grundeinstellungen > SEO/Router-Einstellungen
Snippets
Shopware 5 bietet mit einem entsprechenden Smarty Plugin eine gute und sichere Lösung zur URL-Generierung im Template an. Dazu wir die Smarty funktion "url" verwendet, der entsprechende Parameter übergeben werden. Details dazu finden sich
If you'd like to output Drupal 8 Media file size (mapper field) output in human-readable format, this snippet may help you!
(IFNULL(us.zipcode,ub.zipcode) IS NOT NULL) AND (IFNULL(us.zipcode,ub.zipcode) IN ('32312', '32310', '12345')) AND MIN(SELECT 1 FROM s_articles_categories WHERE articleID=a.id AND categoryID IN (22,56)) AS erlaubtekategorie
In the last days I developed the ZURB Foundation Views integration module for Drupal 8. To match the markup required by foundation accordion we first had to write a views style plugin in our module.
Nachfolgend das JTL Shop 4 Exportformat am Beispiel Idealo, wenn ihr Name und Wert der Varianten direkt hinter dem Artikelnamen ausgeben möchtet. Dieser Trick wird z.B. verwendet, um Klicks auf (Kind-)Artikel zu vermeiden, die nur noch in
Today I'd like to share a little snippet with you on how to add or remove fields from the inline entity form line items table in a product edit form. By default that inline entity form table contains Weight Product variation title Price
Today I'd like to discuss a little Drupal 8 snippet to dynamically load an entity from the controller by the current path. This acts a bit like a Drupal 8 replacement for Drupal 7's menu_get_object(). Use case / example:
Dir hat dieser Beitrag Zeit und viele Nerven gespart?
Dann würde ich mich sehr über einen leckeren Kaffee freuen! Oder ein spannendes Tech-Buch aus meiner Wunschliste?