Featured

Mobikul Mobile App Builder for Magento 2

The mobile application is contributing a tremendous role to creating a competitive advantage for your eCommerce Store. The best mobile application can help you to create a competitive environment for your competitors. The best Mobile App for your Magento2 store must have all the essential features and functionalities and it should work perfectly according to […]

Read More
Latest Stories

Set Images of Magento Product Programmatically in Admin Store (In Multi Store Magento)

$objProduct=10; // Id of product which you want to add image… $objprod=Mage::getModel(‘catalog/product’)->load($objProduct); $objprod->addImageToMediaGallery($imagepath,array(‘image’,’small_image’,’thumbnail’),true,false); Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID); //for Set it to all Store view $objprod->save();

Read More

Get Latitude and Longitude Of Address From Google Map API In JSON Formate Using Ajax

First you include jQuery Lib. File in Your Page…. in following example #latitude and #longitude are Ids of HTML elements where we want to display them var address=’B-56+Sector-64+Noida+up+india’;//address which you want Longitude and Latitude jQuery.ajax({ type: “GET”, dataType: “json”, url: “http://maps.googleapis.com/maps/api/geocode/json”, data: {‘address’: address,’sensor’:false}, success: function(data){ if(data.results.length){ jQuery(‘#latitude’).val(data.results[0].geometry.location.lat); jQuery(‘#longitude’).val(data.results[0].geometry.location.lng); }else{ jQuery(‘#latitude’).val(‘invalid address’); jQuery(‘#longitude’).val(‘invalid address’); } […]

Read More

Get Sub Category List Of Particular Parent Category In Magento

. <select id=”category” class=”myinput-text required-entry widthinput” name=”category”> <?php $parentid=5; // parent id which you want sub category $categories=explode(‘,’,Mage::getModel(‘catalog/category’)->load($parentid)->getChildren()); foreach($categories as $cat){ $category=Mage::getModel(‘catalog/category’)->load($cat); ?> <option value=”<?php echo $category->getId();?>”><?php echo $category->getName();?></option> <?php } ?> </select>

Read More

Preventing re-declaration of classes/functions in Prestashop

Preventing re-declaration of classes/functions in Prestashop

Yesterday, when I tried to install my new module in Prestashop , i got an error : [stextbox id=”alert”]Cannot redeclare xmlrpc_se_any() (previously declared in /home/medicden/public_html/modules/cloudcache/lib/xmlrpc.inc.php:554) in /home/medicden/public_html/modules/prestaerp/xmlrpc.inc on line 543][/stextbox] Actually, the problem is my new module is using the library named “xmlrpc.inc” which is already used in previously installed modules, i tried – include_once […]

Read More

How to add new tables in REST API of PrestaShop Webservice

How to add new tables in REST API of PrestaShop Webservice

From last 2-3 days , I hitched in a problem , actually my problem was to create an entry in prestashop`s table(created by me) using webservices , but as we all know that , the webService of Prestashop includes only REST API which has very limited number of nodes(tables) for performing CRUD(Create/Read/Update/Delete) operations. I googled a […]

Read More

Magento Multi Seller Product at one product Marketplace

Magento Multi Seller Product at single product Marketplace like best buy and ebay is a very new and phenomenal concept thats why we developed this module to convert your magento store in to proper sale purchase site like ebay or besybuy http://store.webkul.com/Magento-Extensions/Reseller-Discount-Marketplace.html Reseller Discount Marketplace – This module is very useful for creating marketplace of existing product e.g Seller […]

Read More

Add Own API Function In Magento

API function are those functions which call from another server… We know Magento provide more API  functions here we learn how to make own API functions in magento module.. For this, you just need to add some code in your module’s YourModule/etc/api.xml file and add a new API functions YourModule/Model/Api.php Here’s the code:- api.xml <config> <api> <resources> <yourmodule […]

Read More