Magmi multi-store import - magento

first of all, thank you for providing Magmi, it really helps us keeping our products up to date on daily basis.
I would like to ask you one question - We want to sell our products in Hungary and I want to ask you, how should we configure .csv files in order to have product names in different language? So far we havent done anything particular, I just set up some store management settings, so our .hu version is reachable using url.
Additional info:
Magento Store management setting:
Website Name
Store Name
Store View Name
ourshop.hu
Hu
Magyar
ourshop.sk
Sk
Slovenčina
We fill up these attributes in mamgi csv files:
sku,
_attribute_set,
_type,
magmi:delete,
_product_websites,
status,
visibility,
name,
url_key,
description,
short_description,
enable_googlecheckout,
category_ids,
weight,
price,
special_price,
special_from_date,
tax_class_id,
manage_stock,
use_config_manage_stock,
VeÄľkost:drop_down:1,
size,
brand,
spinview,
labeldiscount,
thumbnail,
small_image,
image,
media_gallery,
media_gallery_reset
Thank you very much.

Have you looked at using the "store" column?
The documentation is not bad: http://sourceforge.net/apps/mediawiki/magmi/index.php?title=Magmi_Behaviour_-_store_column
The store column in magmi accepts store view codes , one or several.
And also an example:
store,sku,attribute1,attribute2
"admin","0001","value1","value2" <= sets default values for attributes attribute1 & attribute2 for sku 0001
"sv1","0001","value1","value2" <= sets values for attributes attribute1 & attribute2 for store view sv1 for sku 0001
"sv1,sv2","0002","value1","value2" <= sets values for attributes attribute1 & attribute2 for store view sv1 & sv2 for sku 0002
Is that what you were looking for?

Related

How to print stock moves with current stock quantity

In Inventory location in module Inventory. It shows list of products in that location and the quantity of available stock. It is easy to print that out with a report.
However, if I want to show the stock moves related to each product quantity and show it under the total of each number of current stock, how can that be done?
For example:
Formatting
Also, I would want to print the data out in this format. How could it be done?
I have tried linking the stock.moves field to the stock.quant model but I am not sure how to present the data in that format with the current stock level as a summary above all related stock.moves

DAX Measure displaying values only for certain combination

setting up a SSDT in Visual Studio where I have masterlist with prices and 3 addtional attributes. These 3 attributes (Region, Customer, Material) can be used to to link the data to the other table with all the sales information etc.
Target: Showing the prices in a pivot if the 3 attributes are fulfilled and are matching to the other table with the same attribute combination. Assuming a calculated column is not solving the problem as this cannot display the price values in the value section of the pivot.
enter image description here
Please help me to find an appropriate DAX measure to link the data and show the prices for the matching attribute combination.
Thanks in advance :)
Masterlist with attributes which can be used as a key to connect to the other list?

Magmi Price Change for Magento

I am using UnderstandingE's version of Magmi.
I use Magmi to automatically import a CSV file from our supplier. The supplier's CSV has a column that says the price that we will pay to our supplier - "wholesale_price."
But that is not the price that we want to display on our site. So we want Magmi to create a column for "price." The value should be something like (wholesale_price * 130%). Is this something we can do with Magmi?
Of course there is
use value replacer plugin , advanced syntax , there is a sample that calculates price for cost column.
Of course, you can use any column , so in your case:
for attribute to replace , enter : price <= this is the value you want to set
the formula to use would be:
{{ {item.wholesale_price}*1.30 }}
above is a formula for calculating the price according to your need.

importing csv (magento)

I have a certain attribute dealer_country in my website, which is a dropdown attribute containing a list of all countries. However, in my csv file, the dealer_country attribute will be containing country codes(in 2-letter format). Would it be possible to import with this condition?
Yes. There is an easy way and a hard way.
If programming is your bag then you can get your attribute hooked up to the Magento country codes and have it return country names on the front end.
It would take a while to write such an ideal solution. However you can use a 3rd party import tool like 'Magmi' to get your products in without having to define your attribute values first.
Once in you can edit your attribute entries for country and, in the second column put the country names to be shown on the front end. e.g. for 'GB' in column one you have 'United Kingdom of Great Britain and Northern Ireland' in column two. Or for 'LY' you can add 'The Great Socialist People's Libyan Arab Jamahiriya' for column two... Oops!
http://sourceforge.net/apps/mediawiki/magmi/index.php?title=Main_Page

Validate zip code using just first 4 digits

I'm using table rates to assign shipping costs in Magento.
Our zip codes are in the following format: XXXX-XXX. Is there any "easy" way I can change the validation so that 1234-234 is assigned the same shipping cost as 1234-678 without doing it explicitly?
I would like to fill the tablerates.csv file like this:
Country,Region/State,"Zip/Postal Code","Order Subtotal (and above)","Shipping Price"
US,*,1234,20,5
and the system would assign 5 as the shipping cost to 1234-234, since 1234 is contained within 1234-234.
I'm imagining a simple change from "if clientzip = csvzip" to "if clientzip like 'csvzip%" somewhere in Magento's files...
I found a workaround. My country didn't have regions set in the database, so I added the three relevant regions to my country (in terms of shipping costs).
INSERT INTO db_magento.directory_country_region (
region_id ,
country_id ,
code ,
default_name
)
VALUES (
NULL , 'CountryCode', 'RegionCode', 'Region Name')
Now the system automatically forces filling out the "State/Province" field.

Resources