Universal WebTech
  • Home
  • About US
    • Our Team
    • Privacy Policy
    • Our Clients
    • Terms of use
  • Service
    • Web Development
    • E-Commerce
    • Android Development
    • UI UX Design
  • Our Portfolio
  • Career
  • Blogs
contact
hamburger

Blogs

Magento 2 Call phtml file in CMS Page

By Jone / July 21, 2019 / 2 Commnets
Here we will learn how to call custom phtml file on any cms page or add phtml in your custom cms page. First, go to the admin section and open CMS page in which you want to add phtml file. Go to the ...
Read More

Magento 2 Useful Commands

By Jone / April 25, 2018 / 0 Commnets
Forusefully deploy php bin/magento setup:static-content:deploy -f -s standard Setup Upgrade Using Command Line php bin/magento setup:upgrade If you don’t want to remove pub/static files while in...
Read More

PHP Warning: Cannot open 'extras/browscap.ini'

By Jone / March 10, 2018 / 0 Commnets
PHP Warning: Cannot open './extras/browscap.ini' for reading in Unknown on line 0 to fixed this issue check your php.ini for a line like this: [browscap] browscap = extra/browscap.ini If you do...
Read More

How to Improve Wordpress Security ?

By Jone / March 2, 2017 / 0 Commnets
We know as a matter of fact that having your site hacked is not fun. That is the reason, here at Universal WebTech, we consider security important. In accordance with our genuine way to deal with s...
Read More

Load product by SKU in Magento 1.x

By Jone / February 11, 2017 / 0 Commnets
How to load Magento product by SKU or by product id to get product name, Image, and other useful information. Load product by SKU $product = Mage::getModel('catalog/product')->loadByAttribute('sku...
Read More

Warning: simplexml_load_string() in Magento

By Jone / February 5, 2017 / 0 Commnets
Warning: simplexml_load_string() in Magento This error comes when there is any unwanted white space in any file or in the URL path. To fix this error you need to connect to the database and op...
Read More

Direct SQL Queries In Magento

By Jone / January 28, 2017 / 0 Commnets
Let's assume we need to fetch data from direct database and we don't want to use model in magento. At that time we can also access data direct from database using magento database connection and simpl...
Read More

Get product image in Magento

By Jone / January 28, 2017 / 0 Commnets
Magento basically has 3 different types of product image which are as followed. Base Image Small Image Thumbnail image Now let's see how we can get product images using product id. $products...
Read More

Get product collection filter by category id in magento

By Jone / January 25, 2017 / 0 Commnets
Below is the code by using we can get product collection filter by category id in Magento $category = Mage::getModel('catalog/category')->load('category_id'); $productCollection = $category->getPr...
Read More

SQL constraints

By Jone / January 25, 2017 / 0 Commnets
FOREIGN KEY - Ensure the referential integrity of the data in one table to match values in another table CHECK - Ensures that the value in a column meets a specific condition NOT NULL - It will not ...
Read More

Get subcategories of a main category in magento

By Jone / January 7, 2017 / 0 Commnets
To insincere sales it is important that your store must be user friendly where user easily find his/ her needed product and easily navigate in store. one of important page in magento is to display s...
Read More

Filter product collection with multiple SKU magento

By Jone / January 7, 2017 / 0 Commnets
Suppose, you need product information of more than one product using SKU at that time we can get all information using "array in" with filter. Below is code for the same. you just need to change SK...
Read More

Class Authorization GroupFactory Model does not exist magento2

By Jone / January 3, 2017 / 0 Commnets
Getting error Class Magento\Authorization\Model\Acl\Role\GroupFactory does not exist Magento 2 is quite complex to understand. We frequently get this error while developing the store. Here is the s...
Read More

Update database password in magento

By Jone / December 24, 2016 / 0 Commnets
Changing database password frequently is always good practice to make your store secure and it will protract your store with malware and other hacking attacks. Below are the steps on how to chang...
Read More

How to change admin url in magento

By Jone / December 22, 2016 / 0 Commnets
By default, we can access Magento admin by simple using /admin after Magento store URL. To secure your store it's preferable that you change the default URL of Magento store. Below are the steps t...
Read More

Database Connection in php

By Jone / December 22, 2016 / 0 Commnets
By using below code you can connect the database with PHP application. After database connection we can access all database and also we can CRUD operation by using PHP application. $servername =...
Read More

Add top links in magento

By Jone / December 20, 2016 / 0 Commnets
Magento is an ecommerce platform built on open source technology and which use MVC system. It is managing all request response using Model, View and Controller. So, all view file call base on controll...
Read More

Magento get login customer information

By Jone / December 15, 2016 / 0 Commnets
Suppose we want to get all information of login User like Full Name, First Name, Middle Name, Last Name etc. We can also check user registration date, Date of Birth and many more information. Below is...
Read More

Get customer detail using email address in magento

By Jone / December 15, 2016 / 0 Commnets
Suppose we have the customer email id and we want to fetch all details of that customer in Magento, its very easy and you can use below code it will give you all information with the email address whi...
Read More

Convert .SVG image

By Jone / December 11, 2016 / 0 Commnets
Below is script to convert svg image from img tag to SVG tag. After converting image in svg tag you can able to fill color in that image. jQuery('img.svg').each(function(){ var $i...
Read More

Model-View-Controller MVC

By Jone / December 7, 2016 / 0 Commnets
Model-View-Controller MVC => Model Model is the classes providing data, service related to data and business logic. This class works directly with data and provides data for other elements. In a modu...
Read More

Check customer is login or not in magento

By Jone / December 6, 2016 / 0 Commnets
Magento have different session. You can check customer is login or not using customer/session. You can check it using this piece of code: if(!Mage::getSingleton('customer/session')->isLoggedIn()){...
Read More

Call phtml file in Magento

By Jone / November 30, 2016 / 0 Commnets
1) Magento: call phtml file in CMS page. When you want to display dynamic content on home page or any other CMS page. You just need to create block of specific module which create an object of that...
Read More

Call static block in Magento

By Jone / November 29, 2016 / 0 Commnets
Static block is use to allow store Admin to update content or any block without changing code. Admin can update content from admin-panel easily. We can call static block in different location in Magen...
Read More

Steps to activate logs in magento using admin panel

By Jone / November 24, 2016 / 0 Commnets
using below steps you can enable logs in magento 1) Login in magento back-end 2) Go to System -> Configuration 3) from left section click on Advanced -> Developer 4) you can able to see Log Set...
Read More

