geschrieben von
am 4. Juni 2018 - 13:21
This Stack Overflow post about some weird differences between direct instantionation of an Array vs. using the new Array constructor function is a great example of why coding standards can be more than just window dressing. It’s not that one of the methods is better than the other, but by chosing one over the other you avoid the mental overhead of accounting for inconsistant behavior in whatever language you’re using.
geschrieben von Dmytro Cheshun
am 4. Juni 2018 - 8:49

In this blog post, I would like to share a pretty interesting and not obvious solution on how to join some additional details to cart item block on checkout cart page.

Let’s say we need to add the “Brand” custom product attribute and show its value within a specific block on the product view page and checkout cart page. It’s very simple in the scope of the product page, but how to deal with number cart items on checkout cart page. There are a couple of issues which you may face with. We will cover them further.

Product View Page

If the default product information tab containing the list of visible product attributes is not enough, and you need to use some custom block with its own structure, in some specific place – you can simply retrieve the product from the registry and get the needed attribute value:

/** @var \Magento\Catalog\Model\Product $product */ $product = $this->registry->registry('product'); $brand = $product->…

geschrieben von
am 3. Juni 2018 - 15:13
Modern MySQL and User Authentication:

Given the date on the Stack Overflow post that saved me this is probably old hat for most of you, but it looks like the MySQL configuration provided by Ubuntu 18’s default apt-get repositories defaults to using “the auth_socket plugin”, which links your MySQL logins with your actual system login. Gave me a bit of the get off my lawn once I figured out what was going on.

geschrieben von
am 3. Juni 2018 - 13:37
Given the date on the Stack Overflow post that saved me this is probably old hat for most of you, but it looks like the MySQL configuration provided by Ubuntu 18’s default apt-get repositories defaults to using “the auth_socket plugin”, which links your MySQL logins with your actual system login. Gave me a bit of the get off my lawn once I figured out what was going on.
geschrieben von Elizabeth Van Dyke
am 1. Juni 2018 - 22:14

The cupcake maven shares the key ingredients of her success

geschrieben von Elizabeth Van Dyke
am 1. Juni 2018 - 22:14

The cupcake maven shares the key ingredients of her success

geschrieben von Dmytro Cheshun
am 29. Mai 2018 - 8:41

Magento 2 implements the service contracts design pattern – a set of PHP interfaces that are defined for a module. A service contract includes service and data interfaces, which hide business logic details from service requestors such as controllers, web services, and other modules.

Web APIs in Magento 2 are bound to service contracts via configuration files. The API Data interfaces strictly define the data set available for data object for the entity, return types etc. Basically, the data interface represents the data to be included in the response, when it comes to WebAPI. Third-party developers cannot change API Data interface in the Magento core. So, the only way to affect interfaces using configuration is to add extension attributes. However, there is one requirement – data object to be extended must also implement the Magento\Framework\Api\ExtensibleDataInterface interface.

Let’s imagine we need to add a new “Customer Feedback…

geschrieben von Elizabeth Van Dyke
am 25. Mai 2018 - 16:46

Updated Magento Commerce policies and agreements meet GDPR standards

geschrieben von Elizabeth Van Dyke
am 25. Mai 2018 - 16:46

Updated Magento Commerce policies and agreements meet GDPR standards

geschrieben von Fabian Blechschmidt
am 24. Mai 2018 - 15:31

Thanks to DSGVO some customers want to have a cookie notice:

Bildschirmfoto-2018-05-24-um-15.22.39

Magento has this feature already built in. You can turn it on in the backend:

System > Configuration > General > Web > Session Cookie Management > Cookie Restriction Mode: YES

Beside this you can define what the customer sees in the CMS block: cookie_restriction_notice_block.

Magento can have the same cms block identifier for different stores. Unfortunately this doesn't work for this feature.

The reason is:

