prestashop :- Creating new front end page for your prestashop within module
Prestashop provide the way to make entire new page through your module. For this you must follow directory structures Some step given bellow to make new page Step 1 – Creating the correct folder...
View ArticleAdd 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...
View ArticleMagento 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...
View ArticleHow 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...
View ArticlePreventing re-declaration of classes/functions in Prestashop
Yesterday, when I tried to install my new module in Prestashop , i got an error : Cannot redeclare xmlrpc_se_any() (previously declared in...
View ArticleGet 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...
View ArticleGet Latitude and Longitude Of Address From Google Map API In JSON Formate...
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...
View ArticleTake Input Field In HTML Which Accept Only Numeric Values Using jQuery
First include jQuery Lib. In your Page… #iban1,#iban2 are the input text field on which we add this validation jQuery('#iban1,#iban2').keyup(function(){...
View ArticleSet Images of Magento Product Programmatically in Admin Store (In Multi Store...
$objProduct=10; // Id of product which you want to add image… $objprod=Mage::getModel('catalog/product')->load($objProduct);...
View ArticleGet Parent Category of a sub Category In Magento
$subCatid=12 ;// sub category which you want to find parent category; $parentCatid = Mage::getModel('catalog/category') ->load($subCatid)->getParentId();
View ArticleUpdate Product Status (ENABLED/DISABLED) In Magento Programmatically
$productid=10;// product id which you want to change status; $storeid=1 // your store id 0 is for default store id Mage::getModel('catalog/product_status')->updateProductStatus($productid, $storeid,...
View ArticleGoogle Map Location Locator With Custom Heading Using Latitude and Longitude
You get Latitude and Longitude of your address from this Blog post Note:- where you set Latitude , Longitude and your Custom heading… Syntex:- q=Latitude,Longitude(Custom heading)& example...
View ArticleGet Custom Model Collection According to Page Number and Page Size..(In...
//salesperson is a custom model in magento $pagenum=5;// pagenumber which you data want $pagesize=10;// how many data display on a page...
View ArticleAlert box on uninstalling module
If you want an alert box to be pop up while uninstalling module asking for confirmation or any other message use the below code. In the installation file of your module add the following line of code....
View ArticleExport option prestashop
In order to add Export button on any tab add the below code. public function __construct() { $this->allow_export = true; } After that you will see a export button at the top right of your tab from...
View ArticleMagento Stock Photo Marketplace
Magento Stock Photo Digital Marketplace - stock image marketplace module will convert you magento store in to istock , shutterstock or getty images kinda marketplace Features 1 – Support magento...
View ArticleGet Magento Downloadable Products Links Detail
$productid=10; //downloadable product id which links you need.. $links=Mage::getModel('downloadable/link') ->getCollection() ->addFieldToFilter('product_id',array('eq'=>$productid));...
View ArticleReindex Magento Programmatically
for ($i = 1; $i <= 9; $i++) { $process = Mage::getModel('index/process')->load($i); $process->reindexAll(); }
View ArticleRemove Existing Images And Add New Image To Magento Product ( Programmatically )
$productid=10; // Product id of that product which image you want to update //for remove existing Images $loadpro=Mage::getModel('catalog/product')->load($productid); $mediaApi =...
View ArticleMake Transparent Image With Your String Using PHP GD
For this PHP GD is required on your server $imageWidth=300; //width of your image $imageHeight=200;// height of your image $logoimg = imagecreatetruecolor($imageWidth, $imageHeight); //create Image...
View Article