generate png image using php

By Jone / November 16, 2016 / 0 Commnets
To create image using php you can use below code $img = imagecreatetruecolor(200, 200); imagesavealpha($img, true); $color = imagecolorallocatealpha($img, 0, 0, 0, 127); imagefill($img, 0, 0, $...
Read More

Mysql functions

By Jone / November 14, 2016 / 0 Commnets
MySQL Group By Clause - The MySQL GROUP BY statement is used along with the SQL aggregate functions like SUM to provide means of grouping the result dataset by certain database table column(s). MySQL...
Read More

Script to get all product magento

By Jone / November 13, 2016 / 0 Commnets
Below is the script which display all magento product create new file in root of the magento source and add below code in that file require_once('app/Mage.php'); umask(0); Mage::app(); $_productColl...
Read More

Add JQuery in Magento

By Jone / November 13, 2016 / 0 Commnets
To add Jquery in magento we need to add below code in layout file. /app/design/frontend/package/your theme/layout/page.xml <reference name="head"> <block type="page/html_head" name="he...
Read More

Script to get all category in magento.

By Jone / November 12, 2016 / 0 Commnets
External script to Display All category which are created in magento. Below is the code to display all category. create new file in root of the magento source and add below code in that file requi...
Read More

Get all active Payment method magento

By Jone / November 11, 2016 / 0 Commnets
External script to check which payment method is Active in Magento. Below is the code to display all payment method. create new file in root of the magento source and add below code in that file...
Read More

Get all active Shipping method magento

By Jone / November 11, 2016 / 0 Commnets
External script to check which shipping method is Active in magento. Below is the code to display all shipping method. create new file in root of the magento source and add below code in that fi...
Read More

How to import large Database in phpmyadmin xampp

By Jone / November 11, 2016 / 0 Commnets
When you work in your local system you may face problem while uploading large database. When you face such problem you can apply below the solution for it. By default, Xampp has database import ...
Read More

Get product collection in magento

By Jone / November 7, 2016 / 0 Commnets
To get product collection we can use following code : < ?php $_productCollection = Mage::getModel('catalog/product') ->getCollection() ->addAttrib...
Read More

Explain different types of sessions in Magento

By Jone / November 7, 2016 / 0 Commnets
Magento have main 3 session which are listed below : 1) Customer Session 2) Checkout Session 3) Core Session - Customer sessions stores data related to customer. - Checkout session stores data rela...
Read More

