Quantcast
Channel: An authentic perspective
Browsing all 33 articles
Browse latest View live

Magento image not loading when using cron, only getting placeholder

I have a module which sends out an email via Mailchimp with a scheduled task for Magento’s internal cron and in doing so looks up the product image. Mage::helper('catalog/image')->init($product,...

View Article



Image may be NSFW.
Clik here to view.

The end for website designers and developers?

The end for web design, not quite Update: Again I was notified by a friend “have you checked this out” a new product PageCloud read more at the end of this post Recently a friend notified me to...

View Article

Calculating selling price from the cost price

Recently in my price matching system I had to calculate the selling price of a product in a way that also calculates a transaction fee percentage on the final selling price without knowing the selling...

View Article

Full Stack Frontend catchup & workflow

I have come to the realisation recently I’m more of a full stack developer. Taking some time recently to run through the recent developments in frontend if you haven’t explored this area for a while...

View Article

Magento collection filtered

Here’s a simple setup for a product collection with the following filters used in most of my modules, ideal for things like product feeds etc. It has the following filters – By Store – Must have price...

View Article


Image may be NSFW.
Clik here to view.

Optimising WordPress for PageSpeed Insights

Recently I was commissioned to optimise a WordPress site on behalf of an SEO agency. This usually consists of reports from Google’s pagespeed insights and there’s a number of things you can do to...

View Article

Magento getFinalPrice by customer group

If you use group pricing you will find that getFinalPrice does not return the correct price. This is easy to correct by adding $product->setCustomerGroupId(0); Before calling getFinalPrice(); 0...

View Article

Module_Helper_Data not found any module magento

If you receive the Helper_Data.. not found message when trying to install a new module either manually or through the Downloader and get this message it’s simply a case of disabling Compilation mode...

View Article


Image may be NSFW.
Clik here to view.

Adding website/store filter to category product grid in Magento

It appears the Magento developers didn’t think this one through enitrely as this to me is something that should be there by standard. Not everyone has a multi-website set up and products that span two...

View Article


Child products from parent ID by store

Child products from a parent ID by store $storeId = Mage::app()->getStore()->getStoreId(); $coreResource = Mage::getSingleton('core/resource'); $conn =...

View Article

Magento vs in-house solution

I recently came across a business who decided to move away from Magento to using their own in-house solution, albeit without the features of Magento, but something they are willing to invest the time...

View Article

Image may be NSFW.
Clik here to view.

Frontend Development in CQ5

I’m new to using CQ5 in this instance version 5.5, as a frontend developer I found the software a little confusing at first, mainly in working in a VM development environment like below:   As CQ5 is...

View Article

Image may be NSFW.
Clik here to view.

Enhancing Magento Security – Best practices

After watching the recent panorama documentary on the recent TalkTalk hack, it made me wonder how vulnerable many of the Magento sites where and what can be done to tighten Magento’s security. Many...

View Article


Cq5 formatting string to a number with decimal places

How to format from a string to a number, the date coming from a request param. The only thing not covered here is to catch exceptions if the parameter passed was not a number. In all other cases falls...

View Article

Setting different meta title,description per social network

The only way to get different title,meta responses per social media channel is to have the response set on the backend, in this case when Facebook, Pinterest and Google Plus hit the page check the user...

View Article


Upgrading to Magento 2

Having had the opportunity to work on a new build using Magento 2 the architecture of the application has changed significantly, to me it has definitely increased the difficulty of getting a Magento...

View Article

Reset npm/bower permissions

Useful snippet for resetting bower/npm permissions if you get errors like this Error: EACCES: permission denied, open '/Users/jdavey/.config/configstore/bower-github.json' You don't have access to this...

View Article


Removing large amount of files (argument list too long)

3 useful commands when you have a large amount of files to delete in case you’ve reached the inode limit or just want to remove them. view inode usage df -i how many files? ls -U1 | wc -l Remove a...

View Article

Hiding metabox from backend in WordPress

In my case hiding themify and yoast seo metabox from the backend for pages (this only works for pages, you will need to change that to whatever type of post it is see here for more) , use below...

View Article

Migrating Angular1.x to 2 with TypeScript

Whichever release candidate your using, or the final release. This a quick heads up guide on how to port over some simple tasks, something the Hero example app doesn’t show in full. Upgrade path I...

View Article
Browsing all 33 articles
Browse latest View live




Latest Images