class Mage_Page_Block_Html_CookieNotice extends Mage_Core_Block_Template { public function getCookieRestrictionBlockContent() { $blockIdentifier = Mage::helper('core/cookie')->getCookieRestrictionNoticeCmsBlockIdentifier(); $block = Mage::getModel('cms/block')->load($…
geschrieben von
am 24. Mai 2018 - 14:49
Adobe Buys Magento:

I imagine it’s a narrow sliver of folks who follow this site and don’t follow the trades, but just in case: Adobe is going to buy Magento Inc. Right now there’s the usual sound and fury you’d expect from the usual places — Magento’s relentlessly on-message machine isn’t slacking off just because their goal is in sight. The sale doesn’t feel like much of a surprise although the buyer’s thrown folks for a loop. Sit with it a moment though, and you realize Adobe 2018 is a lot like the game company Steam — they’re innovating less in what the […]

geschrieben von
am 24. Mai 2018 - 14:49
Weird PHP Operators:

This one came across my desk last week. Dangers of using a kitchen sink language I suppose.

geschrieben von Toni Anicic
am 24. Mai 2018 - 13:59

As GDPR is just about to take effect, we wanted to take a moment of your time to notify you of the steps we took to bring our business processes in line with some of the requirements in general data protection regulation.

Our Privacy & Data Protection Policy:

We updated our Privacy & Data Protection Policy to make it clearer to our website visitors which personal information we process, who we share it with, and on which lawful bases do we process this information.

The privacy policy also informs you of your rights that come from GDPR articles 12 to 23.

Since we’re processing some of your personal data using Google Analytics and we’re basing this processing on our legitimate interest to know where our visitors come from to our website and which marketing channels work well for us, you have the right to object to processing of your personal…

geschrieben von
am 24. Mai 2018 - 13:45
I imagine it’s a narrow sliver of folks who follow this site and don’t follow the trades, but just in case: Adobe is going to buy Magento Inc. Right now there’s the usual sound and fury you’d expect from the usual places — Magento’s relentlessly on-message machine isn’t slacking off just because their goal is in sight. The sale doesn’t feel like much of a surprise although the buyer’s thrown folks for a loop. Sit with it a moment though, and you realize Adobe 2018 is a lot like the game company Steam — they’re innovating less in what the […]
geschrieben von Covos
am 24. Mai 2018 - 11:27
„Flash ist zu unsicher und wird abgeschaltet“ – diese Nachricht ist seit einiger Zeit bekannt und nun merkt man es doch immer mehr. Zuerst musste man in Browsern aktiv erlauben, dass Flash für verwendet wird und nun gibt es darüber hinaus gehende Einschränkungen. Bekannt war das Problem mit Flash schon lange im Bereich des Bild-Uploades...
geschrieben von
am 23. Mai 2018 - 13:36
This one came across my desk last week. Dangers of using a kitchen sink language I suppose.
geschrieben von Zoran Salamun
am 23. Mai 2018 - 12:21

Symfony 4, (further in the text – Symfony) for templating provides twig bundle, which is a very useful templating engine. It is built by SensioLabs – the company behind Symfony. Besides Symfony, there are more platforms supporting Twig such as Drupal8, eZPublish, phpBB, Piwik, OroCRM, etc. In this article we will cover the basics and show how to extend them. Twig is by default not installed with Symfony, you need to include symfony/twig-bundle with the composer (composer require symfony/twig-bundle).

Features

Twig has a lot of built-in features separated into groups, which can be divided into operators, functions, tags, filters, and tests. A lot of things can be done with built-in features, however, it is also possible to extend twig’s functionality. Templates should have “.html.twig” extension and they can be reused.

Templates

Templates are located inside templates folder, bundles are located inside [Bundle root]/Resources/views. Every template…

geschrieben von Sebastian
am 23. Mai 2018 - 7:44

Adobe hat den E-Commerce-Software-Anbieter Magento geschluckt. Der Preis: 1,68 Milliarden Dollar. Damit bringt sich der Anbieter von Photoshop & Co. auf Augenhöhe mit Unternehmen wie Salesforce.com. Das Umsatzpotenzial beziffert Adobe auf rund 13 Milliarden Dollar. Adobe Systems Inc., die Softwareschmiede die unter Anderem hinter der Fotobearbeitungssoftware Photoshop und dem Acrobat PDF Reader steht kauft die […]

Der Beitrag Adobe kauft Magento für 1,68 Milliarden Dollar erschien zuerst auf Mag-tutorials.de.

geschrieben von akobrina
am 21. Mai 2018 - 20:52

Mark Lavelle shares his thoughts on the announcement.

geschrieben von akobrina
am 21. Mai 2018 - 20:52

Mark Lavelle shares his thoughts on the announcement.