How To Make The Star Triangle In Php?

By Jone / October 30, 2016 / 0 Commnets
Write code that will print the following: * ** *** **** ***** for($i=0;$i
Read More

Change magento admin password from database

By Jone / October 29, 2016 / 0 Commnets
To change admin password need to follow below steps: 1) Login to Cpanel or access Database 2) Go to phpmyadmin 3) click on sql section 4) Run below query (Note: please update NEWPASSWORD with your...
Read More

How to set different themes for logged in users?

By Jone / October 29, 2016 / 0 Commnets
To set custom theme for login user use following code: if(Mage::getSingleton('customer/session')->isLoggedIn()): Mage::getDesign()->setPackageName('package_name')->setTheme('themename'); end...
Read More

Basic features of Magento

By Jone / October 25, 2016 / 0 Commnets
Basic features of Magento includes Reporting and Analytics Product and Catalog Browsing Customer Accounts Order Management Payment Site Management Shipping Search engine opti...
Read More

Clearing Magento Log Data

By Jone / October 25, 2016 / 0 Commnets
To improve magento store performance we can TRUNCATE following tables in Magento database : Login to your cpanel then goto phpmyadmin using SQL run below query to clear logs TRUNCATE dataflow_batc...
Read More

How to implement EAV database model

By Jone / October 25, 2016 / 0 Commnets
If you’ve ever added a new product to Magento, you know that you’ve had to add some title, description and price to it (there are more attributes but we are using 3 for this example). When you sav...
Read More

Insert, update, and delete in php

By Jone / October 25, 2016 / 0 Commnets
Read More

Boost Your Wordpress skills

By Jone / November 19, 2015 / 0 Commnets
[vc_row][vc_column width="1/1"][vc_column_text] By Following Tutorial links you will surely upgrade yourself. http://admin-page-framework.michaeluno.jp/ http://admin-page-framework.michaeluno.jp/...
Read More

How to sort array in php

By Jone / August 8, 2015 / 0 Commnets
$cars=array("Jems","Vijay","Alpesh","Yogi"); sort($cars); $clength=count($cars); for($x=0;$x<$clength;$x++) { echo $cars[$x]; echo "<br>"; }
Read More

Remove height & width attributes from images In Wordpress posts

By Jone / June 8, 2015 / 0 Commnets
[vc_row][vc_column width="1/1"][vc_column_text]Simply add this scrap to the functions.php of your wordpress subject and the majority of the width and tallness characteristics will be expelled from you...
Read More

Web Design and Development Company in Ahmedabad

By Jone / June 8, 2015 / 0 Commnets
We are one of India's driving IT Company situated in Ahmedabad with wide abilities and a significant notoriety constructed over last few years. We provide Website designing, Website Development, Searc...
Read More

How to choose the best web design company?

By Jone / June 4, 2015 / 0 Commnets
Websites play an important role in the success of every business. Hence, it is important to hire the right web design company for designing a beautiful and visually appealing website for your business...
Read More
Universal WebTech

Universal WebTech IT Solutions is a leading web and mobile development company in Ahmedabad, India that believes in winning trust of its clients through 100% quality service and time-oriented work.

Company

  • About us
  • Careers
  • FAQs
  • Testimonials
  • Blogs
  • Our team

Service

  • Web Development
  • Android Application Development
  • eCommerce Web Development
  • Open Source Customization
  • UI / UX / Logo Design Services

Copyright © 2025 Universal WebTech

  • Terms of use
  • Privacy Policy