Blog

Home / Blog

Call to a member function getStoreLabel() in price.phtml

Magento
After upgrade Magento 1.8.0.0 get error on list and view page. Fatal error: Call to a member function getStoreLabel() on a non-object in price.phtml I got simple fix as below and its working fine for me. Open this file : app/design/frontend/[your_package]/[your_theme]/template/catalog/product/price.phtml Find this code: [php] $_specialPriceStoreLabel = $this->getProductAttribute('special_price')->getStoreLabel(); [/php]   And replace it with below: [php] $specialPriceAttr = $this->getProductAttribute('special_price'); if (!is_null($specialPriceAttr)) { $_specialPriceStoreLabel = $this->getProductAttribute('special_price')->getStoreLabel(); } else { $_specialPriceStoreLabel = ''; } [/php]     [JWD-Magento-Development]
Read More

Magento 2 Useful Commands

Magento2
Here you see list of some use full command for magento2 development and customization. For these commands you need to have SSH access to your server or use the Command Line for local access. These commands are run within the /magento2 folder and reference the /magento2/bin folder.   Magento 2 Cache Commands To flush Magento 2 cache: Go to Magento root directory php bin/magento cache:clean php bin/magento cache:flush Magento 2 cache status php bin/magento cache:status Magento 2 cache clean php bin/magento cache:clean Magento 2 disable cache Command will disable all cache types php bin/magento cache:disable Disable specific cache type php bin/magento cache:disable CACHE_TYPE Like: php bin/magento cache:disable config Magento 2 Enable cache All cache types php bin/magento cache:enable Specific cache type php bin/magento cache:enable CACHE_TYPE Like: php bin/magento cache:enable layout…
Read More

Top 7 Must Have Apps for Writers

Mobile Application
Technology has developed unbelievably these days and we are witnessing rapid growth in all fields with the progression of modern technology. People can observe the influence of technology in business, education, medicine, tourism, and almost every walk of our life.  The far and wide growth of technology has resulted in the coming of many apps. We can come across many mobile apps these days that are related to the entertainment, education, and even business field. At present, freelance writing is one of the careers that many people love to pursue in their life. There are many freelance writers in the world who focus on writing articles for blogs, magazines and contents for different websites online. Today, writers have a lot of effective means to improve their writing and mobile apps…
Read More

The Fake SMTP For Your Preproduction Testing

Others
In case you haven't heard, Mailtrap is a fake SMTP server for your development team to test, review and share emails from where you are preparing your project. You will be able to test with real data without running the risk of spamming your customers.  Mailtrap is created by Railsware and for some development stages, it's free. You simply sign up for Mailtrap then email all your preproduction environments through your fake Mailtrap SMTP server.  You can view and debut your email using their friendly GUI. You can also use Mailtrap to put dumps on your production database with real user emails through tests on your staging server.  Your automated test runs opposite the real data by sending emails through Mailtrap.  This will eliminate the risk of testing emails that…
Read More

Magento Pre-Orders vs Backorders – What is the difference?

Magento
The world has dramatically changed since the beginning of the 21st century. Magento’s Pre-ordering and back ordering have opened the considerable opportunities for e-merchants and even the bigger ones for software providers in such fields, for instance, inventory, order or the warehouse management and the drop shipping. A pre-order is for the item that has not been released till now and will be released in the future or after some time. Backorder is an item that was once in stock, but currently out of stock and will be available in future. Let's take a closer look at both of these 2 terms. Let's say, you can't wait for the release date of the product whether it is an electronic device, an interesting book, pair of Jordans, or a computer game,…
Read More

Startup Businesses Use Ruby On Rails

Ruby on Rails
More and more startup businesses are using Ruby on Rails framework for their needs. It's growing in popularity because it's so easily adaptable to almost all kinds of online businesses.  There are many types of businesses that use Ruby on Rails for building customer web apps such as travel sites, e-commerce sites, and educational sites to name a few.   There are many large companies, such as Shopify, that have several things in common including starting their business projects as an MVP and use Ruby on Rails for that purpose. Twitter, Hulu, and Yellow Pages also use Ruby on Rails for web site development.   So, what is it about Ruby on Rails that large and small companies have decided to use this framework?  Let's start with a little information…
Read More

Top Five Trends for Mobile Apps in 2017

Mobile Application
Smartphones are more popular than ever and every website, service, or business worth their salt has an app. unfortunately it’s not enough to just develop an app. You need to create something promising and viable to make it worth people’s time. Here are the top five trends by Outsourcing mobile development company Binariks for mobile apps in 2017.   The Rise of Location-Based Services Continues With the ease and accessibility of GPS in smartphones there is a greater importance placed on location-based services (LBS) that provide users with information based on where they are. LBS apps including mapping, retail offers, security, travel, navigation and tourism. The big tech groups have already begun making moves in LBS. The only downside to these services is how battery draining they are, so this…
Read More

A Complete Guide on Magento Hosting

Magento
If you are starting a new eCommerce business, then Magento will be the best platform for it. Magento has become a popular open source eCommerce platform because of its flexibility and multiple features. But, as its architecture is complex in comparison with other platforms, it has more server demands. For the Magento based eCommerce stores, you need to have a hosting server which enhances its performance. But, the selection of a hosting provider is the most difficult as well as an important task to do. There are various aspects which affects the selection of the Magento hosting provider. We will try to cover multiple aspects one by one. But let us first see what the requirement of Magento for hosting is. What are the Magento Hosting Requirements? Generally, the hosting…
Read More

Going from Web to App Development

Mobile Application
Smartphones have become common. Apps have changed how we work, socialize, buy products, read news and get entertained, and the market for mobile devices consume more and more of the dwindling PC market.   Therefore, it’s no surprise that more and more people are considering becoming app developers, and with the trend still on the rise, perhaps now is not a bad time to jump on board.   One can get far in application development on their own, there are many self-taught app developers currently working as in-house developers around the world without formal education.   Only in recent years have universities and other schools begun to create app-specific educations, and because of this many employers are looking for the self taught programmers who initially got in the game because…
Read More

How PSD to HTML Conversion Will Benefit Your Website

Others
The Internet has completely changed the way companies use to promote their business. Gone are the days when door-to-door campaigns and face-to-face dealings were an essential part of business development strategy. The rapid growth and constant transformation of internet technology have completely changed the way companies use to promote their business among the targeted audience. From the past couple of years, websites are serving as perfect business drivers especially for the small & medium size firms. Millions of small businesses have been able to get in touch with the global audience because of their responsive and interactive websites. The best way to make your site responsive is by opting for PSD to HTML conversion services. The main advantage of building a responsive site is that it can function on both…
Read More