King Mo's Blog

Coding 'n shit

Category: Magento

Magento “Random Upsell Products” Module

What it does

This module automatically adds random upsell products to any product view. The upsell products are picked based on on the products categories and price. It also adds a configuration option for the upsell product limit. Specific categories can be excluded as a search criteria.

How it works

When a product page is loaded and random upsell products are activated the module first checks if there are manually assigned upsell products and if these reach the upsell product limit already. If not it checks the products categories and if some of them are excluded.

The categories left are the ones the upsell products will be picked from. Next it takes the shown products price and searches for products which are in the categories which are used and which have a higher price than the shown product.

If not enough products are found with this criteria it searches again but takes only half the price as minimum. This will be repeated until enough products are found (but max. 5 times). Then for the last step it randomly picks products from the found ones until it reaches the upsell product limit. These products will then be shown in the product view as upsell products.

How to get it and how much it costs

You can buy this module here:

http://magento-modules.king-mo.solutions/random-upsell-products

Price: 25€

Installation

If you bought the module you’ll have the random-upsell-products.zip downloaded.

The zip contains a second module called ConfigTab. This is just for keeping configurations organized and prevent conflicts. Install this also for Random Upsell Products to work.

Now there are two ways to install the module:

app-folder:

Inside the zip file there is a folder ./app. The contents of this folder mirror exactly the paths were the module files should be copied to. Therefor you can simply copy this folder into the root folder of your Magento installation and all necessary files will be copied to the correct places.

In this case no extra installation for ConfigTag is needed.

Magento Connect Manager:

Beside the ./app folder there is also a file contained in the zip: KingMo_RandomUpsell-1.0.0.tgz (version number may change). This file you can upload to the Magento Connect Manager which can be found in the admin backend under “System” -> “Magento Connect”. Inside the Manager there is a section called “Direct package file upload”. Upload the .tgz file there and the module will be installed.

In this case please do the same with the KingMo_ConfigTab-1.0.0.tgz file!

If you have any problems

If you have any problems with the download or installation of this module please send me an email to magento-modules@king-mo.solutions.

If you need the modules functionality extended or even a custom module or anything contact me to, I’d be glad to hear from you!

Peace, Mo

 

Magento “Cookie Guest Wishlist” Module

What it does

This modules enables customers to use the Magento wishlist feature without having to be logged in. They are able to add and remove products just like when being logged in. The only feature which is disabled for guests is sharing the wishlist since I thought it wouldn’t be a good ideo letting anybody send emails via your shop. If a customer logs in the guest wishlist will be assigned to his account and if the account already has a wishlist they will be merged.

How it works

Every wishlist has an internal id assigned to it. Normally it also has a customer id assigned to it so Magento knows which wishlist to load when a customer is logged in. This module makes it possible to save wishlists without an assigned customer. The id of the wishlist will then be written into a cookie and saved in the guests browser. Therefor when a guest returns the id will be retrieved from the cookie and the corresponding wishlist will be loaded.

The module does not change anything in the look and feel of the wishlist it just determines when and how a wishlist will be loaded.

Now there could be the case that a customer has an account and already created a wishlist with this account but comes back as guest and creates another wishlist. In this case, as soon as he logs in again the module will compare both wishlists, add all products added as guest which aren’t already in the customers wishlist to it, delete the guest wishlist and set the cookie value to the customers wishlist id. Therefor from then on the customer always has the same wishlist either if he’s logged in or not.

How to get it and how much it costs

You can buy this module here:

http://magento-modules.king-mo.solutions/cookie-guest-wishlist

Price: 25€

Installation

If you bought the module you’ll have the cookie-guest-wishlist.zip downloaded. Now there are two ways to install the module:

app-folder:

Inside the zip file there is a folder ./app. The contents of this folder mirror exactly the paths were the module files should be copied to. Therefor you can simply copy this folder into the root folder of your Magento installation and all necessary files will be copied to the correct places.

Magento Connect Manager:

Beside the ./app folder there is also a file contained in the zip: KingMo_CookieWishlist-1.0.0.tgz (version number may change). This file you can upload to the Magento Connect Manager which can be found in the admin backend under “System” -> “Magento Connect”. Inside the Manager there is a section called “Direct package file upload”. Upload the .tgz file there and the module will be installed.

If you have any problems

If you have any problems with the download or installation of this module please send me an email to magento-modules@king-mo.solutions.

If you need the modules functionality extended or even a custom module or anything contact me to, I’d be glad to hear from you!

Peace, Mo

Magento “Manually Complete Orders” Module

What it does

This plugin adds a “Complete”-button the order view and a “Complete”-bulk action in the order grid view in the admin backend. With it you can manually set the status of any order to complete. It also sets the amount of money paid to the total of the order, so it will be added to the statistics correctly.

The problem it originally solved

One day the guy running a shop I was working on came to me and told me that they have a problem with an order being stuck in Magento. This happened because someone wanted to buy a product but canceled the order, for whatever reason, while being in the payment process. The order was completed “offline” but in the Magento backend it had the status “Pending Payment” and simply no way to change that. That’s how/why this module was developed.

