2012年5月31日星期四

Magento import map, customization options (3)

If you do not see the first two introduce the quantities of imported articles, please read the previous two articles.fridge magnet cartoon soft rubber
 
Magento import map, customization options
 
Magento import map, custom options (2)[莆田论坛]
 
Use this plugin to import the custom option when we found that import order customization options, in alphabetical order.
 
For example, we import the Color drop-down menu, the order of the attributes of our csv file is: red, blue, white. But after import, we found that their order has become: blue, red, white. Is arranged in alphabetical order.tn nike requin
 
We need to modify the plugin code to fix this problem.
 
Need to modify the plug-in file path: app \ code \ community \ CapacityWebSolutions \ ImportProduct \ the Model \ the Convert \ Adapter \ product.php
 
The code fragment: in about 132 lines of position, add the $ i variable, about 210 lines of position, the value of the sort_order replaced $ i + +, so it will import value in accordance with the import order to set the sort of weight.nike requin


[code]$ I = 0; foreach ($ importData as $ field => $ value) {if (in_array ($ field, $ this-> _inventoryFields)) {continue;} if (in_array ($ field, $ this-> _imageFields)) {continue;} $ attribute = $ this-> getAttribute ($ field); if (! $ attribute) {if (strpos ($ field, ':')! == FALSE && strlen ($ value)) {$ values ​​= explode ('|', $ value); if (count ($ values)> 0) {@ list ($ title, $ type, $ is_required, $ sort_order) = explode (':', $ field); $ title = ucfirst (str_replace ('_', '', $ title)); $ custom_options [] = array ('is_delete' => 0, 'title' => $ title, 'previous_group' =>'', 'previous_type' = >'', 'type' => $ type, 'is_require' => $ is_required, 'sort_order' => $ sort_order, 'values' => array ()); foreach ($ values ​​as $ v) {$ parts = explode (':', $ v); $ title = $ parts [0]; if (count ($ parts)> 1) {$ price_type = $ parts [1];} else {$ price_type = 'fixed';} if (count ($ parts)> 2) {$ price = $ parts [2];} else {$ price = 0;} if (count ($ parts)> 3) {$ sku = $ parts [3];} else {$ sku ='';} if (count ($ parts)> 4) {$ sort_order = $ parts [4];} else {$ sort_order = 0;} switch ($ type) {case 'file': break ; case 'field': case 'area': $ custom_options [count ($ custom_options) - 1] ['max_characters'] = $ sort_order; case 'date': case 'date_time': case 'time': $ custom_options [count ($ custom_options) - 1] ['price_type'] = $ price_type; $ custom_options [count ($ custom_options) - 1] ['price'] = $ price; $ custom_options [count ($ custom_options) - 1] ['sku '] = $ sku; break; case' drop_down ': case' radio ': case' checkbox ': case' multiple ': default: $ custom_options [count ($ custom_options) - 1] [' values'] [] = array ('is_delete' => 0, 'title' => $ title, 'option_type_id' => -1, 'price_type' => $ price_type, 'price' => $ price, 'sku' => $ sku, 'sort_order '=> $ i + +); break;}}}} continue;}[/code]fridge magnet

2012年5月30日星期三

Magento import map, custom options (2)

Tried under the Magento 1.6 bulk import goods on behalf of more than diagrams and customization options, this side of the import is based on my previous article, share the handling precautions.fridge-magnet-online-shop
 
Please read my article on it again: the Magento import map, customization options
 
First, look at, I exported the store said that the set of commodities, the following screen shot page for Magento background, the System -> Import / Export -> the Dataflow - the Profiles in the Profile Wizard columns. I first export is because some people are the first batch already export commodity, edit and then batch update.foot locker

The Magento the Export field the mapping
 
* Note the red part of the figure.
 
The exported file, fridge magnet we need to be modified, the modified example: the Magento multi-map customization options batch import CSV sample file
 
This document are only examples, we have to modify according to their own circumstances, and then you can use. This example contains only a custom attribute.
 
Use the editor to open (I use Notepad + +), we can notice that the characteristics of its punctuation, such as the following screenshots.

Magento Bulk Import CSV file sample details
 
We can see if a property value is two, to have English double quotes, and other properties with only one value do not have double quotes.
 
The bulk import, the Magento will be prompted to the value of an attribute is not legitimate, but in fact is not necessarily that he prompts value, the value of the property adjacent. This problem there are two possibilities, a coding problem, for example, this value is in French, German, does not recognize. Another possibility is the double quotes, here it should be noted.
 
How to import multiple customization options?莆田论坛
 
Example: Size: drop_down: 1 Color: drop_down: 1
 
In CSV, more than one property either add a custom option.


 
Reported property values ​​is not correct, or error how is it?
 
Such as the alarm "Skip import row, required field" skus "not defined" This is not necessarily sku value of a problem, it is possible to coding causes.
 
Use UTF8 encoding to write your csv file, I use Notepad + + code conversion function to the CSV file as UTF8 format,
fridge magnets -Spongebob which will be reduced because the French, Spanish and other non-English language because of the code caused such alarm. And when a property has multiple values, if the alarm attribute value is incorrect, please try to use double quotation marks enclose the value up.


 
We can use excel to edit csv files, but we want to use another editor such as Notepad (I use Notepad + +) view of the file hash, whether some value in double quotes is not whether the coding problem, Magento bulk import support UTF-8 and ANSI encoding.
 
Suggest a classification of a CSV file, nike requin so better to operate some.
 
If you want to use Magento bulk import of the Dataflow - Advanced the Profiles
 
Actions XML of this article can refer to this document: the Magento-Actions-the xml(莆田论坛

2012年5月23日星期三

magento import map, customization options

Tried under the Magento 1.6 bulk import goods on behalf of more than diagrams and customization options, this side of the import is based on my previous article, share the handling precautions.nike tn pas cher
 
Please read my article on it again: the Magento import map, customization options
 
First, look at, I exported the store said that the set of commodities, the following screen shot page for Magento background, the System -> Import / Export -> the Dataflow - the Profiles in the Profile Wizard columns. I first export is because some people are the first batch already export commodity,nike requin edit and then batch update.
 
The Magento the Export field the mapping
 
The exported file, we need to be modified, the modified example: the Magento multi-map customization options batch import CSV sample file
 
This document are only examples,tn nike requin we have to modify according to their own circumstances, and then you can use. This example contains only a custom attribute.
 
Use the editor to open (I use Notepad), we can notice that the characteristics of its punctuation, such as the following screenshots.
 
Magento Bulk Import CSV file sample details(fridge magnet
 
We can see if a property value is two, to have English double quotes, and other properties with only one value do not have double quotes.
 
The bulk import, the Magento will be prompted to the value of an attribute is not legitimate, but in fact is not necessarily that he prompts value, the value of the property adjacent. This problem there are two possibilities, a coding problem, for example, this value is in French, German, does not recognize.
fridge magnets-hello kitty Another possibility is the double quotes, here it should be noted.
 
How to import multiple customization options?
 
Example: Size: drop_down: 1 Color: drop_down: 1
 
In CSV, more than one property either add a custom option.
 
Reported property values ​​is not correct, or error how is it?
 
Such as the alarm "Skip import row, required field" skus "not defined" This is not necessarily sku value of a problem, it is possible to coding causes.
fridge magnets-icecandy
 Use UTF8 encoding to write your csv file, I use Notepad encoding conversion function to the CSV file as UTF8 format, which would reduce such alarm caused by the French, Spanish and other non-English language because the encoding. And when a property has multiple values, if the alarm attribute value is incorrect, please try to use double quotation marks enclose the value up.fridge magnets - Cow
 We can use excel to edit csv files, but we want to use another editor such as Notepad (I use Notepad,) look at the file is garbled, whether some value in double quotes do not have a problem, whether the encoding, Magento bulk import support UTF-8 and ANSI encoding.
 
Suggest a classification of a CSV file, so better to operate some.
 
If you want to use Magento bulk import of the Dataflow - Advanced the Profiles
 
Actions XML of this article can refer to this document: the Magento-Actions-the xml

2012年5月22日星期二

Magento run Compilation error

Set the the Magento background run Compilation process all of a sudden the site hung up, alarm information is as follows.foot locker Compilation of position in the Magento admin System-> Tools-> Compilation, as shown above. Compilation is mainly used to speed up magento run, the specific content, please google "in the Magento Compilation

Strict Standards: include_once () [function.include-once]:
fridge magnets-bottle opener It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set () function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America / New_York' for 'EST/-5.0/no DST' instead in / home / magentok / domains / magentokey.com / public_html / app / Mage.php on line 36 Warning: include_once fridge magnets -Motor(Mage_Core_functions.php) [function.include-once]: failed to open stream: No such file or directory in / home / magentok / domains / magentokey.com / public_html / app / Mage.php on line 36 Strict Standards: include_once () [function.include-once]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set () function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America / New_York' for 'EST/-5.0/no DST' instead in / home / magentok / domains / magentokey.com / public_html / app / Mage.php on line 36 Warning: include_once () [function.include]: Failed opening 'Mage_Core_functions.php' for inclusion (include_path = '/ home / magentok / domains / magentokey.com / public_html / includes / src:. :/ usr / local / lib / php ') in / home / magentok / domains / magentokey.com / public_html / app / Mage.php on line 36 Strict Standards: include_once () [function. include-once]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting,fridge magnets - Dragonfly the TZ environment variable or the date_default_timezone_set () function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America / New_York' for 'EST/-5.0/no DST' instead in / home / magentok / domains / magentokey.com / public_html / app / Mage.php on line 37 Warning: include_once (Varien_Autoload.php) [function.include-once]: failed to open stream: No such file or directory in / home / magentok / domains / magentokey.com / public_html / app / Mage.php on line 37 Strict Standards : include_once () [function.include-once]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set () function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America / New_York' for 'EST/-5.0/no DST' instead in / home / magentok / domains / magentokey.com / public_html / app / Mage.php on line 37 Warning: include_once () [function.include]: Failed opening 'Varien_Autoload.php' for inclusion (include_path = '/ home / magentok / domains / magentokey.com / public_html / includes / src:.: / usr / local / lib / php ') in / home / magentok / domains / magentokey.com / public_html / app / Mage.php on line 37 Strict Standards: main () [function.main]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, fridge magnet the TZ environment variable or the date_default_timezone_set () function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America / New_York' for 'EST/-5.0/no DST' instead in / home / magentok / domains / magentokey.com / public_html / app / Mage.php on line 53 Fatal error: Class 'Varien_Autoload' not found in / home / magentok / domains / magentokey.com / public_html / app / Mage.php on line 53

Have not encountered this situation before, google a bit, but could not find a viable solution, so a message to simplehelix.com technical support,nike tn pas cher so that they help me see the moment they give to solve the customer service message as follows:

Hello, I have fixed the error and the site is now back up. I added a line to your. Htaccess for the timezone error. For the remaining errors I did this: I located this file - / includes / config.php I then swapped out this: define ('COMPILER_INCLUDE_PATH', dirname (__FILE__). DIRECTORY_SEPARATOR. 'src'); # define ('COMPILER_COLLECT_PATH', dirname (__FILE__). DIRECTORY_SEPARATOR. 'stat'); For this: # define ('COMPILER_INCLUDE_PATH', dirname (__FILE__). DIRECTORY_SEPARATOR. 'src'); define ('COMPILER_COLLECT_PATH', dirname (__FILE__). DIRECTORY_SEPARATOR. 'stat'); Also per a forum post,nike requin it was suggested to - "don't use the 'enable' button first, please use the 'Run compilation process' button first and then use the 'enable' button ". I am hoping that will help. Please let us know if you need any further assistance. Thank you,
From the customer service message, we know him to modify the two settings, so we encounter the same alarm information can be modified as customer service said. The customer is no mention of the Web site linked to, modified, we have to manually empty the cache file, then run.
 
The customer also mentioned that when we open the Magento Compilation, remember to click 'Run the compilation process' button, then click on "enable".

2012年5月21日星期一

Talk about magento manual installation

There are two magento install the required files a magento-1.6.1.0.tar.gz magento installation file 1.6.1.0 indicate the installation file version is 1.6.1.0.
 
This file is magento-sample-data-1.6.1.0.tar.gz foot lockermagento demo data compression package, demo data the name suggests, is to make presentations, usually no need to install. If you need to practice using Magento, or a template development, then the demo data is still very convenient. This demo data to extract the compressed package files in a sql file to install the display data,
fridge magnets -Flying pigto import the database you can install magento when using this database. There is also a media folder magento root directory of media files directly with this media coverage of the media in magento. The photos so that the presentation of data and presentation data are.
 
Unzip Magento installation file after extracting the files into the domain root directory, which completed a Magento installation file to deploy
 
We can see that after extracting magento document root app folder, media folder, the var folder, nike tn pas cher the skin a lot of files and folders and other folders.
 
magento core files, and template structure file is stored in the app.
 
skin file to store the template style file.
 
media folders stored in the photos of the site.fridge-magnet
 
var folder store magento cache files and other documents.
 
Then you want to set file permissions problem.
 
In fact, we do not have to pipe the file permissions, directly into the magento installation process, if the file permissions does not, the installation process will be prompt. Prompt you which files need write permission to go to the settings, and then refresh the page to.
 
Access to the domain name to enter the setup page, set the parameters of the Magento system, time, currency, user name, password, tn requin etc.. The most important one is the database settings to fill in to set up a good database name, password, table prefix Table prefix this thing can be written also can not write. Written, all the tables in Magento will be a table prefix.
 
4 installed, try


Online recording magento installation video, see the my magento Chinese video.
 
Reference materials at home and abroad, but are written is not very good, I hope this article is a supplement.
fridge magnets - Pod
 magento installation environment, see: http://www.magentocommerce.com/system-requirements
 
SSH installation magento official see: http://www.magentocommerce.com/wiki/groups/227/installing_magento_via_shell_ssh the
fridge magnets -Red apple

2012年5月18日星期五

How to disable, remove, reinstall the plug-in Magento?

fridge-magnet-rabbit


foot locker

Uninstall plug-ins for many newcomers do not know, today to introduce how to disable or uninstall Magento plugin. The following methods need to refresh magento cache, or disable magento's cache before the operation. Operation is complete, exit the background, and log back in the background. The most important thing, to practice, do not experiment on the website running on the test site.
 
Magento plug-in is disabled
 
The magent background, the most annoying is the pop of that information, the following figure this stuff.
 
Magento backend notification
 
The news prompted the name of Notification can be considered a plug-in magento we look at how to turn off, turn off the other plug-in is such a process.
 
In the background into the system -> configuration-> advanced, as shown below, to find this plug-in, select the disable, you can save.
 
magento disable notification
 
This is the way of the magento background disable plug-ins, but sometimes we finished loading the plug-in, the site hung up, even the background are inaccessible at this time how to do it? Here to talk to manually operate the plug.
 
We can manually delete the plug-in configuration file in magento, in order to disable the plug-ins.
 
General plug-in configuration file location for Magento in the document root of the / app / etc / modules folder, find the xml file of your plug-in name to remove it, or view the file update date to help you determine which files are just installed plug-in. In order to disable the plug-in. Do not forget to manually refresh the cache file after the operation.
 
(3) delete plug-ins
 
When we disable the plug-in, there is naturally unhappy, something not keep what to do, so I want to delete, such as mentioned above, to delete cache files, you also need to delete the template file, the location of these files in general / in the community in the app / code file folder or local folder, and maybe folder is a plug-in core file, if the plug-in template files, you need to go into your template file, generally find the default template. be removed.
 
Remove plug-ins require a certain amount of knowledge of magento plug-ins, such as file structure knowledge mgento plug-in, view the configuration file to find the common sense of the file. If the ftp install the plug-in, in accordance with the original plug-in file structure to find Magento the connect plug-in installed based on experience came.
 
We can find the file, but at the same time, we do not forget there may be a database table, you may need to also delete the database script file into the plug-in, look plug-in database table, in order to remove it.
 
On re-install the plug-in, sometimes the purpose of debugging plug-ins need to re-install the plug. Re-install the plug-in, an update file, delete the database, the point is to remove the plug-in installation log in core_resource. This is no trace of a plug-in manually deleted.
A few lines to introduce under magento plug-maintenance operation, a novice on the background of Magento the connect operation, so the most hassle free. Do hair, naturally must first be familiar with the magento plug norms, before proceeding.
 
Plug-in, we do not have big because someone installed a plug-shining and envy, in fact, can be enough, this thing of the plug-in as little less, would site the stable operation of great benefits. Spend more time in marketing is king.


fridge-magnet-rabbit    


foot locker

2012年5月17日星期四

Magento documents understanding and moving

fridge magnets -Red appl || tn max




Novice start will always be very confusing scratching their heads, but stick to it, more than the google, multi-try will be successful.
 
We first look at magento the original installation package, and we use the period of magento site so what difference
 
Differences are as follows:
 
A root directory of the media folder there is a site to add commodities picture. (Inside a folder name of the cache, this folder is a picture cache files can be deleted, Magento runtime will automatically re-generated.)
 
The root directory of the var folder, the files are cached in the cache and the session folder is cached, it means that you can always delete out. Moving to remember to clear maybe has a file in the file.
 
3 in app / design / frontend / default / folder and the skin / frontend / default folder to store the template file that you later installed. For example, your template folder name is the after theme110 then install it, the template path should be app/design/frontend/default/theme110 and skin/frontend/default/theme110.
 
The most exceptional circumstances, you get the template file is not in this folder. But you and the original skin / frontend / folder content magento file comparison will find his location.
 
Sometimes the template also contains the plug-in is part of the template. In general, if the template file contains the file app / code / community or the app / code / local is to say, this template with a plug-in.
 
Stored in app / code / community and app / code / local file folder with the main file of the plug-in, plug-in configuration file in the app / etc / modules.
 
5 to install the plug should pay attention to some plug-in template files, general plug-in template files in app / design / frontend / default / default and skin / the frontend / default / default ie, the default template.
 
6. Installed magento appears the app / etc / local.xml file so the file, this file contains the configuration information of magento, such as the address of the database, database user name, password, table prefix, site background address address. This file is created automatically magento installation. When magento undetectable this file exists, it will enter the setup page. So when the time of moving our website, we will be the original site local.xml rename in order to once again let magento into the setup page, configure the new server and database information.
 
The 7.magento the database contains magento products, classification, user information, order information, the information of the previous plug-in, so moving the entire database to transfer to the new server to re-enter the installation page in magento, fill out a new database information.
 
Introduced as mentioned above, how to give our magento move?

The original site file var file in the cache and session files to be deleted, delete the cache files in the media. And production of all documents into a single compressed package in order to reduce the file size to facilitate the transfer.
 
2 compressed package transferred to the new server domain name to point to the file folder, unzip it.
 
The unpacked file is corrupted the correct file permissions (file permissions problem).
 
Export magento database using phpmyadmin export, reference articles: http://www.hellokeykey.com/magento-export-database-via-phpmyadmin/
 
Note: look at your database with or without table prefix, write in the first step.
 
5 in the new space to create a new database, import the backup data file.
 
6. The app / etc / local.xml file so the file rename.
 
This file also contains the database table prefix, rename, open look.
<resources> <db> <table_prefix> <! [CDATA [mage_]]> </ table_prefix> </ db> <default_setup> <connection> <host> <! [CDATA [localhost]]> </ host> <username > <! [CDATA [chiqingm_mage2]]> </ username> <password> <! [CDATA [AcccPuPg654]]> </ password> <dbname> <! [CDATA [sdw_mage2]]> </ dbname> <active> 1 </ active> </ connection> </ default_setup> </ resources>
the <table_prefix> <! [CDATA [here the contents of the table prefix]]> </ table_prefix in the above code, this database table prefix mage_ the7 Check the var folder in the cache and the session folder is already empty.
 
URL to access your site into the magento installation page.
 
9 to fill in the database that step, write the first four steps of the new name of the database, user name, password, table prefix information. Note to view your database with or without table prefix, or magento will re-create all the tables.
 
10 after the end of the installation into the background to refresh the next cache and index management.
 
11 at the front desk to check whether there is strange. If some image not displaying properly, check whether the use of a fixed link, causing the image is invalid because the domain name to replace.


 
Added:
 
Why magento move to have all the website files to be transferred together, because your magento site may be in the process, unknowingly modify files outside some template files, but you can not be screened which is to turn over. All files with the move is the most hassle free.
 
In general, the move if only to transfer the template file will be a lot of problems. Some template or plug-in will have a file stored in the folder I did not mention above, if you move only transfer media folder the app and skin template file will be a problem because the file did not transfer complete.
 
Whether to do what must be the first backup, before moving on to do the next backup should the original site. If you use the space with one-button backup, this will be very simple.

2012年5月15日星期二

magento1.6的Minimum Advertised Price

In the Magento 1.6 new Minimum Advertised Price, features, and his initials "MAP" means the manufacturers guide price "suggested retail price of" minimum selling price.
 
The main role of this function is hidden in the front page the price will be displayed in the shopping cart, or submit an order when the price. Your shop to sell goods in order to avoid even lower prices than the manufacturers guidance. Why should avoid, this is a matter of business, we own research. Magento's functionality seems to be very popular, at least in a foreign country. Today we look at the setup and use of this feature.
 
This feature is the default setting in: System -> Configuration -> the Sales -> the Minimum Advertised Price,.
This is the default setting, the setting is not enabled, not enabled by default when adding new products.
 
The Magento the Minimum Advertised Price,
 
Enable MAP: whether to turn on this feature. We need to use, you want to set to "YES" to here.
 
Apply MAP (Default Value): whether to use this feature, and the Enable the MAP, such as the above warning: this setting is set to open here, the price of all goods of the site will be hidden. We here set to "NO", which items need to use this function to set the edit page of that commodity, as mentioned below.
 
Display Actual. Price: this is to set the price where the show. Since the use of this feature is to hide our prices, then we will eventually have to tell customers in commodity prices, here is set up, how do we tell our users commodity prices. Show commodity prices in the commodity added to the shopping cart, or confirm the order, when told the user to commodity prices?
 
Text Message: prompt, tell the user why do not you show prices.
 
Thus, the global settings we probably understand, to know that this feature is how we still have to yourself to try it. Then go to our products edit page.
 
Open a commodity, this function will the commodity edit pages Price column presents:
 
set magento manufacturers guide price of goods
 
As shown, the Apply the MAP is set to "YES" using the MAP function, the Display Actual, Price is set to "In Cart" means the price of goods displayed in the shopping cart. Manufacturer's Suggested Retail Price, business guide price is set to 800, while the price of this product we store 750. The front desk look at the settings are saved Product Details page, Ken does not display the price of this commodity added to the shopping cart, you can see the price of this commodity.

2012年5月14日星期一

 shopping online: fridge-magnet-monkey || nike requin

In the Magento 1.6 new Minimum Advertised Price, features, and his initials "MAP" means the manufacturers guide price "suggested retail price of" minimum selling price.
 
The main role of this function is hidden in the front page the price will be displayed in the shopping cart, or submit an order when the price. Your shop to sell goods in order to avoid even lower prices than the manufacturers guidance. Why should avoid, this is a matter of business, we own research. Magento's functionality seems to be very popular, at least in a foreign country. Today we look at the setup and use of this feature.
 
This feature is the default setting in: System -> Configuration -> the Sales -> the Minimum Advertised Price,.
 
This is the default setting, the setting is not enabled, not enabled by default when adding new products.
 
The Magento the Minimum Advertised Price,
 
Enable MAP: whether to turn on this feature. We need to use, you want to set to "YES" to here.
 
Apply MAP (Default Value): whether to use this feature, and the Enable the MAP, such as the above warning: this setting is set to open here, the price of all goods of the site will be hidden. We here set to "NO", which items need to use this function to set the edit page of that commodity, as mentioned below.
 
Display Actual. Price: this is to set the price where the show. Since the use of this feature is to hide our prices, then we will eventually have to tell customers in commodity prices, here is set up, how do we tell our users commodity prices. Show commodity prices in the commodity added to the shopping cart, or confirm the order, when told the user to commodity prices?
 
Text Message: prompt, tell the user why do not you show prices.
 
Thus, the global settings we probably understand, to know that this feature is how we still have to yourself to try it. Then go to our products edit page.
 
Open a commodity, this function will the commodity edit pages Price column showing the green part of the following diagram:
 
set magento manufacturers guide price of goods
 
As shown, the Apply the MAP is set to "YES" using the MAP function, the Display Actual, Price is set to "In Cart" means the price of goods displayed in the shopping cart. Manufacturer's Suggested Retail Price, business guide price is set to 800, while the price of this product we store 750. The front desk look at the settings are saved Product Details page, Ken does not display the price of this commodity added to the shopping cart, you can see the price of this commodity.

2012年5月13日星期日

Magento modify the URL

Today, how to modify the Magento website URL, before the amendment disable magento's cache.

Suppose we URLs 'www.topfriend-shop.com modify 'www.requintn-fr.com'

The System in the Magento admin -> Configuration -> web enter the settings page as shown above. The arrow on the map the Base Url http://www.hellokeykey.com/ amended as {{off of the base_url}}, and then can refresh the cache, then the {{off of the base_url}} Modify http://www.requintn-fr.com/, so that the web site modification is completed, then refresh the cache and index management can be.

The cache refresh in the System -> Cache Management.

The index management to refresh the System -> Index Management.

This article on the Magento 1.5, other versions may be slightly different.

2012年5月12日星期六

Store Manager for the Magento installation and configuration

 magento shopping website for example: fridge-magnet-loving heart || tn nike requin

Previous article I talked about the Magento Assistant (Store Manager for the Magento), if you do not see, to go to look.
 
Today we see the next Magento assistant how to install. First Quguan network to download and install Download Magento assistant (http://www.mag-manager.com/), like other software will be installed.
 
We look to how to initialize the Magento assistant to link to our Magento store. Logo to open the our Magento Assistant software, click on the upper left corner, as shown in the a, select the preference.
 
Store Manager for the Magento set up a new connection
 
This dialog box is connected to a new Magento store pages, as we use filezilla create a new FTP account, this configuration can be saved, so that we can next use. Figure 2 "actions" button, we click the drop-down menu to select a new connection configuration of a store, is a name for your current settings, I named the "one". Next time you need to connect I just need to select "one" can be.
 
The name below to set up a new connection is connected. Magento assistant to connect with our Magento store in two ways, first is a direct connection to our Magento database, the second is to place a PHP file in the Magento website root directory, and then connect through this file with Magento store.
 
Above if the first one, you make sure your Magento store database supports remote connection, if you do not know can ask the server administrator or customer service. I have the impression, the general space will not support remote connect to the database. Support, fill in the database server address, database user name, password, database name. You are finished, click the test connection is correct (from: www.hellokeykey.com). A Magento assistant by connecting your Magento database, click on the sub-dialog box below, acceptance and confirmation button, this configuration to initialize the connection end.
 
If you select the second connection, the Magento assistant indirectly through a PHP file to connect to your Magneto store. This PHP files can be found in the Magento assistant software installation files, open the assistant of your Magento installation folder in the path of my computer: D: \ Program Files \ MagneticOne \ Store Manager for the Magento \ Service \ bridge.php, this file The important fragments are as follows
 
/ / Please change immediately / / it is security threat to leave these values ​​as is! $ Username = "a"; $ password = "b"; / / Please create this directory or change to any existing temporary directory / / temporary directory should be writable by php script (chmod 0777) $ temporary_dir = ". / tmp"; / / on some systems if you get output with 0 size, try to use some local temporary folder / / Please enter your email address here to receive notifications / / $ user_email = 'YOUR@EMAIL-HERE.com';
This file is a username and password settings, the cache folder path settings. Sentence $ temporary_dir. "The / tmp"; New Folder in the root directory of your Magento store tmp, tmp path for the cache file, set permissions to 765. Corresponds to the following Magento assistant Bridge, the URL for the file access path on the root folder, the path is http://www. Domain .com / bridge.php form. login in bridge.php $ username = "a"; $ password = "b"; here you want to modify the default user name and password for security reasons, I simply set to a and b. bridge.php can also be the same name called other names, so that more secure.


Store Manager for the Magento set up a new connection
 
Set, click on one view, you of the bridge.php file configuration cache file tmp folder is set correctly, whether the file permissions correctly, and whether you can connect to the database, the database operation. Click on map to view our Magento assistant is properly connected with Magento store 2. These are not the problem, you can click under the acceptance of the following to save the settings, click OK to open the connection configuration.

2012年5月10日星期四

Magento's powerful assistant Store Manager for the Magento

special magento shopping:pink pig fridge magnet || nike tn pas cher

Many of us have used Taobao assistant, the Magento Assistant Store Manager for the Magento like Taobao assistant, like a can manage our Magento store software. This is the savior of those people struggling Magento goods upload, batch processing of the Magento goods. However, the Because Magento complex, led to the complexity of the software, the settings need to spend time to become familiar with. As an experienced Magento users, I use this software can not be all of a sudden start. Dare to confirm the function of which still need to practice. The official website of its detailed functional description and instructions for use, please refer to the official website.
 
Store Manager for Magento official website Download: http://www.mag-manager.com/
 
Official video tutorial, see: http://www.mag-manager.com/screenshots-video
 
Magento assistant to provide a fully functional free trial download address in the mailbox of a registered account will receive one month of the authorization code. I have found through trial, the Magento assistant existing stores data downloaded to the local editor and then upload it to your Magento store is not synchronized on the online store operation. It's very powerful import and export functions, can import and export classification of goods, commodities and merchandise pictures, orders, user, and so on.
 
In the beginning when you first you store the data downloaded to the local, and then do modify or import and export operations. These changes, import and export of the local data, the last still need to upload to your store to see the results (from: www.hellokeykey.com). Exported goods, if the need to export the picture need to set the FTP information, set the export commodity picture storage folder, export speed and the number of goods and the network is good or bad. If the server in a foreign country, then get the same room windows virtual host will save a lot of energy.
 
Import data when some option is set to note, for example, if the existing classification of imported goods name and ID, and store repeat, how do? You set to overwrite, or set to not overwrite? The import of goods is based on the commodity ID of the imported commodity or product SKU to distinguish between whether there is already in stores. Export of goods attributes contains? ....
 
I think an old station data into a data station, you should import the attributes and attribute groups, and then import the commodity classification, and then import the goods.
 
We can create two Magento stores, one is to install the demo data, a new space station. These two stations to practice the use of this software.
 
I will further installation of this software to explain, thank you for your attention.

2012年5月8日星期二

Settings of the Magento web site 'www'

The Magento web site:wholesale fridge magnet online shop || nike tn pas cher 

The website is a very important part of SEO, www URLs in google, and without the www web site may be considered to be a different address, which is not conducive to SEO (of course, by other means, we can tell google they are the same addressHowever, this is not the focus today).

Magento SEO support is very good, into the Magento admin System-> configuration-> general-> web-> Url the Options.

If the Auto-redirect to the URL, the Base is set to "NO", so if you are using the URL without the www visit, the site may be with a string of characters and form such as: http://www.magentokey.com/magento-extension? SID = 57d9aa6e923bfa3522442530e68034c0 address, that this is really a disaster for SEO.

If the Auto-redirect to the URL, the Base is set to "Yes (301 Moved Permanently)", so if it is one without the www URL to access Web site, such as magentokey.com or magentokey.com / Magento-the extension, the page will do 301 jump Go to home page.

Auto-redirect to the Base the URL set to "Yes (302 Found), then if a URL to access sites without the www, such as magentokey.com, or magentokey.com / Magento-the extension, then the page will jump to Home However, do 302 jump.

301 and 302 google, its meaning, and not repeat them here.

Well, here we should understand that this setting of magento. But some people like to own web site without the www, and others just the opposite. Then you need to go to System-> configuration-> general-> web-> Unsecure and Secure in your base URL is set to without www.


magento web site settings


Note: The setting is not working please refresh your Magento cache and index management.

So when you finish watching this and forget. Htaccess. magento seo in the settings is still very powerful.

The article uses Magento 1.5.1.0 version on the other versions may vary slightly.

2012年5月7日星期一

Magento table rates table freight set

Magento shopping website: lower price fridge magnet || tn requin


Table rate table shipping in magento integration, this mode of transportation. Table shipping is our own to write a shipping table, set according to distance and Weight freight, made ​​into a csv format tables, import into magento, to achieve the control of the freight.

In the new version of Magento video set is speaking freight set, we can look how to turn on the set of the table freight. Today we will look at how to create this table.

Table freight enabled by setting the path: Background -> system -> configurable -> shipping methods -> table rates

When you switch to the website view when you can click 'Export CSV' export freight of an empty table, we can use this table to make our own shipping table based.


This CSV editor killink CSV open the csv file (of course you can use excel or other software)


We can see that each column heading, indicate that the content of this column. Are as follows: Country country, the weight of the area of Region / the State Zip / Postal Code zip code, Weight (and above), the Shipping Price, freight.


We can see in this table * on behalf of all, this table is either mailed to any country or region is functioning, its meaning is as follows:

Weight weight 0-500 g, freight is 30 base currency (U.S. dollars or RMB, depending on your background set monetary)

Weight weight 500-1000 g for 42 dollars
 
Weight weight 7500 g or more $ 210

Use of specific countries and regions, countries and regions to use ISO 3166-2 international coding, you want to google. On the area you want added to the database, the Magento background can not add the area and add code to set the table freight. Magento default the only U.S. state. If your area does not, then use '*' instead.

Production of your shipping table by switching the view to the store view

Import the magento table tates table freight CSV

CSV import here.

Saved, is set up.

Weight Weight of the property our goods, add new products or edit products, this property is set to the actual weight of goods in the checkout process Magento

Will you make your own CSV shipping table to calculate shipping costs.

This article uses the Magento version 1.5 to do to explain the other version is slightly different.

2012年5月6日星期日

fridge magnets -Ali - Cartoon Soft Rubber - Fridge Magnet Online Shop

fridge magnets -Ali - Cartoon Soft Rubber - Fridge Magnet Online Shop

Set the number of products magento list page

My magento shopping web site:child toys fridge magnets || nike tn pas cher

Use of different templates, Magento Product List page displays the number of products per page is always changing, I often need to change it. The results showed changes to the product display number does not work, my cache is turned off, I checked under the database core_congfig table settings are saved to the database. I should not be an XML file in the control, can I contact all the templates are set background, this template would not be so points back. The result was really magento template XML file number in the control of the display of product list page. I introduced the background and the number of how to set up the product display in the template XML file under magento, set a higher priority than the background set in the XML, but if you set the work magento background is not going to modify the file.

1.magento background set the product list page number of products,
set the number of Grid (form) and List list page product display, and whether to allow all in one. If you have a magento classification has hundreds of products, thousands of products, do not set up to display all the products in one page.

2.control products in xml pages show the number of

File path app \ design \ the frontend \ default \ blank (I use the blank template file, you replaced your template file path) \ the layout \ catalog.xml, will be the file


<block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml"> <block type="page/html_pager" name="product_list_toolbar_pager"/> <! - The following code shows how to set your own pager increments -> <action method="setDefaultListPerPage"> <limit> 10 </ limit> </ action> <action method="setDefaultGridPerPage"> <limit> 8 </ limit> </ action> <action method="addPagerLimit"> <mode> list </ mode> <limit> 10 </ limit> </ action> <action method="addPagerLimit"> <mode> list </ mode> <limit> 20 </ limit> </ action> <action method="addPagerLimit"> <mode> list </ mode> <limit> 30 </ limit> </ action> <action method="addPagerLimit" translate="label"> <mode> list </ mode> <limit> all </ limit> <label> All </ label> </ action> <action method="addPagerLimit"> <mode> grid </ mode> <limit> 8 </ limit > </ action> <action method="addPagerLimit"> <mode> grid </ mode> <limit> 16 </ limit> </ action> <action method="addPagerLimit"> <mode> grid </ mode> <limit> 24 </ limit> </ action> <action method="addPagerLimit" translate="label"> <mode> grid </ mode> <limit> all </ limit> <label> All </ label> </ action> </ block>


Find the above code, the display of the number of options in the xml file to control the products of the product list page. The observed change to try to know. Generally speaking, Magento background set on work, can not try to modify in the file. It was discovered that this set the code of the page shows general are commented out, this template is uncommented, commented out the code, set magento background work.

Note: This example uses magento1.5 version to explain, note that different versions of different.