Blog

Home / Blog

Key Reasons Why You Should Have Social Plugins On Your Website When Developing It

SEO
Have you launched a website and are now wondering how to reach your intended target audience? If yes, do you know who your target audience is? This question needs to be answered before developing the website so that you can get the most out of it. The planning does not stop here; now you need to figure out how you’re going to bring your targeted number of users to your website. You would also have to be interested in knowing the reaction and response of your viewers towards your products or anything on your website. The answer to all of your needs is fairly simple ⸺ incorporating social plugins while developing your website. Social media is the thing of now! It is present in almost every society and has merged…
Read More

Get Current Category and Current Product Detail Magento2

Magento2
There are two ways to get or find the current category and current product detail any phtml file. [php] <?php $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $product = $objectManager->get('Magento\Framework\Registry')->registry('current_product');//get current product echo $product->getId(); echo $product->getName(); ?> [/php] Or you can try to get other way using your custom module block file. app/code/JWD/WelcomeWorld/Block/WelcomeWorld.php [php] <?php namespace JWD\WelcomeWorld\Block; class WelcomeWorld extends \Magento\Framework\View\Element\Template { protected $_registry; public function __construct( \Magento\Backend\Block\Template\Context $context, \Magento\Framework\Registry $registry, array $data = [] ) { $this->_registry = $registry; parent::__construct($context, $data); } public function _prepareLayout() { return parent::_prepareLayout(); } public function getCurrentCategory() { return $this->_registry->registry('current_category'); } public function getCurrentProduct() { return $this->_registry->registry('current_product'); } } ?> [/php] Look at output or print using below code: [php] <?php // print current category data $currentCategory = $block->getCurrentCategory(); echo $currentCategory->getName() . ' '; echo $currentCategory->getUrl() . '…
Read More

How to Raise More Money for Your Mobile App Startup

Mobile Application
Having a ‘million dollar idea’ is something that every 2 in 6 employees claim to have these days. It is the same idea that makes them quit their job and work towards the journey of creating their own startup. But, is every idea really worth a million dollar? Well, that you would know when you will have to go out there and present your ideas to get the money from funders. The trick lies in not the idea, but its execution! The majority of the startups fail not because they don’t get proper funding but the real reason is that they have poor execution. Why do You fail to Get Funding? One of the most trending start-up ideas is that of a ‘Mobile App’ start-up. Almost everyone wonders why their…
Read More

What are the Pros and Cons of E-commerce Responsive Website Design with Magento?

Magento
With the launch of so many mobile devices, some of the companies have changed their strategy and procedure for developing websites. Now, most companies go for responsive website design otherwise the websites which they have developed will not show well on mobile devices. Most of such websites which are doing these are either online marketing sites, social media sites, e-Commerce sites and several other sites. Most of the Fortune 500 companies have opted for this change in their websites. Still, there are a large number of companies which have not implemented this changes for responsive website design. Many of the companies which had not incorporated a responsive design to their websites were explaining about their inaction by giving excuses like most of their customers were not using mobile for website…
Read More

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