How to get it and how much it costs

You can buy this module here:

http://magento-modules.king-mo.solutions/manually-complete-orders

Price: 5€

Installation

If you bought the module you’ll have the manually-complete-orders.zip downloaded. Now there are two ways to install the module:

app-folder:

Inside the zip file there is a folder ./app. The contents of this folder mirror exactly the paths were the module files should be copied to. Therefor you can simply copy this folder into the root folder of your Magento installation and all necessary files will be copied to the correct places.

Magento Connect Manager:

Beside the ./app folder there is also a file contained in the zip: KingMo_CompleteOrders-1.0.0.tgz (version number may change). This file you can upload to the Magento Connect Manager which can be found in the admin backend under “System” -> “Magento Connect”. Inside the Manager there is a section called “Direct package file upload”. Upload the .tgz file there and the module will be installed.

If you have any problems

If you have any problems with the download or installation of this module please send me an email to magento-modules@king-mo.solutions.

If you need the modules functionality extended or even a custom module or anything contact me to, I’d be glad to hear from you!

Peace, Mo

My Magento Modules

I’m back

Well, well, it’s been a while since I wrote something on this blog. What a stressful year 2015 was.. But it’s over soon and I have big plans for 2016. This blog and the whole “King Mo Solutions” thing is a part of this plans so there will be coming more soon. But telling that isn’t really the purpose of this post, I just had the urge to write this somehow :) anyways, here’s the real post:

Me and Magento

In the past (and currently) I was working with magento from time to time and therefor I dare to say that I’m quite familiar with this e-commerce system by now. And I mean the development part not selling anything 😉

Why am I telling you that?

Well, the first thing I plan is to put some of the things I learned, especially about module development, in some blog posts. Maybe that’ll give someone some hints who is just starting and even if not I’ll have my own resource to find and look up things that have a hard time staying in my memory :)

The second thing is, this times I was working on magento stores and adding functionality for this and that resulted in some modules which I think could be useful to some other people also. And they were just lying around on my laptop so I thought, why not sell them?

You might say I’m greedy ’cause I’m not giving them away for free but hey, who doesn’t want his work to be valued somehow. Also I tried to keep the prices low. So, I needed a page for selling them ’cause I wanted a seperate page for this and here it is:

http://magento-modules.king-mo.solutions

Not that beautiful I know but it’s enough for me for now :)

What modules are on this page?

For now there are three modules available to buy which I will describe shortly here and later on do an own blog post for each of them (will link them):

Manually Complete Orders

On the last shop I worked on one day we had a problem. Someone wanted to buy something but (don’t ask me why) canceled somewhere in the payment process. Now in the backend of Magento for this order there was the status “Pending Payment”. Wouldn’t be that much of a problem but you just couldn’t change the status in no way. The order was completed manually (offline) but in the backend it was stuck and not paid and that was something which bothered the one running the shop. Understandable in my opinion that’s somehow just dirty, for the lack of a better word right now.

Well, that’s how this module came to life. It simply adds a “Complete”-button for any order which enables you to set the order to complete and paid, so it will also fall into the statistics. It also adds a “Complete”-bulk action, so you can do this to multiple orders at once as well.

Price: 5€

You can buy it here: http://magento-modules.king-mo.solutions/manually-complete-orders

Cookie Guest Wishlist

Pretty self explaining I guess. This module allows customers to use the built-in Magento wishlist without being logged-in. This works by setting a cookie containing the wishlist-id. If there is a customer who already created a wishlist when logged-in creates a “offline”-wishlist also they’ll get merged as soon as he logs in again.

Price: 25€

You can buy it here: http://magento-modules.king-mo.solutions/cookie-guest-wishlist

Random Upsell Products

The problem here: Wanted to use the “Upsell” feature but soo many products. That’ll be quite some work assigning upsell products to all of them manually.

The solution: Just let them be added randomly!

This module does exactly that. It automatically searches for products in the same category but with a higher price and shows them as the upsell products. If there are already upsell products assigned they will still be shown but until the limit is reached random products will be added. If not enough more expensive products are found it takes half the price and searches again to make sure the upsell limit will be reached.

Another feature here is that you can set that upsell limit which by default is set by the theme and can’t be changed in the backend.

It also adds a configuration to exclude specific categories as a search criteria. For example if you have set up brands as categories you might want to exclude that because a brand may include products from multiple (real) categories. Hope I got my point across.

Price: 25€

You can buy it here: http://magento-modules.king-mo.solutions/random-upsell-products

That’s it for now

Maybe that’s useful for someone. If someone buys one of them I’d be glad to hear some feedback, maybe as a comment :)

If you have any problems with the download or the installation or anything else please don’t hesitate to contact me either with the contact form on this page or at magento-modules@king-mo.solutions (makes it easier to seperate).

Also I’d be glad to hear from you if you need some extended functionality or even a custom module developed!

Peace, Mo

Powered by WordPress & Theme by Anders Norén