geschrieben von
am 4. September 2017 - 21:11
Just Enough C for PHP:

This entry is part 1 of 1 in the series Just Enough C for PHP. This is the first post in the series. The funny thing about the C programming language is, if you look hard enough, you can see how it maps out the next 40 years of professional programming. The syntax is the most obvious thing — functions, variables, nested braces, conditionals, loops, indexed lists (i.e. arrays), indexed dictionaries (structs), variable references (pointers), functions-as-variables (function pointers). These are things we all take for granted now, but in 1978 there was no clear consensus on what sort of base […]

geschrieben von
am 4. September 2017 - 20:13
When I’m working solo, (which usually means I’m doing the initial scoping and prototyping of some sort of feature and/or system), my “git workflow” is usually a shove it all into master affair. When I switch off to team work I often find myself in a situation where I’ve done a done of work without branching first. That’s where git move comes to the rescue. Okay, one more… Ever commit something only to immediately realize that you're on the wrong branch? Use "git move <branch>". pic.twitter.com/fKpZTRkdRu — coderabbi™[for rent] (@coderabbi) September 4, 2017
geschrieben von Christian Münch
am 4. September 2017 - 11:55

According to the new native config:set command in the upcoming Magento 2.2 version we need to rename our n98-magerun2 command “config:set” to “config:store:set”.
We also rename the “config:delete” and “config:get” commands to have a consistent names.

Please note that you have to change custom scripts using “config:set”, “config:get” and “config:delete” to be compatible with the next n98-magerun2 release.

Further informations about the Magento 2.2 changes can be found in the developer docs: http://devdocs.magento.com/guides/v2.2/config-guide/deployment/pipeline/

geschrieben von Sebastian
am 4. September 2017 - 11:08

Abgebrochene Warenkörbe bedeuten für Online-Shop-Betreiber verlorenes Geld. Im Jahr 2015 belief sich der durchschnittliche Wert eines Warenkorbes im Online-Handel auf 63,76 Euro. Das kann am Kunden liegen, der sich vor dem Abschluss anders entscheidet, aber auch an serverbedingten Ausfällen. Wie eine aktuelle Umfrage von LeaseWeb und Best IT zeigt, schätzen 46 Prozent der befragten E-Commerce-Experten, dass allein eine instabile IT-Infrastruktur einen […]

Der Beitrag Instabile IT-Infrastrukturen kosten Webshops Millionen erschien zuerst auf Mag-tutorials.de.

geschrieben von
am 3. September 2017 - 1:00
This entry is part 1 of 1 in the series Just Enough C for PHP. This is the first post in the series. The funny thing about the C programming language is, if you look hard enough, you can see how it maps out the next 40 years of professional programming. The syntax is the most obvious thing — functions, variables, nested braces, conditionals, loops, indexed lists (i.e. arrays), indexed dictionaries (structs), variable references (pointers), functions-as-variables (function pointers). These are things we all take for granted now, but in 1978 there was no clear consensus on what sort of base […]
geschrieben von Mark Lavelle
am 31. August 2017 - 16:15

They say time flies when you’re having fun

geschrieben von Vanja Bunjevac
am 31. August 2017 - 14:57

If you don’t run retargeting and remarketing ads, your marketing efforts may not be as profitable as they could be. On average, only 2% of visitors convert during their first store visit, which leaves staggering 98% of visitors unconverted. This is why we use retargeting and remarketing strategies.

To start your retargeting and remarketing campaigns you need to create audiences first – list of visitors who visited the site before. For AdWords retargeting and remarketing we can use two sources to create audiences. Google Analytics and Google AdWords. Google Analytics collects data on all visitors while AdWords collects data only on visitors who previously clicked on an ad. There is also much more flexibility in the Analytics due to various metrics and dimensions it offers compared to the AdWords. That’s why we mostly create audiences in the Analytics and not in the AdWords. But, before you can create audiences, you must ensure you have a properly set Google Analytics…

geschrieben von Dmytro Cheshun
am 31. August 2017 - 12:28

One of the things that Magento first version lacked was an ability to clean up module data from the database upon its removal. This is a common situation when you uninstall an extension but all the related data remains in the database. You can only get rid of it manually. It is inconvenient especially if the module has created a bunch of new tables, custom attributes, system configurations etc. In this case, an automatic removal tool of such data would be very useful.

In Magento 2 there is a great feature, which allows to create an uninstall script for your module. Let’s find out how it works.

Overview

Each module that was installed via composer can be easily uninstalled using the following command:

bin/magento module:uninstall [--backup-code] [--backup-media] [--backup-db] [-r|--remove-data] [-c|--clear-static-content] {ModuleName}

In general, the module uninstall command performs four main tasks:

  1. Removes module’…
geschrieben von Sebastian
am 31. August 2017 - 7:08

Auch für Online-Shops ist Bewegtbild eine Marketing-Disziplin die man nicht vernachlässigen sollte. Im neuen suchradar-Magazin #67 gibt es diverse Artikel rund um das Thema „Video-Marketing: Strategien für YouTube & Co.“. Die neue suchradar-Ausgabe #67 mit dem Fokusthema „Video-Marketing: Strategien für YouTube & Co.“ steht zum kostenlosen Download bereit! Top-Themen dieser suchradar-Ausgabe Hier gehts zum suchradar #67 […]

Der Beitrag suchradar #67: Videomarketing erschienen erschien zuerst auf Mag-tutorials.de.

geschrieben von Elizabeth Van Dyke
am 30. August 2017 - 21:55

Capture your share of purchase-ready holiday visitors with these easy-to-implement tips for Magento

geschrieben von Elizabeth Van Dyke
am 30. August 2017 - 2:40

Use Transactional emails to secure that second purchase and lifelong customers

