Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Magmi is not importing price to store view #265

Open
MDowdal opened this issue May 29, 2015 · 3 comments
Open

Magmi is not importing price to store view #265

MDowdal opened this issue May 29, 2015 · 3 comments

Comments

@MDowdal
Copy link

MDowdal commented May 29, 2015

Hello, my price scope is set to website, and I tested 3 combinations of the feed (1 with website and store column filled, 1 with store column alone and 1 with just website column) and all 3 of them failed to update my store and instead updated the default admin value. Can you help please?

Also, if I want to run multiple stores through should I create comma delimited lists? Every time I use the Tier Price Importer it knocks products off of the other websites due to the fact that the websites column is only populated with the store I need.

@Penina
Copy link

Penina commented Jun 1, 2015

Create a separate profile for each store. For storeA import, use one csv with storeA filled in the store column and for storeB import, put storeB in that column.
You can also create 2 separate profiles but only use one csv if you do the following:
use the value replacer plugin and use a "dynamic variables" for the price column.
the csv would look like this:
sku, storeA, storeB, price,...
123, A, ,10.00 //storeB column is empty
123, , B, 20.00 //storeA column is empty
then in storeA profile, value replacer should check if there is a value in the storeA column using the PHP ternary operator. if yes, use the price from the price column. if not, do nothing.
in storeB profile, value replacer would check if there is anything in the storeB column. if not, do nothing.
This could look something like:
{{(!empty({item.storeA}) ? {item.price} : '')}} //for storeA profile
{{(!empty({item.storeB}) ? {item.price} : '')}} //for storeB profile

@MDowdal
Copy link
Author

MDowdal commented Jun 1, 2015

Thanks for the formula for 2 stores, I'll take a look.

But to my previous point, MAGMI doesn't seem to hit the right store config when I import pricing, it only updates default. What's the right syntax for importing pricing when the price attribute is defined at Website scope?

@mfeer
Copy link

mfeer commented Nov 25, 2016

I want to fill a column screen with a word from name.
name screen Asus X751MA 17.3 TOUCH / PENT. N3540 / 1TB / 8GB / W10 / REN 17.3
I tried with: {{ {item.name}=='17.3' ? '17.3':'' }}
it wont work because he looks at the name 17.3 total and i want that he looks at a word from the total name.
sorry for my english. I hope you understand me! and help me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants