Magento – new extension, to CMS content only defined customer display

customergroupcmsMagento bietet diverse Möglichkeiten, um Funktionen und Inhalte vor bestimmten Kunden / -gruppen zu verstecken oder nur bestimmten Kunden anzuzeigen.

So können (mit oder ohne Extensions) Shipping- oder Zahlarten nur definierten Kundengruppen zugänglich gemacht werden. Es können Preise je Kundengruppe definiert werden, es können Kategorien oder Artikel ein- oder ausgeblendet werden.

Bislang war es aber noch nicht möglich bestimmte Teile eines CMS-Bereiches nur für bestimmte Personen anzuzeigen.

Ein konkretes Beispiel: Sie bieten Ihren Stammkunden Zahlung auf Rechnung und kostenlosen Versand an, den normalen Nutzern aber nicht. Nun könnten Sie mit verschiedenen CMS-Seiten arbeiten und diese dann je nach Gruppe anzeigen.

Viel einfacher ist es aber doch EINE Seite zu haben und die relevanten Teile dann nur bestimmten Gruppen anzuzeigen.

[nur Stammkunden Anfang] Sie zahlen keine Versandkosten [nur Stammkunden Ende]
[alle anderen Kundengruppen Anfang] Die Versandkosten betragen 5,95€ [alle anderen Kundengruppen Ende]”��

Dies kann natürlich auch für viele andere Dinge verwendet werden. Bis zu einem Gewinnspiel, da es auch möglich ist den Inhalt nur definierten KUNDEN (nicht nur Gruppen) anzuzeigen. Mehr Informationen finden Sie direkt in unserem SHOP.

Und als kleine Aktion für unsere Stammleser: Die ersten 15 Besteller erhalten eine Lizenz für einen Shop kostenlos mit Gutscheincode “customergroupcmsfree”�� (im Warenkorb eingeben). Der Code kann pro Kunde nur ein Mal verwendet werden. Die Lizenz der Extension gilt -wie bei unseren anderen Extension auch- für eine Magento-Installation.

Supplement of 17.25 Clock: Da die 15 Lizenzen schnell weg und die Anfragen da waren: Wir verlängern die Aktion noch bis Montag 🙂

Facebooktwitterredditpinterestlinkedinmailby feather
Posted in Magento Extensions | Leave a comment

“Have I told you lately that I hate Magento 2?”

This is a slightly different line of a very beautiful song, the buzzing me more often by the head in the last days. Now I work for good 8 Years with Magento and have all versions since 1.4 (maybe even a little - is too long). So I can say much to see and experience.

Now I was nevertheless forced me after much reluctance and discouragement with Magento 2 to set apart after I ever directly tested at the appearance and "let's see" again dismissed it.

I can wholeheartedly (and because in principle, not everything was better before!) say, I Magento 2 terrible find! My new motto is #IHM2 - fittingly both English and German - I hate Magento 2!

It should be faster than M1 - I could not feel anything so far from.

It should be comfortable and tidier than M1 - it's ... different. Certainly get used to it, However, I have not bemägelt a lack of order in M1.
Just the way a list of product orders and products to filter - in M2 one must first to "filter" button, then out looking for the right filter, since the filters are not next to each other as the columns and then we go ... unnecessary!
If you want to edit a CMS page or block, does not help the click of the respective block, you must first click on "Select" and then "Edit" - what does that? Toll, I have by clicking a "Quickedit function" but how often you name the URL Key times just to compared to substantive changes in the text?

How to get the new Magento Connect "Web Setup Wizard" back to back? I have except for changing the URL is no facility / a link found.

And only the installation of extensions ... a gray! If you do not work with Magento Connect and the cozy "Drag and Drop to Rootfolder" liked - that there are still. Just so it's not done! To all, who do not have shell access to your server: forget M2 (how it works currently)! After each one has DnD by Shell / Command Line (frequent tool is here Putty) initiate the installation of the extension (e.g.. am by "php / magento setup:upgrade”). M2 is then the extension to be installed in the file bin / config.php Enter -as often there was on the part of M1, a change to a file? Ok, installed patches were noted ... but otherwise?
Sometimes a Deploy is also necessary (“php bin/magento setup:static-content:deploy”) - and has it all. Here, significantly more changes may be made than you really wanted. Just quickly is not.

