How to Setup Magento with Multiple Stores and Domains https://www.properhost.com/support/kb/30/How-To-Setup-Magento-With-Multiple-Stores-And-Domains One of the useful features in Magento is the ability to create multiple stores/websites that share the same Magento installation. This allows multiple store fronts to share a common code...
Tag: magento
export and import product one to other server
http://www.lomeit.info/export-et-import-des-produits-et-catgories-magento/
detect ip for switch website or websotre
<?php $client_ip=$_SERVER; $json=file_get_contents("http://ipinfo.io/{$client_ip}/json"); $details = json_decode($json); var_dump($details->country); $country=$details->country; switch ($country) { case "CA": case "MX": case "US": $_SERVER = "usd"; $_SERVER = "website"; break; default: $_SERVER = "row"; $_SERVER = "store"; } Mage::run($_SERVER, $_SERVER); ?>
Magento Events
http://www.magentocommerce.com/wiki/5_-_modules_and_development/reference/magento_events
Selling or buying in other provinces or territories: which sales taxes apply?
Selling or buying in other provinces or territories: which sales taxes apply? Whenever your company does out-of-province business, different sales taxes may be required. This includes GST, HST and possibly the provincial or territorial sales taxes. We want to help...
How to calcul tax canadien online marking
TAUX DE TAXES 2015 TVH, TPS ET TVP Province du Canada Type de taux (TVH, TPS, TVP) Taux provincial Taux au Canada Total Alberta TPS 0% 5% 5% Colombie Britanique TPS + TVP 7% 5% 12% Île du Prince Édouard...
Using Collections in Magento
A collection is a Model type containing other Models, it is basically used in Magento to handle product lists (ie. from a category or a bundle option), but not only. TO DO: Explain how Magento Implements a collection - Use...
import the image to magento programmatically
1.use function addImageToMediaGallery addImageToMediaGallery (line 956) Add image to media gallery access: public void addImageToMediaGallery (string $file, , , ) string $file: file path of image in file system string|array $mediaAttribute: code of attribute with type 'media_image', leave blank if image...
Creating a Magento custom model
Creating a Magento custom model Posted by Yongji Chen Tags: custom model Magento In this tutorial, we will create a custom model that uses a different name than the Module name. The Module tree will look like as shown in...
Image Type and Size
The following image types are used throughout the catalog, and you can choose which image you want to use for each. If you do not assign an image to each type, a placeholder image will be used instead. Thumbnail The...