SlideShare a Scribd company logo
Title Product Base Currency
Version 1.0.0.0
Author InnoExts (http://innoexts.com)
Follow Us
Product Base CurrencyProduct Base Currency
1. Overview
2. Installation
3. Configuration
4. Manage Products
5. Catalog Price Rules
6. Data Export
7. Data Import
8. Uninstallation
1. Overview1. Overview
Product Base Currency extension enables to set a base currency on a product level instead of setting it on a website level in
configuration. Prices, special prices, tier prices, customer group prices and catalog price rule discount amounts can be set in
a desired base currency for each product.
FeaturesFeatures
Automated prices (prices, special prices, customer group prices, tier prices) and base currency scopeq
Set a base currency for prices, special prices, customer group prices and tier pricesq
Set a base currency for catalog price rule discount amountsq
Export base currenciesq
Export pricesq
Export special pricesq
Export customer group pricesq
Export tier pricesq
Import base currenciesq
Import pricesq
Import special pricesq
Import customer group pricesq
Import tier pricesq
Automatic re-indexing after currency rates saveq
2. Installation2. Installation
First of all we would like to suggest you to keep a development copy of a live installation for a new or updated extensions
testing. Follow the steps listed below.
1. Make sure that your system corresponds to Magento requirements.
2. Make sure that PHP compilation function is disabled. In admin panel navigate to System > Tools > Compilation. If
Compiler Status field equals to Enabled then press Disable button or:
Open file includes/config.php (the file path is related to the document root).
Replace
define('COMPILER_INCLUDE_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'src');
with
#define('COMPILER_INCLUDE_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'src');
3. Make sure that files and database additional caching tools are disabled (e.g. APC cache).
4. Back up Magento files and database to be able to revert changes in a couple of minutes in case of possible problems.
5. Enable Magento error logs: System > Configuration > Advanced > Developer > Log Settings, Set Enabled to Yes.
You can find errors information in files: var/log/system.log and var/log/exception.log (the file paths are related to
the document root).
6. Extract extension and upload files into the document root. Double check that all files were uploaded successfully into the
correct directory.
7. Navigate to System > Cache Management. Press Flush Cache Storage button.
8. If installer fails during the cache flushing then let us know error messages from the logs.
9. Check if extension is recognized by Magento: System > Configuration > Advanced > Advanced. The module should
be listed there.
10. Check if the module conflicts with 3rd party modules previously installed on your system.
Note, conflicts resolving service isn't included into the support package. Please, check the module for conflicts before
open code purchasing with an encoded trial requested (php files are encoded only).
11. Navigate to System > Manage Currency Rates or System > Manage Currency > Rates (if your Magento version is
equal or above the 1.7.0.0). Make sure that rates are populated. If not then press Import button or populate rates manually,
save them by pressing Save Currency Rates button.
12. Navigate to System > Index Management. Click Select All to select all indexes types and press Submit button. If
indexing fails then you have 3rd party module conflicts most probably (see 10th step), let us know the full error messages
from the logs for further information.
You made it!
Please don't hesitate to contact us if you met troubles during the installation process.
3. Configuration3. Configuration
The module ties product price scope that can be set in Magento configuration to the next attributes: Price, Special Price,
Special Price From Date, Special Price To Date, Group Price, Tier Price and Base Currency.
In admin panel navigate to: System > Configuration > Catalog > Catalog > Price. Once Catalog Price Scope is
changed and saved the tied attributes scope comes updated according to the value chosen.
4. Manage Products4. Manage Products
In administrator panel: Catalog > Manage Products. Click edit product or create a new one.
Product Base Currency appends the Base Currency attribute at the end of Prices tab for Simple, Configurable, Virtual,
Bundle and Downloadable product types.
Once Base Currency is changed the system sets input currency for the next attributes: Price, Special Price, Group Price
and Tier Price.
5. Catalog Price Rules5. Catalog Price Rules
In administrator panel: Promotions -> Catalog Price Rules. Click edit rule or create a new one. Select Actions tab.
The system respects base currencies for products matching rule criterias in case of fixed Discount Amount values.
6. Data Export6. Data Export
Data exporting can be handled with the number of CLI (command line interface) scripts built-in.
6.1. Base Currency6.1. Base Currency
Run the script with your arguments:
php shell/Innoexts/ProductBaseCurrency/Catalog/Product/BaseCurrency/Export.php 
--file-path /var/export/Innoexts/ProductBaseCurrency/ 
--file-filename product-base-currency.csv
Note, The script path is related to the document root in the sample but can be replaced with the absolute path (to run
via cron service for example), file-path directory is always related to the document root.
Run the next command to get arguments description
php shell/Innoexts/ProductBaseCurrency/Catalog/Product/BaseCurrency/Export.php --help
The output data feed var/export/Innoexts/ProductBaseCurrency/product-base-currency.csv should have the
next format:
sku,store,currency
"HTC Touch Diamond",,EUR
"HTC Touch Diamond",default,USD
6.2. Price6.2. Price
Run the script with your arguments:
php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Price/Export.php 
--file-path /var/export/Innoexts/ProductBaseCurrency/ 
--file-filename product-price.csv
Note, The script path is related to the document root in the sample but can be replaced with the absolute path (to run
via cron service for example), file-path directory is always related to the document root.
Run the next command to get arguments description
php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Price/Export.php --help
The output data feed var/export/Innoexts/ProductBaseCurrency/product-price.csv should have the next
format:
sku,store,price
"HTC Touch Diamond",,750
"HTC Touch Diamond",default,755
6.3. Special Price6.3. Special Price
Run the script with your arguments:
php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Special/Export.php 
--file-path /var/export/Innoexts/ProductBaseCurrency/ 
--file-filename product-special-price.csv
Note, The script path is related to the document root in the sample but can be replaced with the absolute path (to run
via cron service for example), file-path directory is always related to the document root.
Run the next command to get arguments description
php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Special/Export.php --help
The output data feed var/export/Innoexts/ProductBaseCurrency/product-special-price.csv should have the
next format:
sku,store,price
"HTC Touch Diamond",,740
"HTC Touch Diamond",default,745
6.4. Customer Group Price6.4. Customer Group Price
Note, Group Price function is available for Magento CE 1.7.0.0+ only.
Run the script with your arguments:
php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Group/Export.php 
--file-path /var/export/Innoexts/ProductBaseCurrency/ 
--file-filename product-group-price.csv
Note, The script path is related to the document root in the sample but can be replaced with the absolute path (to run
via cron service for example), file-path directory is always related to the document root.
Run the next command to get arguments description
php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Group/Export.php --help
The output data feed var/export/Innoexts/ProductBaseCurrency/product-group-price.csv should have the
next format:
sku,all_groups,customer_group,website,price
"HTC Touch Diamond",,"General",,730
6.5. Tier Price6.5. Tier Price
Run the script with your arguments:
php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Tier/Export.php 
--file-path /var/export/Innoexts/ProductBaseCurrency/ 
--file-filename product-tier-price.csv
Note, The script path is related to the document root in the sample but can be replaced with the absolute path (to run
via cron service for example), file-path directory is always related to the document root.
Run the next command to get arguments description
php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Tier/Export.php --help
The output data feed var/export/Innoexts/ProductBaseCurrency/product-tier-price.csv should have the
next format:
sku,all_groups,customer_group,website,qty,price
"HTC Touch Diamond",,"General",,2,725
"HTC Touch Diamond",,"General",,3,720
7. Data Import7. Data Import
Data importing can be handled with the number of CLI (command line interface) scripts built-in.
7.1. Base Currency7.1. Base Currency
Run the script with your arguments:
php shell/Innoexts/ProductBaseCurrency/Catalog/Product/BaseCurrency/Import.php 
--ftp 
--ftp-host ftp.hostname.com 
--ftp-user username 
--ftp-password password 
--ftp-filename remote-product-base-currency.csv 
--file-path /var/import/Innoexts/ProductBaseCurrency/ 
--file-filename product-base-currency.csv
Note, The script path is related to the document root in the sample but can be replaced with the absolute path (to run
via cron service for example), file-path directory is always related to the document root.
Omit ftp arguments to run import from local data feed:
php shell/Innoexts/ProductBaseCurrency/Catalog/Product/BaseCurrency/Import.php 
--file-path /var/import/Innoexts/ProductBaseCurrency/ 
--file-filename product-base-currency.csv
Run the next command to get arguments description
php shell/Innoexts/ProductBaseCurrency/Catalog/Product/BaseCurrency/Import.php --help
The input data feed var/import/Innoexts/ProductBaseCurrency/product-base-currency.csv should have the
next format:
sku,store,currency
"HTC Touch Diamond",,EUR
"HTC Touch Diamond",default,USD
Data Feed Format
sku Product SKU
store Store ID or code
currency Currency code
7.2. Price7.2. Price
Run the script with your arguments:
php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Price/Import.php 
--ftp 
--ftp-host ftp.hostname.com 
--ftp-user username 
--ftp-password password 
--ftp-filename remote-product-price.csv
--file-path /var/import/Innoexts/ProductBaseCurrency/ 
--file-filename product-price.csv
Note, The script path is related to the document root in the sample but can be replaced with the absolute path (to run
via cron service for example), file-path directory is always related to the document root.
Omit ftp arguments to run import from local data feed:
php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Price/Import.php 
--file-path /var/import/Innoexts/ProductBaseCurrency/ 
--file-filename product-price.csv
Run the next command to get arguments description
php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Price/Import.php --help
The input data feed var/import/Innoexts/ProductBaseCurrency/product-price.csv should have the next format:
sku,store,price
"HTC Touch Diamond",,750
"HTC Touch Diamond",default,755
Data Feed Format
sku Product SKU
store Store ID or code
price Price value
7.3. Special Price7.3. Special Price
Run the script with your arguments:
php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Special/Import.php 
--ftp 
--ftp-host ftp.hostname.com 
--ftp-user username 
--ftp-password password 
--ftp-filename remote-product-special-price.csv 
--file-path /var/import/Innoexts/ProductBaseCurrency/ 
--file-filename product-special-price.csv
Note, The script path is related to the document root in the sample but can be replaced with the absolute path (to run
via cron service for example), file-path directory is always related to the document root.
Omit ftp arguments to run import from local data feed:
php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Special/Import.php 
--file-path /var/import/Innoexts/ProductBaseCurrency/ 
--file-filename product-special-price.csv
Run the next command to get arguments description
php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Special/Import.php --help
The input data feed var/import/Innoexts/ProductBaseCurrency/product-special-price.csv should have the
next format:
sku,store,price
"HTC Touch Diamond",,740
"HTC Touch Diamond",default,745
Data Feed Format
sku Product SKU
store Store ID or code
price Price value
7.4. Customer Group Price7.4. Customer Group Price
Note, Group Price function is available for Magento CE 1.7.0.0+ only.
Run the script with your arguments:
php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Group/Import.php 
--ftp 
--ftp-host ftp.hostname.com 
--ftp-user username 
--ftp-password password 
--ftp-filename remote-product-group-price.csv 
--file-path /var/import/Innoexts/ProductBaseCurrency/ 
--file-filename product-group-price.csv
Note, The script path is related to the document root in the sample but can be replaced with the absolute path (to run
via cron service for example), file-path directory is always related to the document root.
Omit ftp arguments to run import from local data feed:
php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Group/Import.php 
--file-path /var/import/Innoexts/ProductBaseCurrency/ 
--file-filename product-group-price.csv
Run the next command to get arguments description
php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Group/Import.php --help
The input data feed var/import/Innoexts/ProductBaseCurrency/product-group-price.csv should have the
next format:
sku,all_groups,customer_group,website,price
"HTC Touch Diamond",,"General",,730
Data Feed Format
sku Product SKU
all_groups Either price should be applied for all groups or not (1 or 0). For Group Price it equals to 0 (or empty)
customer_group Customer group ID or name
website website ID or code
price Price value
7.5. Tier Price7.5. Tier Price
Run the script with your arguments:
php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Tier/Import.php 
--ftp 
--ftp-host ftp.hostname.com 
--ftp-user username 
--ftp-password password 
--ftp-filename remote-product-tier-price.csv 
--file-path /var/import/Innoexts/ProductBaseCurrency/ 
--file-filename product-tier-price.csv
Note, The script path is related to the document root in the sample but can be replaced with the absolute path (to run
via cron service for example), file-path directory is always related to the document root.
Omit ftp arguments to run import from local data feed:
php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Tier/Import.php 
--file-path /var/import/Innoexts/ProductBaseCurrency/ 
--file-filename product-tier-price.csv
Run the next command to get arguments description
php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Tier/Import.php --help
The input data feed var/import/Innoexts/ProductBaseCurrency/product-tier-price.csv should have the next
format:
sku,all_groups,customer_group,website,qty,price
"HTC Touch Diamond",,"General",,2,725
"HTC Touch Diamond",,"General",,3,720
Data Feed Format
sku Product SKU
all_groups Either price should be applied for all groups or not (1 or 0)
customer_group Customer group ID or name
website Website ID or code
qty Quantity value
price Price value
8. Uninstallation8. Uninstallation
1. Make sure that PHP compilation function is disabled. This procedure was described in the installation topic (see 2nd step).
2. Make sure that files and database additional caching tools are disabled (e.g. APC cache).
3. Back up Magento files and database to be able to revert changes in a couple of minutes in case of possible problems.
4. Enable Magento error logs: System > Configuration > Advanced > Developer > Log Settings, Set Enabled to Yes.
You can find errors information in files: var/log/system.log and var/log/exception.log (the file paths are related to
the document root).
5. Open file app/etc/modules/Innoexts_ProductBaseCurrency.xml (the file path is related to the document root)
6. Replace
<active>true</active>
with
<active>false</active>
7. If you don't have other extensions installed that depend on the same sub-module then repeat the steps above for
app/etc/modules/Innoexts_Core.xml.
Note, you can find the list of modules that the current module depends on under the next XML node: config >
modules > depends
8. Run MySQL queries from the file: sql/Innoexts/ProductBaseCurrency/uninstall.sql (the file path is related to the
document root). If some query fails due to the database inconsistency for some reason then continue from the next query
after the failed one and so on.
Note, if database tables are prefixed then the file should be run instead:
sql/Innoexts/ProductBaseCurrency/prefixed_uninstall.sql. Replace [prefix] with your tables prefix.
9. Navigate to System > Cache Management. Press Flush Cache Storage button.
10. If the cache flushing fails then let us know error messages from the logs.
11. Check if extension isn't listed in Magento anymore: System > Configuration > Advanced > Advanced. The module
should be listed there.
12. Navigate to System > Index Management. Click Select All to select all indexes types and press Submit button.

More Related Content

Similar to Product Base Currency Magento Extension Manual 1.0.0.1

Magento 2 Product Price Formula Extension by IToris inc.
Magento 2 Product Price Formula Extension by IToris inc.Magento 2 Product Price Formula Extension by IToris inc.
Magento 2 Product Price Formula Extension by IToris inc.
Itexus LLC
 
CS 2336 PROJECT 3 – Linked Inventory Management Project Due 1104 b.docx
CS 2336 PROJECT 3 – Linked Inventory Management Project Due 1104 b.docxCS 2336 PROJECT 3 – Linked Inventory Management Project Due 1104 b.docx
CS 2336 PROJECT 3 – Linked Inventory Management Project Due 1104 b.docx
mydrynan
 
User and group security migration
User and group security migrationUser and group security migration
User and group security migrationAmit Sharma
 
Introduction to Mangento
Introduction to Mangento Introduction to Mangento
Introduction to Mangento
Ravi Mehrotra
 
Mangento
MangentoMangento
Mangento
Ravi Mehrotra
 
Constraint Based Configuration Model Explained
Constraint Based Configuration Model ExplainedConstraint Based Configuration Model Explained
Constraint Based Configuration Model Explained
Anita Shelburn Smallwood
 
Magento 2 integration tests
Magento 2 integration testsMagento 2 integration tests
Magento 2 integration tests
Dusan Lukic
 
User and group security migration
User and group security migrationUser and group security migration
User and group security migrationAmit Sharma
 
How to migrate data from 3d Cart to Magento with LitExtension
How to migrate data from 3d Cart to Magento with LitExtensionHow to migrate data from 3d Cart to Magento with LitExtension
How to migrate data from 3d Cart to Magento with LitExtension
LitExtension
 
Ax2012 technical Upgrade process
Ax2012 technical Upgrade processAx2012 technical Upgrade process
Ax2012 technical Upgrade process
Tariq Rafique
 
Fighting Fear-Driven-Development With PHPUnit
Fighting Fear-Driven-Development With PHPUnitFighting Fear-Driven-Development With PHPUnit
Fighting Fear-Driven-Development With PHPUnit
James Fuller
 
Oscommerce Setup
Oscommerce  SetupOscommerce  Setup
Oscommerce Setup
htzone
 
Force.com migration utility
Force.com migration utilityForce.com migration utility
Force.com migration utilityAmit Sharma
 
Universal Migration Checklist for Developers.pdf
Universal Migration Checklist for Developers.pdfUniversal Migration Checklist for Developers.pdf
Universal Migration Checklist for Developers.pdf
Cart2Cart2
 
ITECH 2100 Programming 2 School of Science, Information Te.docx
ITECH 2100 Programming 2 School of Science, Information Te.docxITECH 2100 Programming 2 School of Science, Information Te.docx
ITECH 2100 Programming 2 School of Science, Information Te.docx
christiandean12115
 
ObjectivesUse inheritance to create base and child classes.docx
ObjectivesUse inheritance to create base and child classes.docxObjectivesUse inheritance to create base and child classes.docx
ObjectivesUse inheritance to create base and child classes.docx
mccormicknadine86
 
Introduction to the Magento eCommerce Platform
Introduction to the Magento eCommerce PlatformIntroduction to the Magento eCommerce Platform
Introduction to the Magento eCommerce Platform
Jarne W. Beutnagel
 
Creation of as built configurations
Creation of as built configurationsCreation of as built configurations
Creation of as built configurations
suryanarayana tata
 

Similar to Product Base Currency Magento Extension Manual 1.0.0.1 (20)

Magento 2 Product Price Formula Extension by IToris inc.
Magento 2 Product Price Formula Extension by IToris inc.Magento 2 Product Price Formula Extension by IToris inc.
Magento 2 Product Price Formula Extension by IToris inc.
 
CS 2336 PROJECT 3 – Linked Inventory Management Project Due 1104 b.docx
CS 2336 PROJECT 3 – Linked Inventory Management Project Due 1104 b.docxCS 2336 PROJECT 3 – Linked Inventory Management Project Due 1104 b.docx
CS 2336 PROJECT 3 – Linked Inventory Management Project Due 1104 b.docx
 
User and group security migration
User and group security migrationUser and group security migration
User and group security migration
 
Introduction to Mangento
Introduction to Mangento Introduction to Mangento
Introduction to Mangento
 
Mangento
MangentoMangento
Mangento
 
Constraint Based Configuration Model Explained
Constraint Based Configuration Model ExplainedConstraint Based Configuration Model Explained
Constraint Based Configuration Model Explained
 
Magento 2 integration tests
Magento 2 integration testsMagento 2 integration tests
Magento 2 integration tests
 
User and group security migration
User and group security migrationUser and group security migration
User and group security migration
 
How to migrate data from 3d Cart to Magento with LitExtension
How to migrate data from 3d Cart to Magento with LitExtensionHow to migrate data from 3d Cart to Magento with LitExtension
How to migrate data from 3d Cart to Magento with LitExtension
 
Ax2012 technical Upgrade process
Ax2012 technical Upgrade processAx2012 technical Upgrade process
Ax2012 technical Upgrade process
 
Fighting Fear-Driven-Development With PHPUnit
Fighting Fear-Driven-Development With PHPUnitFighting Fear-Driven-Development With PHPUnit
Fighting Fear-Driven-Development With PHPUnit
 
Oscommerce Setup
Oscommerce  SetupOscommerce  Setup
Oscommerce Setup
 
Force.com migration utility
Force.com migration utilityForce.com migration utility
Force.com migration utility
 
Universal Migration Checklist for Developers.pdf
Universal Migration Checklist for Developers.pdfUniversal Migration Checklist for Developers.pdf
Universal Migration Checklist for Developers.pdf
 
ITECH 2100 Programming 2 School of Science, Information Te.docx
ITECH 2100 Programming 2 School of Science, Information Te.docxITECH 2100 Programming 2 School of Science, Information Te.docx
ITECH 2100 Programming 2 School of Science, Information Te.docx
 
ObjectivesUse inheritance to create base and child classes.docx
ObjectivesUse inheritance to create base and child classes.docxObjectivesUse inheritance to create base and child classes.docx
ObjectivesUse inheritance to create base and child classes.docx
 
skintutorial
skintutorialskintutorial
skintutorial
 
skintutorial
skintutorialskintutorial
skintutorial
 
Introduction to the Magento eCommerce Platform
Introduction to the Magento eCommerce PlatformIntroduction to the Magento eCommerce Platform
Introduction to the Magento eCommerce Platform
 
Creation of as built configurations
Creation of as built configurationsCreation of as built configurations
Creation of as built configurations
 

Recently uploaded

How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
Globus
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Shahin Sheidaei
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
Adele Miller
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Anthony Dahanne
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
Globus
 
RISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent EnterpriseRISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent Enterprise
Srikant77
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
abdulrafaychaudhry
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Globus
 
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdfEnhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Jay Das
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
Ortus Solutions, Corp
 
Using IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandUsing IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New Zealand
IES VE
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
Cyanic lab
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
Juraj Vysvader
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
informapgpstrackings
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
XfilesPro
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
Ortus Solutions, Corp
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
Tier1 app
 

Recently uploaded (20)

How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
 
RISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent EnterpriseRISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent Enterprise
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
 
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdfEnhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
 
Using IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandUsing IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New Zealand
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
 

Product Base Currency Magento Extension Manual 1.0.0.1

  • 1. Title Product Base Currency Version 1.0.0.0 Author InnoExts (http://innoexts.com) Follow Us Product Base CurrencyProduct Base Currency 1. Overview 2. Installation 3. Configuration 4. Manage Products 5. Catalog Price Rules 6. Data Export 7. Data Import 8. Uninstallation 1. Overview1. Overview Product Base Currency extension enables to set a base currency on a product level instead of setting it on a website level in configuration. Prices, special prices, tier prices, customer group prices and catalog price rule discount amounts can be set in a desired base currency for each product. FeaturesFeatures Automated prices (prices, special prices, customer group prices, tier prices) and base currency scopeq Set a base currency for prices, special prices, customer group prices and tier pricesq Set a base currency for catalog price rule discount amountsq Export base currenciesq Export pricesq Export special pricesq Export customer group pricesq Export tier pricesq Import base currenciesq
  • 2. Import pricesq Import special pricesq Import customer group pricesq Import tier pricesq Automatic re-indexing after currency rates saveq 2. Installation2. Installation First of all we would like to suggest you to keep a development copy of a live installation for a new or updated extensions testing. Follow the steps listed below. 1. Make sure that your system corresponds to Magento requirements. 2. Make sure that PHP compilation function is disabled. In admin panel navigate to System > Tools > Compilation. If Compiler Status field equals to Enabled then press Disable button or: Open file includes/config.php (the file path is related to the document root). Replace define('COMPILER_INCLUDE_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'src'); with #define('COMPILER_INCLUDE_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'src'); 3. Make sure that files and database additional caching tools are disabled (e.g. APC cache). 4. Back up Magento files and database to be able to revert changes in a couple of minutes in case of possible problems. 5. Enable Magento error logs: System > Configuration > Advanced > Developer > Log Settings, Set Enabled to Yes. You can find errors information in files: var/log/system.log and var/log/exception.log (the file paths are related to the document root). 6. Extract extension and upload files into the document root. Double check that all files were uploaded successfully into the correct directory. 7. Navigate to System > Cache Management. Press Flush Cache Storage button. 8. If installer fails during the cache flushing then let us know error messages from the logs. 9. Check if extension is recognized by Magento: System > Configuration > Advanced > Advanced. The module should be listed there. 10. Check if the module conflicts with 3rd party modules previously installed on your system. Note, conflicts resolving service isn't included into the support package. Please, check the module for conflicts before open code purchasing with an encoded trial requested (php files are encoded only). 11. Navigate to System > Manage Currency Rates or System > Manage Currency > Rates (if your Magento version is equal or above the 1.7.0.0). Make sure that rates are populated. If not then press Import button or populate rates manually, save them by pressing Save Currency Rates button. 12. Navigate to System > Index Management. Click Select All to select all indexes types and press Submit button. If indexing fails then you have 3rd party module conflicts most probably (see 10th step), let us know the full error messages from the logs for further information.
  • 3. You made it! Please don't hesitate to contact us if you met troubles during the installation process. 3. Configuration3. Configuration The module ties product price scope that can be set in Magento configuration to the next attributes: Price, Special Price, Special Price From Date, Special Price To Date, Group Price, Tier Price and Base Currency. In admin panel navigate to: System > Configuration > Catalog > Catalog > Price. Once Catalog Price Scope is changed and saved the tied attributes scope comes updated according to the value chosen. 4. Manage Products4. Manage Products In administrator panel: Catalog > Manage Products. Click edit product or create a new one. Product Base Currency appends the Base Currency attribute at the end of Prices tab for Simple, Configurable, Virtual, Bundle and Downloadable product types.
  • 4. Once Base Currency is changed the system sets input currency for the next attributes: Price, Special Price, Group Price and Tier Price. 5. Catalog Price Rules5. Catalog Price Rules In administrator panel: Promotions -> Catalog Price Rules. Click edit rule or create a new one. Select Actions tab. The system respects base currencies for products matching rule criterias in case of fixed Discount Amount values. 6. Data Export6. Data Export Data exporting can be handled with the number of CLI (command line interface) scripts built-in. 6.1. Base Currency6.1. Base Currency Run the script with your arguments:
  • 5. php shell/Innoexts/ProductBaseCurrency/Catalog/Product/BaseCurrency/Export.php --file-path /var/export/Innoexts/ProductBaseCurrency/ --file-filename product-base-currency.csv Note, The script path is related to the document root in the sample but can be replaced with the absolute path (to run via cron service for example), file-path directory is always related to the document root. Run the next command to get arguments description php shell/Innoexts/ProductBaseCurrency/Catalog/Product/BaseCurrency/Export.php --help The output data feed var/export/Innoexts/ProductBaseCurrency/product-base-currency.csv should have the next format: sku,store,currency "HTC Touch Diamond",,EUR "HTC Touch Diamond",default,USD 6.2. Price6.2. Price Run the script with your arguments: php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Price/Export.php --file-path /var/export/Innoexts/ProductBaseCurrency/ --file-filename product-price.csv Note, The script path is related to the document root in the sample but can be replaced with the absolute path (to run via cron service for example), file-path directory is always related to the document root. Run the next command to get arguments description php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Price/Export.php --help The output data feed var/export/Innoexts/ProductBaseCurrency/product-price.csv should have the next format: sku,store,price "HTC Touch Diamond",,750 "HTC Touch Diamond",default,755 6.3. Special Price6.3. Special Price Run the script with your arguments: php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Special/Export.php --file-path /var/export/Innoexts/ProductBaseCurrency/ --file-filename product-special-price.csv Note, The script path is related to the document root in the sample but can be replaced with the absolute path (to run via cron service for example), file-path directory is always related to the document root. Run the next command to get arguments description
  • 6. php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Special/Export.php --help The output data feed var/export/Innoexts/ProductBaseCurrency/product-special-price.csv should have the next format: sku,store,price "HTC Touch Diamond",,740 "HTC Touch Diamond",default,745 6.4. Customer Group Price6.4. Customer Group Price Note, Group Price function is available for Magento CE 1.7.0.0+ only. Run the script with your arguments: php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Group/Export.php --file-path /var/export/Innoexts/ProductBaseCurrency/ --file-filename product-group-price.csv Note, The script path is related to the document root in the sample but can be replaced with the absolute path (to run via cron service for example), file-path directory is always related to the document root. Run the next command to get arguments description php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Group/Export.php --help The output data feed var/export/Innoexts/ProductBaseCurrency/product-group-price.csv should have the next format: sku,all_groups,customer_group,website,price "HTC Touch Diamond",,"General",,730 6.5. Tier Price6.5. Tier Price Run the script with your arguments: php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Tier/Export.php --file-path /var/export/Innoexts/ProductBaseCurrency/ --file-filename product-tier-price.csv Note, The script path is related to the document root in the sample but can be replaced with the absolute path (to run via cron service for example), file-path directory is always related to the document root. Run the next command to get arguments description php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Tier/Export.php --help The output data feed var/export/Innoexts/ProductBaseCurrency/product-tier-price.csv should have the next format: sku,all_groups,customer_group,website,qty,price "HTC Touch Diamond",,"General",,2,725 "HTC Touch Diamond",,"General",,3,720
  • 7. 7. Data Import7. Data Import Data importing can be handled with the number of CLI (command line interface) scripts built-in. 7.1. Base Currency7.1. Base Currency Run the script with your arguments: php shell/Innoexts/ProductBaseCurrency/Catalog/Product/BaseCurrency/Import.php --ftp --ftp-host ftp.hostname.com --ftp-user username --ftp-password password --ftp-filename remote-product-base-currency.csv --file-path /var/import/Innoexts/ProductBaseCurrency/ --file-filename product-base-currency.csv Note, The script path is related to the document root in the sample but can be replaced with the absolute path (to run via cron service for example), file-path directory is always related to the document root. Omit ftp arguments to run import from local data feed: php shell/Innoexts/ProductBaseCurrency/Catalog/Product/BaseCurrency/Import.php --file-path /var/import/Innoexts/ProductBaseCurrency/ --file-filename product-base-currency.csv Run the next command to get arguments description php shell/Innoexts/ProductBaseCurrency/Catalog/Product/BaseCurrency/Import.php --help The input data feed var/import/Innoexts/ProductBaseCurrency/product-base-currency.csv should have the next format: sku,store,currency "HTC Touch Diamond",,EUR "HTC Touch Diamond",default,USD Data Feed Format sku Product SKU store Store ID or code currency Currency code 7.2. Price7.2. Price Run the script with your arguments: php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Price/Import.php --ftp --ftp-host ftp.hostname.com --ftp-user username --ftp-password password --ftp-filename remote-product-price.csv
  • 8. --file-path /var/import/Innoexts/ProductBaseCurrency/ --file-filename product-price.csv Note, The script path is related to the document root in the sample but can be replaced with the absolute path (to run via cron service for example), file-path directory is always related to the document root. Omit ftp arguments to run import from local data feed: php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Price/Import.php --file-path /var/import/Innoexts/ProductBaseCurrency/ --file-filename product-price.csv Run the next command to get arguments description php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Price/Import.php --help The input data feed var/import/Innoexts/ProductBaseCurrency/product-price.csv should have the next format: sku,store,price "HTC Touch Diamond",,750 "HTC Touch Diamond",default,755 Data Feed Format sku Product SKU store Store ID or code price Price value 7.3. Special Price7.3. Special Price Run the script with your arguments: php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Special/Import.php --ftp --ftp-host ftp.hostname.com --ftp-user username --ftp-password password --ftp-filename remote-product-special-price.csv --file-path /var/import/Innoexts/ProductBaseCurrency/ --file-filename product-special-price.csv Note, The script path is related to the document root in the sample but can be replaced with the absolute path (to run via cron service for example), file-path directory is always related to the document root. Omit ftp arguments to run import from local data feed: php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Special/Import.php --file-path /var/import/Innoexts/ProductBaseCurrency/ --file-filename product-special-price.csv Run the next command to get arguments description php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Special/Import.php --help
  • 9. The input data feed var/import/Innoexts/ProductBaseCurrency/product-special-price.csv should have the next format: sku,store,price "HTC Touch Diamond",,740 "HTC Touch Diamond",default,745 Data Feed Format sku Product SKU store Store ID or code price Price value 7.4. Customer Group Price7.4. Customer Group Price Note, Group Price function is available for Magento CE 1.7.0.0+ only. Run the script with your arguments: php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Group/Import.php --ftp --ftp-host ftp.hostname.com --ftp-user username --ftp-password password --ftp-filename remote-product-group-price.csv --file-path /var/import/Innoexts/ProductBaseCurrency/ --file-filename product-group-price.csv Note, The script path is related to the document root in the sample but can be replaced with the absolute path (to run via cron service for example), file-path directory is always related to the document root. Omit ftp arguments to run import from local data feed: php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Group/Import.php --file-path /var/import/Innoexts/ProductBaseCurrency/ --file-filename product-group-price.csv Run the next command to get arguments description php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Group/Import.php --help The input data feed var/import/Innoexts/ProductBaseCurrency/product-group-price.csv should have the next format: sku,all_groups,customer_group,website,price "HTC Touch Diamond",,"General",,730 Data Feed Format sku Product SKU all_groups Either price should be applied for all groups or not (1 or 0). For Group Price it equals to 0 (or empty) customer_group Customer group ID or name
  • 10. website website ID or code price Price value 7.5. Tier Price7.5. Tier Price Run the script with your arguments: php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Tier/Import.php --ftp --ftp-host ftp.hostname.com --ftp-user username --ftp-password password --ftp-filename remote-product-tier-price.csv --file-path /var/import/Innoexts/ProductBaseCurrency/ --file-filename product-tier-price.csv Note, The script path is related to the document root in the sample but can be replaced with the absolute path (to run via cron service for example), file-path directory is always related to the document root. Omit ftp arguments to run import from local data feed: php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Tier/Import.php --file-path /var/import/Innoexts/ProductBaseCurrency/ --file-filename product-tier-price.csv Run the next command to get arguments description php shell/Innoexts/ProductBaseCurrency/Catalog/Product/Price/Tier/Import.php --help The input data feed var/import/Innoexts/ProductBaseCurrency/product-tier-price.csv should have the next format: sku,all_groups,customer_group,website,qty,price "HTC Touch Diamond",,"General",,2,725 "HTC Touch Diamond",,"General",,3,720 Data Feed Format sku Product SKU all_groups Either price should be applied for all groups or not (1 or 0) customer_group Customer group ID or name website Website ID or code qty Quantity value price Price value 8. Uninstallation8. Uninstallation 1. Make sure that PHP compilation function is disabled. This procedure was described in the installation topic (see 2nd step). 2. Make sure that files and database additional caching tools are disabled (e.g. APC cache).
  • 11. 3. Back up Magento files and database to be able to revert changes in a couple of minutes in case of possible problems. 4. Enable Magento error logs: System > Configuration > Advanced > Developer > Log Settings, Set Enabled to Yes. You can find errors information in files: var/log/system.log and var/log/exception.log (the file paths are related to the document root). 5. Open file app/etc/modules/Innoexts_ProductBaseCurrency.xml (the file path is related to the document root) 6. Replace <active>true</active> with <active>false</active> 7. If you don't have other extensions installed that depend on the same sub-module then repeat the steps above for app/etc/modules/Innoexts_Core.xml. Note, you can find the list of modules that the current module depends on under the next XML node: config > modules > depends 8. Run MySQL queries from the file: sql/Innoexts/ProductBaseCurrency/uninstall.sql (the file path is related to the document root). If some query fails due to the database inconsistency for some reason then continue from the next query after the failed one and so on. Note, if database tables are prefixed then the file should be run instead: sql/Innoexts/ProductBaseCurrency/prefixed_uninstall.sql. Replace [prefix] with your tables prefix. 9. Navigate to System > Cache Management. Press Flush Cache Storage button. 10. If the cache flushing fails then let us know error messages from the logs. 11. Check if extension isn't listed in Magento anymore: System > Configuration > Advanced > Advanced. The module should be listed there. 12. Navigate to System > Index Management. Click Select All to select all indexes types and press Submit button.