geschrieben von Antun Martinovic
am 29. August 2017 - 12:53

In this article I will demonstrate how you can create new tab into admin cms page so you can create image gallery similar as upload images for product.

Step 1

Register your module :

<config> <modules> <Inchoo_Gallery> <active>1</active> <codePool>local</codePool> </Inchoo_Gallery> </modules> </config> Step 2

Module configuration :

<config> <modules> <Inchoo_Gallery> <version>1.0.0</version> </Inchoo_Gallery> </modules> </config> Step 3

We need to store images into database so we need to create a model, collection, resource and setup script.Our model will implement JsonSerializable so we need to implement jsonSerialize method which will return required json data about the model.

Config: <!--....--> <global> <models> <inchoo_gallery> <class>Inchoo_Gallery_Model</class> <resourceModel…
geschrieben von asheehan
am 28. August 2017 - 21:04

Preparing For Black Friday and Cyber Monday

We’re less than 90 days out from Black Friday! It might seem like plenty of time to prepare if you’re a shopper, but merchants know – there’s never enough time to get ready for the chaos of holiday sales. At Classy Llama we’ve been been helping merchants prepare for the holidays since 2007! Here are a few things we’ve observed over the years as November e-commerce sales have continued to grow:

Load Testing

The last thing you want is to orchestrate a fantastic set of holiday promotions and then have your site go down because your hardware couldn’t handle the load. Letting your customers test your infrastructure for you is an expensive way to learn! We recommend testing your site now, because if critical…

geschrieben von
am 28. August 2017 - 5:03
Calling them Home:

With all the Yahoo and Verizon shenanigans going on I decided to pull my Magento Quickies posts off Tumblr and hold them close again at my personal home page. You can find all the old posts in the Programming Quickies category. DNS is doing its DNS thing, but magento-quickies.alanstorm.com should eventually redirect to that same category page, and all the old URLs should be safely redirected to the right place. This post will be proof that the new IFTTT rule I’ve setup will make a link post to the remnant magento-quickies.tumblr.com, which I’m keeping around for folks who prefer getting […]

geschrieben von
am 28. August 2017 - 4:47
With all the Yahoo and Verizon shenanigans going on I decided to pull my Magento Quickies posts off Tumblr and hold them close again at my personal home page. You can find all the old posts in the Programming Quickies category. DNS is doing its DNS thing, but magento-quickies.alanstorm.com should eventually redirect to that same category page, and all the old URLs should be safely redirected to the right place. This post will be proof that the new IFTTT rule I’ve setup will make a link post to the remnant magento-quickies.tumblr.com, which I’m keeping around for folks who prefer getting […]
geschrieben von
am 28. August 2017 - 2:49

Hello Tumblr denizens! Just a quick heads up – I’m migrating my writing off this blog and onto my main site in a new Programming Quickies category.

If you prefer to see the internet is through Tumblr, don’t worry. While I needed to move old posts off Tumblr I’m setting some IFTTT recipes to cross post excerpts and links from new posts. You’ll miss nothing as we sit here together, hoping Verizon doesn’t leave a trail of destruction in its wake.

I’ll have more to say about this shortly. Until then, be kind to each other.

geschrieben von Christian Münch
am 28. August 2017 - 1:43

 

We are happy to announce two new n98-magerun releases. It is the first time we release both Versions at once.
Both versions contain new features and a ton of bug fixes. With the future releases we try to mainline the code of both repositories. Our “gatekeeper” Tom Klingenberg is responsible for this.

Changelog n98-magerun1 (Version 1.98.0)
  • Fix: Borken image Bitdeli.com badge in readme (by Tom Klingenberg)
  • Fix: Check Suhosin phar support (report by Decorate, fix by Tom Klingenberg, #926)
  • Fix: File hash is optional in package.xml (report by Viktor Szépe, fix by Tom Klingenberg, #927)
  • Fix: Show full path for phpstorm autocompletion folder (by Carlos Reynosa, #922)
  • Fix: Enterprise Edition detection / enabling commands (report by Luke Rodgers, fix by Tom Klingenberg, #902)
  • Fix: Nonexistent class reference in config (by Tom Klingenberg)(by Chris Potter, #909)
  • Fix: File integrity checking…
geschrieben von markoshust
am 25. August 2017 - 22:21

PHP 7 introduced the null coalesce operator. Basically, it's syntactical sugar and shorthand when checking for the existence of a variable and then falling back to some value.

For example, this small script outputs bar, because $foo is not yet defined.

echo $foo ?? 'bar';

It's the same thing as writing the following, just much more readable and succinct:

echo isset($foo) ? $foo : 'bar'; Objects

What isn't documented anywhere though is how you can benefit from null coalesce when working with objects and arrays. Let's say you are wanting to return a property on an object, but aren't sure if that object exists. You need to check the base object by doing multiple checks on object properties and their children:

class Foo {} $foo = new Foo; echo isset($foo) && isset($foo->b) && isset($foo->b->c) ? $foo->b->c : 'baz';

You can see how it can easily…

geschrieben von Luka Rajcevic
am 23. August 2017 - 9:25

There might be times when you do not want your catalog to be publicly visible, especially if running a B2B shop. Reasons for this are numerous but, from our experience, prices are on top of the list. Unfortunately, when it comes to Magento (at least Open Source edition), this feature is not available out of the box. Lucky for us, implementation is pretty straightforward. Let’s dig in.

The idea

When a customer tries to access the store (catalog, CMS, checkout, etc.), redirect him to login form (if he is not already logged in).

The plan

When planning this feature, good thing to know about Magento is that every route is composed of 3 parts:

  1. Module name
  2. Controller name
  3. Action name

We can use this piece of information on every request that comes to Magento, in order to see where the request is supposed to go.

This is only half of the information we need. Additionally, we need to know whether…