A problem, which can provide here: M2 expected to run the o.g. commands min. PHP (cli) Version 5.3 - it does not exist, it will be difficult. While there are workarounds, but they are not without. One can possibly. access a server-installed higher version, if one does not

“php bin/magento [command]”��

carries, but

“/usr/local/php7.0/bin/php bin/magento [command]”��

This helped in our case.

It continues with the M2 horror:

If you used to work at the template, one found frequently in the skin folder again and there in each of the CSS own themes. Today this is no longer quite so simple.
The front end displays CSS -as Example- is located in the folder pub / static / frontend / Theme / Theme. So if you smaller, makes continuous adjustments to the CSS and later deployed, all changes away again ... Why?
Magento copies the CSS (and images etc.) from the folder app / design / frontend / Theme / Theme in the o.g. Directory AND it also deletes files and folders, are not in the most recent folder available.

So how do you work within the meaning of M2 at CSS? Very easily: Just writes in the CSS in the app directory and need for each change (you'd like to see) Clear the cache management the "Static Files cache". Efficient, or?

Oh - I could go on writing for a long time and the one and other will be sure to think "nonsense - that's a lot better" - but I take the liberty my personal Shit Storm or Fire letter with my personal opinion GANZ, currently the rage drives me into the hair tips.

Therefore # IHM2 and "I'll stay (for the time being) at M1 "

but, that feels good - I'm off 🙂

Facebooktwitterredditpinterestlinkedinmailby feather
Posted in General | Tagged | 2 Comments

Magento – Create your own CSS, the standard CSS overruled

Using an existing (Standard-)Template as e.g.. the RWD theme and would like to customize it according to his own ideas CSS, you should really take the styles.css and customize everything you want to have changed.

But if you want anything / as little as possible styles.css working to, e.g. by. to see his changes better future, you can also create your own CSS file and integrate it into the theme with. This is relatively easy ansich.

You open the local.xml in Theme (or creates) from the folder app / design / frontend /[Eigenes Theme]/[Eigenes Theme]/layout and adds the following code

Now you create naturally own CSS file together with the required name in the directory skin / frontend /[Eigenes Theme]/[Eigenes Theme]/css

Then the CSS adjustments are taken in the theme.

Now, there is the problem, that the default CSS files as the styles.css by the system as a priority be viewed on our own CSS. This is not a problem if you make an adjustment, which is not yet addressed by a CSS file. But if you want an existing definition e.g.. overrule from the styles.css, not working this as.

As Simon Sprankel in his blog post (HERE) declared, this is because, Magento that prefers the CSS files, include a condition.
The other CSS files are e.g.. in the page.xml with a condition such as


So in order to prioritize their own CSS, one must also deposit a condition - even if there is nothing in this.

The code in the local.xml (if this e.g.. only this involves one thing) then reads

For most CSS definitions of the standard CSS files are then overruled by their own CSS. Otherwise helps every now and again "!important "after the definition.

Used in Magento Version 1.9 Comments? Additions? Notes? Gladly!

Facebooktwitterredditpinterestlinkedinmailby feather
Posted in Magento Design | Leave a comment

Magento – Welcome – Message on CMS page / Show in CMS block

The standard "Welcome" message from Magento is known for a long time. It is usually displayed at the top in the header and often disappears again.


but you do not want this "welcome" message in the header but at a desired location e.g.. have on the home page, is this not so easy but-if you know how- but rel. quickly.

  1. If you create a file e.g.. named "welcome-cms.phtml" in the folder app / design / frontend /[Eigenes Theme]/[Eigenes Theme]/template/page/html
  2. Here you copied purely following code:
  3. Saving, Upload. With this code, the default welcome text appears a non-logged-in visitors now, the man> Configuration> Design> "Visible head area" in the backend under System - can enter "greeting". If the user is logged but, is his "Welcome, [his name]"appears. This can now be adjusted directly in the file or about the translation. This was with us in the page.csv be found in app / locale / en_US and there as "Welcome, %out s ".
  4. Now in the desired CMS page, the variable

  5. Last must now (Magento> = 1.9) the authorization are set for the block. This is done by> Permissions> block to make a new entry under System and "page / html" allowed.
  6. Now, in the front end, the welcome message should appear beautiful. It can now be mockup directly from the admin or via the CSS with the class ".welcome-cms"

Used in Magento Version 1.9 Comments? Additions? Notes? Gladly!

Facebooktwitterredditpinterestlinkedinmailby feather
Posted in General | Tagged | Leave a comment

Magento – M2E error when saving a product in the backend

We just got an error message, that occurs when you save a product in the Magento backend. Oddly, not all products, but only for a specific product.

Once you click on "Save" comes

Fatal error: Call to a member function getOptions() on boolean in /app/code/community/Ess/M2ePro/Model/Amazon/Listing/Product.php on line 308

(the line can obviously vary).

This has to do with a database problem and can be corrected as follows (backup database!).

e.g.. log in via phpMyAdmin into the database and run the following SQL command:

Then worked with us to save the products / the product again without problems.

Used in Magento Version 1.9 Comments? Additions? Notes? Gladly!

Facebooktwitterredditpinterestlinkedinmailby feather
Posted in General problems Magento | Leave a comment

Magento – Change the URL of the Contact Us page of contacts

By default, Magento will accommodate the contact page on the URL / contacts. If you want to change this, however - for example, because it is through the URL zugespamt, this can be done with a small adjustment.

We once cast this adaptation into a finished small extension and attached here (download HERE). The URL must now simply the app code local Commercers Contacts etc config.xml be opened to change to a desired URL and then there in row 14 at the desired address to be entered is at the current "contact-us". As an example,

In this case, the contact page would then reachable.

Do not forget possible links e.g.. to consider in the footer, whether this be changed automatically or need to be manually.

A file, die man mglw. must edit is then the contacts.xml in the layout directory of the theme used.

Used in Magento Version 1.9 Comments? Additions? Notes? Gladly!

Facebooktwitterredditpinterestlinkedinmailby feather
Posted in Magento Extensions | Leave a comment

Magento – SSH Database Import – Problem ERROR 1031 (HY000) at line 2623: Table storage engine for ‘catalog_product_relation’ doesn’t have this option


We have just tried a database dump via SSH (Putty) to play to a new server and received the error: “ERROR 1031 (HY000) at line 2623: Table storage engine for ‘catalog_product_relation’ doesn’t have this option“.

This seems to regard a problem. to be MySQL, if previously an update has been made. We helped the SQL file with a simple text editor (e.g.. PSPad) to open and then locate the "Find and Replace" function following text:

Picture”�� ROW_FORMAT=FIXED;”�� (including. Spaces and excl. “”). This text then replace ";”�� (only one ; no spaces or "").

Then import the SQL file again via SSH-Import. Now it should work without problems.

Facebooktwitterredditpinterestlinkedinmailby feather
Posted in Software | Leave a comment

Magento – Forward Undeclared customers directly to the login page

If you want to e.g.. a B2B shop up at the log, the user only once / or. must register, to products and / To view or Categories, you can rely on different Extensions. A very common extension is Groups Catalog 2 of power workers.

With this extension, it is possible only to logged in or even just specific customer groups display products and categories and hide individual products for specific groups. So a great extension.

Only at the beginning we had a little action: If the customer comes to the store page / Landing Page he will not be forwarded directly to the login page, but on the backend under "Web" page defined. Here you can indeed login page deposit but this would mean, that the customer now every time, if he wants to "Home" -so clicking on the logo- would land on the login page.

As we do this but do not want, we resort to a little trick. To this end, we have created a new file. This is called "forced-login.phtml" and located in the folder app / design / frontend /[Ihr Template]/[Ihr Template]n/template/customer.

This file is the following code:

Now this file is or. incorporated into the home page CMS by simply opens the home in the back and there the following line in the default text-area inserts function:

Now the system checks, whether the user is logged in. Is it not this, it is passed directly to the login page or he can look at the home page as normal.

Clear are Google & Co. Now get problems, but since you -As in o.g. Solution- the products and categories eh hidden, should the search engines can not find anything on the page. This could also be an appropriate robots.txt entry make clear.

Used in Magento Version 1.9 Comments? Additions? Notes? Gladly!

Facebooktwitterredditpinterestlinkedinmailby feather
Posted in General | Leave a comment